POST api/trade/log

Log trading history

Request Information

URI Parameters

None.

Body Parameters

HistoryInput
NameDescriptionTypeAdditional information
Label

string

None.

PipSize

decimal number

None.

Decision

string

None.

EntryPrice

decimal number

None.

ExitPrice

decimal number

None.

EntryTime

integer

None.

ExitTime

integer

None.

SL

decimal number

None.

TP

decimal number

None.

IsReal

boolean

None.

Lot

decimal number

None.

Profit

decimal number

None.

AccCurrency

string

None.

ExpertKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Label": "sample string 1",
  "PipSize": 2.1,
  "Decision": "sample string 3",
  "EntryPrice": 4.1,
  "ExitPrice": 5.1,
  "EntryTime": 6,
  "ExitTime": 7,
  "SL": 8.1,
  "TP": 9.1,
  "IsReal": true,
  "Lot": 11.1,
  "Profit": 12.1,
  "AccCurrency": "sample string 13",
  "ExpertKey": "sample string 14"
}

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
Message

string

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Success": true
}