get basket order margin api call

jeevan_bhatt
what is the required margin for basket order ,as there is no field named required margin in the response.?

'initial': {'type': '', 'tradingsymbol': '', 'exchange': '', 'span': 1590447, 'exposure': 728618.04,
'option_premium': 2420, 'additional': 0, 'bo': 0, 'cash': 0, 'var': 0,
'pnl': {'realised': 0, 'unrealised': 0}, 'leverage': 0, 'total': 2321485.04},
'final': {'type': '', 'tradingsymbol': '', 'exchange': '', 'span': 1194633.0499999998, 'exposure': 728618.04,
'option_premium': -35320, 'additional': 0, 'bo': 0, 'cash': 0, 'var': 0,
'pnl': {'realised': 0, 'unrealised': 0}, 'leverage': 0, 'total': 1887931.0899999999}, 'orders': [
{'type': 'equity', 'tradingsymbol': 'NIFTY2240718300CE', 'exchange': 'NFO', 'span': 1590447,
'exposure': 364309.02, 'option_premium': 0, 'additional': 0, 'bo': 0, 'cash': 0, 'var': 0,
'pnl': {'realised': 0, 'unrealised': 0}, 'leverage': 1, 'total': 1954756.02},
{'type': 'equity', 'tradingsymbol': 'NIFTY2240717750PE', 'exchange': 'NFO', 'span': 0, 'exposure': 364309.02,
'option_premium': 0, 'additional': 0, 'bo': 0, 'cash': 0, 'var': 0, 'pnl': {'realised': 0, 'unrealised': 0},
'leverage': 1, 'total': 364309.02},
{'type': 'equity', 'tradingsymbol': 'NIFTY2240719200CE', 'exchange': 'NFO', 'span': 0, 'exposure': 0,
'option_premium': 1100, 'additional': 0, 'bo': 0, 'cash': 0, 'var': 0, 'pnl': {'realised': 0, 'unrealised': 0},
'leverage': 1, 'total': 1100},
{'type': 'equity', 'tradingsymbol': 'NIFTY2240716500PE', 'exchange': 'NFO', 'span': 0, 'exposure': 0,
'option_premium': 1320, 'additional': 0, 'bo': 0, 'cash': 0, 'var': 0, 'pnl': {'realised': 0, 'unrealised': 0},
'leverage': 1, 'total': 1320}]}
Tagged:
  • SRIJAN
    The basket margins api has 2 fields initial and final. The total key in those fields indicates the required margin. Like,in your case,
    initial-2321485.04
    final-1887931.0899999999
Sign In or Register to comment.