-X POST https://amapi.algomojo.com/v1/OrderHistory
{
"api_key":"your_api_key",
"api_secret":"your_api_secret",
"data":
{
"broker":"tc",
"order_id":"22111500011211"
}
}
{
"status": "success",
"data": [
{
"exchange": "NSE",
"symbol": "YESBANK-EQ",
"product": "CNC",
"pricetype": "MARKET",
"ret": "DAY",
"price": 0,
"trigger_price": 0,
"quantity": 1,
"disclosed_quantity": 0,
"action": "BUY",
"avgprc": "",
"fillshares": "",
"orderusermessage": "",
"exchordid": "1300000011288972",
"order_id": "22111500011211",
"status": "complete",
"rejreason": "",
"exchtimestamp": "",
},
{
"exchange": "NSE",
"symbol": "YESBANK-EQ",
"product": "CNC",
"pricetype": "MARKET",
"ret": "DAY",
"price": 0,
"trigger_price": 0,
"quantity": 1,
"disclosed_quantity": 0,
"action": "BUY",
"avgprc": "",
"fillshares": "",
"orderusermessage": "",
"exchordid": "1300000011288972",
"order_id": "22111500011211",
"status": "open",
"rejreason": "",
"exchtimestamp": "",
},
{
"exchange": "NSE",
"symbol": "YESBANK-EQ",
"product": "CNC",
"pricetype": "MARKET",
"ret": "DAY",
"price": 0,
"trigger_price": 0,
"quantity": 1,
"disclosed_quantity": 0,
"action": "BUY",
"avgprc": "",
"fillshares": "",
"orderusermessage": "",
"exchordid": "",
"order_id": "22111500011211",
"status": "pending",
"rejreason": "",
"exchtimestamp": "",
},
{
"exchange": "NSE",
"symbol": "YESBANK-EQ",
"product": "CNC",
"pricetype": "MARKET",
"ret": "DAY",
"price": 0,
"trigger_price": 0,
"quantity": 1,
"disclosed_quantity": 0,
"action": "BUY",
"avgprc": "",
"fillshares": "",
"orderusermessage": "",
"exchordid": "",
"order_id": "22111500011211",
"status": "pending",
"rejreason": "",
"exchtimestamp": "",
}
]
}