Skip to content

Position Book

Position Book Positions API provides access to two distinct position sets: "net" and "day." The "net" offers a real-time overview of the current net position portfolio, while the "day" presents a momentary snapshot of the day's trading activities. This functionality serves as a valuable tool for computing intraday gains and losses associated with diverse trading strategies.

Method: GET

{{SERVER_URL}}/api/V2/orders/positions/?clientID=&dayOrNet=

Headers

Content-Type Value
Authorization {{AUTH_TOKEN}}

Query Params

Param Value
clientID Rquired in case of dealer
dayOrNet Possible values: DayWise,NetWise

Response: 200

{
    "code": 200,
    "description": "Success get position",
    "result": {
        "positionList": [
            {
                "AccountID": "CT030",
                "TradingSymbol": "RELIANCE",
                "ExchangeSegment": "NSECM",
                "ExchangeInstrumentID": 2885,
                "ProductType": "MIS",
                "Marketlot": 1,
                "Multiplier": 1,
                "BuyAveragePrice": 0,
                "SellAveragePrice": 2900.7,
                "OpenBuyQuantity": 0,
                "OpenSellQuantity": 1,
                "Quantity": -1,
                "BuyAmount": 0,
                "SellAmount": 2900.7,
                "NetAmount": 2900.7,
                "UnrealizedMTM": 0,
                "RealizedMTM": 0,
                "MTM": 0,
                "BEP": 0,
                "SumOfTradedQuantityAndPriceBuy": 0,
                "SumOfTradedQuantityAndPriceSell": 2900.7,
                "statisticsLevel": "ParentLevel",
                "isInterOpPosition": false,
                "MessageCode": 0,
                "MessageVersion": 0,
                "TokenID": 0,
                "ApplicationType": 0,
                "SequenceNumber": 0
            }
        ]
    },
    "type": "success"
}