POST api/Trade/CloseTrade

Request Information

URI Parameters

None.

Body Parameters

TradingAccount
NameDescriptionTypeAdditional information
AccountID

integer

None.

TradeID

integer

None.

AccountNo

integer

None.

FromDate

string

None.

ToDate

string

None.

Status

integer

None.

ApiName

string

None.

SymbolID

integer

None.

TradeType

integer

None.

OrderType

integer

None.

LotSize

decimal number

None.

Price

decimal number

None.

ClosePrice

decimal number

None.

SL

decimal number

None.

TP

decimal number

None.

Profit

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "TradeID": 2,
  "AccountNo": 3,
  "FromDate": "sample string 4",
  "ToDate": "sample string 5",
  "Status": 6,
  "ApiName": "sample string 7",
  "SymbolID": 8,
  "TradeType": 9,
  "OrderType": 10,
  "LotSize": 11.0,
  "Price": 12.0,
  "ClosePrice": 13.0,
  "SL": 1.0,
  "TP": 1.0,
  "Profit": 14.0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.