Order
Get trades for order
Retrieve the trades executed for an order
get/v2/order/trades
Request
- Base URL: https://api-v2.upstox.com
- URL: https://api-v2.upstox.com/v2/order/trades
- Auth: OAuth 2 (authorization code, authorization URL https://api-v2.upstox.com/v2/login/authorization/dialog, token URL https://api-v2.upstox.com/v2/login/authorization/token)
Query parameters
order_idstring required
The order ID for which the order to get order trades
Response
Successful
Example response
{
"data": [
{
"exchange": "NSE",
"product": "D",
"tradingsymbol": "GMRINFRA-EQ",
"trading_symbol": "GMRINFRA-EQ",
"order_type": "MARKET",
"transaction_type": "BUY",
"quantity": 1,
"exchange_timestamp": "03-Aug-2017 15:03:42",
"average_price": 299.4,
"order_ref_id": "udapi-aqwsed14356",
"order_timestamp": "23-Apr-2021 14:22:06"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.