-
Notifications
You must be signed in to change notification settings - Fork 2
api orderinfo
ntwerd edited this page Apr 12, 2023
·
3 revisions
Returns json data about order information.
http://122.8.148.106/robot/api/v1/order/<brokerCode>/<accountNo>
GET
Header : X-API-KEY
-
Code: 200
Content:
{
"status": "T",
"message": null,
"data": {
"orders": [
{
"orderNo": "5116",
"externalOrderNo": null,
"accountNo": null,
"date": 1535516352000,
"enterDate": null,
"tradeDate": null,
"cancelDate": null,
"symbol": "AOT",
"side": "B",
"price": 66.25,
"avgDealPrice": null,
"priceType": "LIMIT",
"vol": 100,
"pbVolume": null,
"priceDigit": 0,
"position": "O",
"status": "MATCH",
"statusText": "Match(M)",
"validity": null,
"validityType": null,
"matchedVol": 100,
"balanceVol": null,
"until": null,
"canCancelled": false,
"canChanged": false,
"offline": false,
"enterId": null,
"enterTime": null,
"cancelId": null,
"cancelVolume": null,
"reasonText": null,
"comment": null
}
]
}
}
-
Code: 200
Content:
{
"status": "F",
"message": "Invalid api key",
"data": {}
}