☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.6K
All Categories
0
Incidents
143
Node JS client
38
Go client
784
.Net API client
375
Kite Publisher
537
.Net / VBA / Excel (3rd party)
452
Algorithms and Strategies
985
Java client
1.1K
API clients
402
PHP client
3.9K
Python client
344
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.3K
General
In this Discussion
April 2022
SRIJAN
get basket order margin api call
jeevan_bhatt
April 2022
in
Python client
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:
@sujith
@rakeshr
SRIJAN
April 2022
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.
initial-2321485.04
final-1887931.0899999999