Interface Position

Current open/closed position for the current trading day.


  • Position


avgPrice: number

Average price (netAvg).

buyAvg: number

Average buy price.

buyQty: number

Total buy qty.

buyVal: number

Total buy value.

crossCurrency: string

Is it a cross currency position?

fytoken: string

Fytoken is a unique identifier for every symbol.

id: string

The unique value for each position.

ltp: number

LTP is the price from which the next sale of the stocks happens.

netAvg: number

Net average price.

netQty: number

Net qty.

pl: number

The total p&l of the position.

productType: string

The product type of the position.

qty: number

Absolute value of net qty.

qtyMulti_com: number

Incase of commodity positions, this multiplier is required for p&l calculation.

rbiRefRate: number

Incase of cross currency position, the rbi reference rate will be required to calculate the p&l.

realized_profit: number

The realized p&l of the position.

segment: number

The segment in which the position is taken.

sellAvg: number

Average sell price.

sellQty: number

Total sell qty.

sellVal: number

Total sell value.

side: number

The side shows whether the position is long / short.

slNo: number

This is used for sorting of positions.

symbol: string


unrealized_profit: number

The unrealized p&l of the open position.

Generated using TypeDoc