Interfaces
Position

Interface: Position

Single Position response.

Properties

average_price

average_price: number

Average price at which the net position quantity was acquired


buy_m2m

buy_m2m: number

Mark to market returns on the bought quantities


buy_price

buy_price: number

Average price at which quantities were bought


buy_quantity

buy_quantity: number

Quantity bought and added to the position


buy_value

buy_value: number

Net value of the bought quantities


close_price

close_price: number

Closing price of the instrument from the last trading day


day_buy_price

day_buy_price: number

Average price at which quantities were bought during the day


day_buy_quantity

day_buy_quantity: number

Quantity bought and added to the position during the day


day_buy_value

day_buy_value: number

Net value of the quantities bought during the day


day_sell_price

day_sell_price: number

Average price at which quantities were sold during the day


day_sell_quantity

day_sell_quantity: number

Quantity sold off from the position during the day


day_sell_value

day_sell_value: number

Net value of the quantities sold during the day


exchange

exchange: string

Exchange


instrument_token

instrument_token: number

The numerical identifier issued by the exchange representing the instrument. Used for subscribing to live market data over WebSocket


last_price

last_price: number

Last traded market price of the instrument


m2m

m2m: number

Mark to market returns (computed based on the last close and the last traded price)


multiplier

multiplier: number

The quantity/lot size multiplier used for calculating P&Ls.


overnight_quantity

overnight_quantity: number

Quantity held previously and carried forward over night


pnl

pnl: number

Net returns on the position; Profit and loss


product

product: string

Margin product applied to the position


quantity

quantity: number

Quantity held


realised

realised: number

Realised intraday returns


sell_m2m

sell_m2m: number

Mark to market returns on the sold quantities


sell_price

sell_price: number

Average price at which quantities were sold


sell_quantity

sell_quantity: number

Quantity sold off from the position


sell_value

sell_value: number

Net value of the sold quantities


tradingsymbol

tradingsymbol: string

Exchange tradingsymbol of the instrument


unrealised

unrealised: number

Unrealised intraday returns


value

value: number

Net value of the position