Trade Details
This API endpoint Retrieves the trade details and transaction history for a client's trading account. Provides access to information about executed trades, including order details, product information, trade prices, quantities, and timestamps for monitoring and record-keeping purposes
Endpoint
https://connects.torusdigital.com/api/v1/trade/detailsHeader Parameters
Content-Type
application/json
Authorization
Bearer <token>
Request Parameters
source
N
Y
Source of the request (e.g., "N")
order_no
0123456789
Y
Order Number for which trade details are required
segment
E/D/C/M
Y
Segment of that order
Request
curl --location 'https://connects.torusdigital.com/api/v1/trade/details' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"source": "N",
"data": {
"order_no": "1161240610102",
"segment": "E"
}
}'Unirest.setTimeouts(0, 0);
HttpResponse<String> response = Unirest.post("https://connects.torusdigital.com/api/v1/trade/details")
.header("Authorization", "Bearer {{token}}")
.header("Content-Type", "application/json")
.body("{\n" +
" \"source\": \"N\",\n" +
" \"data\": {\n" +
" \"order_no\": \"1161240610102\",\n" +
" \"segment\": \"E\"\n" +
" }\n" +
"}")
.asString();Response
Response Parameter
order_date_time
Order Entry Date Time - The date and time when the order was entered.
exch_order_time
Exchange Order Time - The time when the order was received by the exchange.
exch_trade_time
Exchange Trade Time - The time when the trade was executed on the exchange.
last_updated_time
Last Updated Time - The last time the order details were updated.
order_no
Order Number - Unique identifier for the order.
exch_order_no
Exchange Order Number - Unique identifier for the order assigned by the exchange.
exchange
Exchange - The exchange where the order is placed (e.g., NSE, BSE).
txn_type
Transaction Type - Type of transaction (e.g., Buy, Sell).
segment
Segment - The segment of the market (e.g., Equity, Derivatives).
order_type
Order Type - Type of order (e.g., Limit, Market, Stop Loss).
symbol
Symbol - The trading symbol of the security.
product
Product - Type of product (e.g., Cash, Margin).
product_name
Product Name - Name of the product.
quantity
Quantity - The number of shares or contracts.
traded_price
Trade Price - The price at which the trade was executed.
trade_value
Trade Value - The total value of the trade.
trade_no
Trade Number - Unique identifier for the trade.
security_id
Security Id - Identifier for the security being traded.
pan_no
PAN Number - Permanent Account Number of the client.
participant_type
Participant Type - Type of participant (e.g., Client, Dealer).
mkt_pro_flag
Market Protection Flag - Indicator for market protection.
mkt_pro_value
Market Protection Value - Value associated with market protection.
settlor
Settlor - The entity responsible for settlement.
encash_flag
Encash Flag - Indicator if the encashment is allowed.
mkt_type
Market Type - Type of market (e.g., Normal, Odd Lot, Auction).
strike_price
Strike Price - The strike price for options.
expiry_date
Expiry Date - The expiry date for derivatives.
opt_type
Option Type - The type of option (e.g., Call, Put).
instrument
Instrument Name - Name of the financial instrument.
lot_size
Lot Size - The lot size for the instrument.
series
Series - Series of the security (e.g., EQ for equities).
isin
ISIN Code - International Securities Identification Number.
display_name
Custom Symbol Name - Custom name for the symbol.
exchange_inst_name
Instrument Name - Name of the instrument on the exchange.
placed_by
Placed By - The entity or person who placed the order.
placed_by_entity_id
Placed By Entity Id - Identifier for the entity that placed the order.
Last updated