Reports
In report service apis, user gets the order details, trade details,user details data.
Method | APIs | Endpoint | Description |
---|---|---|---|
GET | Order Book | /reports/order-book | To retrieve Order book |
GET | Trade Book | /reports/trade-book | To retrieve Trade book |
Order book API
User can get their order book data.
Sample Response:
{
"status": "success",
"data": [
{
"variety": "NORMAL",
"action": "BUY",
"exchange": "NSE",
"token": "48757",
"symbol": "NIFTY",
"symbol_description": "NIFTY23FEBFUT",
"series": "NA",
"order_type": "RL",
"order_id": "NXDAG00006@2",
"exch_order_id": "1000000000046435",
"parent_order_id": "1",
"order_date_time": "16-02-2023 17:15:37",
"product_type": "BRACKET ORDER",
"quantity": 100,
"disclose_quantity": 100,
"pending_quantity": 100,
"traded_quantity": 0,
"price": 17610,
"strike_price": 0,
"trade_average_price": 0,
"trigger_price": 0,
"target_price": 0,
"stop_loss_price": 0,
"trailing_stop_loss": 0,
"validity": "DAY",
"validity_date": "",
"tag": "",
"status": "PENDING",
"reason": "",
"instrument_type": "FUTIDX",
"option_type": "",
"expiry_date": "23FEB2023",
"lot_size": 50
}
]
}
Trade Book API
User can get their trade book data.
Sample Response:
{
"status": "success",
"data": [
{
"action": "BUY",
"trade_id": "366",
"order_id": "NXDAG00001I7",
"exchange_order_id": "1000000000000571",
"exchange": "NSE",
"symbol": "NIFTY",
"token": "42697",
"product_type": "CARRYFORWARD",
"price": "19596.00",
"quantity": "50",
"order_date_time": "10:54:16"
}
]
}