Skip to content

Order Book

Order Book An Order Book is a dynamic list of all buy and sell orders of a particular asset,organized by price and time. Traders use order books to identify support and resistance levels, gauge market depth, and decide at which prices to enter or exit positions.

The following are the states of the order supported at uTrade:

  • PendingNew

  • New (open)

  • PartiallyFilled

  • Filled

  • PendingReplace

  • Replaced

  • Cancelled

  • Rejected

Method: GET

{{SERVER_URL}}/api/V2/orders?clientID=

Headers

Content-Type Value
Authorization {{AUTH_TOKEN}}

Query Params

Param Value
clientID Required in case of dealer

Response: 200

{
    "code": 200,
    "description": "Success order book",
    "result": [
        {
            "LoginID": "CA492",
            "ClientID": "CA492",
            "AppOrderID": 2104100005,
            "OrderReferenceID": "",
            "GeneratedBy": "API",
            "ExchangeOrderID": "52-1693372336123004150",
            "OrderCategoryType": "NORMAL",
            "ExchangeSegment": "BSECM",
            "ExchangeInstrumentID": 541729,
            "OrderSide": "BUY",
            "OrderType": "Limit",
            "ProductType": "NRML",
            "TimeInForce": "DAY",
            "OrderPrice": 2504.3,
            "OrderQuantity": 1,
            "OrderStopPrice": 0,
            "OrderStatus": "Filled",
            "OrderAverageTradedPrice": 2504.3,
            "LeavesQuantity": 0,
            "CumulativeQuantity": 1,
            "OrderDisclosedQuantity": 0,
            "OrderGeneratedDateTime": "30-08-2023 15:53:37",
            "ExchangeTransactTime": "30-08-2023 15:53:37",
            "TradingSymbol": "HDFCAMC",
            "LastUpdateDateTime": "07-04-53661427102 22:31:40",
            "OrderExpiryDate": "01-01-1970 00:00:00",
            "CancelRejectReason": "",
            "OrderUniqueIdentifier": "123abc",
            "OrderLegStatus": "SingleOrderLeg",
            "IsSpread": false,
            "MessageCode": 0,
            "MessageVersion": 0,
            "TokenID": 0,
            "ApplicationType": 0,
            "SequenceNumber": 13
        }   
    ],
    "type": "success"
}