tradingSymbol | securityId | positionType | exchangeSegment | productType | buyAvg | costPrice | buyQty | sellAvg | sellQty | netQty | realizedProfit | unrealizedProfit | rbiReferenceRate | multiplier | carryForwardBuyQty | carryForwardSellQty | carryForwardBuyValue | carryForwardSellValue |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NIFTY-Sep2023-18850-PE | 44958 | SHORT | NSE_FNO | MARGIN | 0 | 25.25 | 0 | 28.4 | 100 | -100 | 0 | 0 | 1 | 1000 | 0 | 100 | 0 | 2840 |
NIFTY-Sep2023-19650-CE | 45035 | SHORT | NSE_FNO | MARGIN | 0 | 29.4 | 0 | 28.35 | 100 | -100 | 0 | 0 | 1 | 1000 | 0 | 100 | 0 | 2835 |
NIFTY-Sep2023-18700-PE | 52862 | LONG | NSE_FNO | MARGIN | 32.2 | 30.75 | 100 | 0 | 0 | 100 | 0 | 0 | 1 | 1000 | 100 | 0 | 3220 | 0 |
NIFTY-Sep2023-19800-CE | 52905 | LONG | NSE_FNO | MARGIN | 30.1 | 31.35 | 100 | 0 | 0 | 100 | 0 | 0 | 1 | 1000 | 100 | 0 | 3010 | 0 |
This is an extract of dhan.get_positions() functions. This show the existing open positions on my account.
Wanted to understand the difference between costPrice
and buyAvg
/sellAvg
column. On Friday when the market was open, I observed buyAvg
/sellAvg
to be correct but now its showing wrong figures where the cost price is the correct figure.
Also, what does carryForwardBuyValue
and carryForwardSellValue
denotes? Does dhan have a data dictionary which provides definition for each columns of all function outputs.