POST api/Trade/HedgeSingleTrade
Request Information
URI Parameters
None.
Body Parameters
TradingAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
|
| MasterID | integer |
None. |
|
| TradeID | integer |
None. |
|
| AccountNo | integer |
None. |
|
| FromDate | string |
None. |
|
| ToDate | string |
None. |
|
| Status | integer |
None. |
|
| ApiName | string |
None. |
|
| Symbol | 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. |
|
| DeviceName | string |
None. |
|
| IPAddress | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| IsInvestor | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountID": 1,
"MasterID": 2,
"TradeID": 3,
"AccountNo": 4,
"FromDate": "sample string 5",
"ToDate": "sample string 6",
"Status": 7,
"ApiName": "sample string 8",
"Symbol": "sample string 9",
"SymbolID": 10,
"TradeType": 11,
"OrderType": 12,
"LotSize": 13.0,
"Price": 14.0,
"ClosePrice": 15.0,
"SL": 1.0,
"TP": 1.0,
"Profit": 16.0,
"DeviceName": "sample string 17",
"IPAddress": "sample string 18",
"Latitude": 1.0,
"Longitude": 1.0,
"IsInvestor": 19
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.