There was an error while loading. Please reload this page.
Send place order to backend broker
http://122.8.148.106/robot/api/v1/placeOrder/<brokerCode>
POST
Header : X-API-KEY: <XXXXXX> , Content-Type: application/json
X-API-KEY: <XXXXXX>
Content-Type: application/json
accountNo : your account number
accountNo
symbol : product symbol
symbol
position : For stock product Buy > O, Sell > C
position
side : Buy > B, Sell > S
side
volume : trade volume
volume
price : trade price
price
priceType :
priceType
validityType:
validityType
pbVolume : Iceburg volume
pbVolume
takeProfitPrice
stopLossPrice
note
ttf
{ "accountNo":"1234567-8", "symbol":"PTT", "position":"O", "side":"B", "volume":100, "price":52.75, "priceType":"LIMIT", "validityType":"DAY", "takeProfitPrice":0, "stopLossPrice":0, "note":"", "pbVolume":"", "ttf":"NORMAL" }
Code: 200
Content:
{ "status": "T", "message": "Success", "data": { "orderNo": "4823" } }
{ "status": "F", "message": "Account not found", "data": {} }
OR
{ "status": "F", "message": "QWERD is unavailable to trade with this account type.", "data": {} }