Option premium from API returned as zero even though other values are valid

dumpty121
The field option_premium is coming in as 0, even though other margin values are valid.

Request:
kite.order_margins([{"exchange": "NFO",
"transaction_type": "SELL",
"variety": "regular",
"product": "NRML",
"order_type": "LIMIT",
"tradingsymbol": "ZEEL21OCT300PE",
"price": 21,
"quantity": 3000}])


Response:
[{'type': 'equity',
'tradingsymbol': 'ZEEL21OCT300PE',
'exchange': 'NFO',
'span': 375204.90000000014,
'exposure': 34694.25750000001,
'option_premium': 0,
'additional': 0,
'bo': 0,
'cash': 0,
'var': 0,
'pnl': {'realised': 0, 'unrealised': 0},
'total': 409899.15750000015}]
  • rakeshr
    An option premium is credited only after successful order fil. So, for all short/write options option_premium by default will show as zero.
Sign In or Register to comment.