Order Book

Get the list of all orders placed during the day

This API will retrieve the list of orders placed for the current day. Orders initiated by the user remain active for a day and are automatically cleared after the trading session.

Endpoint

Base URL
https://connects.torusdigital.com/api/v1/order/book

Header Parameters

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Request Parameter

NameValueMandatoryDescription

source

N

Y

Source of the request (e.g., "N")

Request

cURL
curl --location 'https://connects.torusdigital.com/api/v1/order/book' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
    "source": "N"
}'

Response

{
    "data": [
        {
            "algo_id": "0",
            "algo_ord_no": "0",
            "avg_traded_price": 0,
            "child_leg_unq_id": 0,
            "client_id": "007",
            "disc_quantity": 0,
            "display_name": "VODAFONE IDEA LIMITED",
            "dq_qty_rem": 0,
            "encash_flag": "N",
            "error_code": "0",
            "exch_order_no": "1400000000000047",
            "exch_order_time": "2024-06-11 12:35:43",
            "exchange": "NSE",
            "exchange_inst_name": "Other",
            "expiry_date": "0001-01-01",
            "expiry_flag": "NA",
            "good_till_days_date": "2024-06-11",
            "group_id": 1,
            "identifier": "0",
            "instrument": "EQUITY",
            "isin": "INE669E01016",
            "last_updated_time": "2024-06-11 12:35:43",
            "leg_no": 1,
            "lot_size": 1,
            "mkt_pro_flag": "N",
            "mkt_pro_value": 0,
            "mkt_type": "NL",
            "off_mkt_flag": "0",
            "opt_type": "XX",
            "order_date_time": "2024-06-11 12:35:43",
            "order_no": "1121240611100",
            "order_type": "LMT",
            "pan_no": "ABCDE1264F",
            "participant_type": "B",
            "placed_by": "007",
            "placed_by_entity_id": "007",
            "pr_abstick_value": 0,
            "price": 15.77,
            "product": "I",
            "product_name": "INTRADAY",
            "quantity": 1,
            "reason_description": "MKT to Limit Conversion",
            "ref_ltp": 13.15,
            "rem_qty_tot_qty": "1/1",
            "remaining_quantity": 1,
            "remarks": "502929",
            "remarks1": "NA",
            "remarks2": "NA",
            "row_no": 0,
            "security_id": "14366",
            "segment": "E",
            "serial_no": 2,
            "series": "EQ",
            "settlor": "90245",
            "sl_abstick_value": 0,
            "source": "MOBILE",
            "source_name": "MOB_WEB",
            "status": "Pending",
            "strategy_id": "NA",
            "strike_price": 0,
            "symbol": "IDEA",
            "tick_size": 1,
            "traded_price": 0,
            "traded_qty": 0,
            "trailing_sl_value": 0,
            "trigger_price": 0,
            "txn_type": "B",
            "validity": "DAY"
        }
    ],
    "message": "Success",
    "status": "success"
}

Response Parameter

ParameterDescription

client_id

ClientID - Unique identifier for the client.

order_date_time

Order Entry DateTime - Date and time when the order was entered.

last_updated_time

LastUpdated time - Timestamp indicating when the order details were last updated.

order_no

Order Number - Unique identifier for the order.

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..)

instrument

Instrument - Type of financial instrument.

symbol

Symbol - The trading symbol of the security.

product

Product - Type of product (e.g., C, M, I, H).

product_name

Product Name - Name of the product.

status

Status of order - Current status of the order (e.g., Success, Error).

quantity

Quantity - The total quantity of the order.

remaining_quantity

Quantity Remaining - Remaining quantity of the order.

price

Price - The price at which the order is placed.

trigger_price

Trigger Price - Price at which the order gets triggered.

order_type

Order Type - Type of order (e.g., Limit, Market, Stop Loss).

disc_quantity

DiscloseQuantity - Quantity disclosed by the user.

serial_no

Serial Number - Unique serial number assigned to the order.

security_id

Security Id - Identifier for the security being traded.

validity

Order Validity - Validity period of the order (e.g., IOC, DAY).

lot_size

Regular Lotsize - Standard lot size for trading the instrument.

rem_qty_tot_qty

RemainingQty/Total Qty - Remaining quantity compared to total quantity.

traded_qty

Executed Quantity - Quantity of the order that has been executed.

dq_qty_rem

DiscloseQty Remaining - Remaining disclosed quantity.

exch_order_no

ExchangeOrder Number - Unique identifier for the order assigned by the exchange.

exch_order_time

ExchangeOrder time - Time when the order was received by the exchange.

reason_description

Reason - Description of the reason for a particular action or event.

leg_no

Leg Value - Value indicating the leg of an order.

row_no

Row number/index - Index or position of the order in a dataset or list.

traded_price

Traded Price - The price at which the trade was executed.

avg_traded_price

Average Traded Price - The average price at which trades were executed.

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

MarketProtection 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. NL, OL, AU, SP, A1, A2).

algo_ord_no

Algo Order Number - Identifier for the algorithmic order.

trailing_sl_value

Trailing Stoploss Price - Price set for trailing stoploss.

sl_abstick_value

Stoploss Price - Price set for stoploss.

pr_abstick_value

Profit Price - Price set for profit.

off_mkt_flag

OrderOffOn - Indicator for order being off-market.

child_leg_unq_id

Child Leg Id - Unique identifier for the child leg of a multi-leg order.

strike_price

Strike Price - The price at which the option contract can be exercised.

expiry_date

Expiry Date - The expiration date of the derivative contract.

opt_type

Option Type - The type of option (e.g., Call, Put).

Series

Series - Series of the security (e.g., EQ for equities).

good_till_days_date

Good Till Days Date - Date until the order remains valid.

group_id

Group Id - Identifier for the group to which the order belongs.

Isin

ISIN code - International Securities Identification Number.

display_name

Custom Symbol Name - Custom name for the symbol.

exchange_inst_name

InstrumentName - Name of the instrument on the exchange.

Last updated