POST api/trade/decision

Get trading decision

Request Information

URI Parameters

None.

Body Parameters

TradeInput
NameDescriptionTypeAdditional information
MinPip

integer

None.

MaxPip

integer

None.

WinRate

integer

None.

Timeframe

string

None.

Symbol

string

None.

SymbolName

string

None.

DecimalPlaces

integer

None.

IsBroadcasting

boolean

None.

Price

string

None.

PipSize

decimal number

None.

OHLCData

Collection of OHLC

None.

OHLCDataReference

Collection of OHLC

None.

ExpertKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MinPip": 1,
  "MaxPip": 2,
  "WinRate": 3,
  "Timeframe": "sample string 4",
  "Symbol": "sample string 5",
  "SymbolName": "sample string 6",
  "DecimalPlaces": 7,
  "IsBroadcasting": true,
  "Price": "sample string 9",
  "PipSize": 10.1,
  "OHLCData": [
    {
      "T": 1,
      "O": 2.1,
      "H": 3.1,
      "L": 4.1,
      "C": 5.1
    },
    {
      "T": 1,
      "O": 2.1,
      "H": 3.1,
      "L": 4.1,
      "C": 5.1
    }
  ],
  "OHLCDataReference": [
    {
      "T": 1,
      "O": 2.1,
      "H": 3.1,
      "L": 4.1,
      "C": 5.1
    },
    {
      "T": 1,
      "O": 2.1,
      "H": 3.1,
      "L": 4.1,
      "C": 5.1
    }
  ],
  "ExpertKey": "sample string 11"
}

Response Information

Resource Description

TradeDecisionResult
NameDescriptionTypeAdditional information
Code

string

None.

Direction

string

None.

Decision

string

None.

Pip

decimal number

None.

BuyConfidence

integer

None.

SellConfidence

integer

None.

Occurence

integer

None.

Message

string

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Direction": "sample string 2",
  "Decision": "sample string 3",
  "Pip": 4.1,
  "BuyConfidence": 5,
  "SellConfidence": 6,
  "Occurence": 7,
  "Message": "sample string 8",
  "Success": true
}