Get Trades
This API allows you to fetch all the trades executed in your account today.
USE CASE
Check the price and quantity at which your orders were filled today.
Note
Live Streaming — Receive trade execution updates in real time through the General WebSocket. View General WebSocket Overview documentation.
Details
- Fetches all the trades for the current day across all platforms and exchanges in the current trading day.
- Each row is one executed trade.
orderNumberlinks it to the order it filled andtradeNumberis the number generated by the exchange. - Orders that were never executed (pending, rejected or cancelled) do not appear here. Use Get Orders to see them.
orderDateTimeis the time the trade occurred, in IST.rowis a unique value you can use to sort trades.orderTagcarries a1:prefix for tags you set and2:for tags generated by FYERS. Trades without a tag show1:Untagged.exchangeOrderNois the order number provided by the exchange, andfyTokenis the unique identifier of the symbol.- Rate limits differ between the Standard and Prime plans. See Plans & rate limits.
Response Attributes - For each trade
| Attribute | Data Type | Description |
|---|---|---|
symbol | string | Eg: NSE:SBIN-EQ |
row | int | The unique value to sort the trades |
orderDateTime | string | The time when the trade occurred in “DD-MM-YYYY hh:mm:ss” format in IST |
orderNumber | string | The order id for which the trade occurred |
tradeNumber | string | The trade number generated by the exchange |
tradePrice | float | The traded price |
tradeValue | float | The total traded value |
tradedQty | int | The total traded qty |
side | int |
|
productType | string |
|
exchangeOrderNo | string | The order number provided by the exchange |
segment | int |
|
exchange | int |
|
fyToken | string | Fytoken is a unique identifier for every symbol. |
orderTag | string |
|
Last updated on