☰
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
October 9
Arockiya_r
October 5
Praxal
margin response for pledged collateral
Praxal
October 5
in
Python client
Hi,
Is there any change in get_margin response?
I am getting below response, the net of pldged margin is 0 and which is impacting the net margin that I could use to place an order.
Net margin should be 1599880 + 221937
However it is only showing 221937.
below is the response I am getting from broker.
[DEBUG] ['09:41:48.652743'] get_margin_values : Margin values for segment: equity is {'enabled': True, 'net': 221937.4, 'available': {'adhoc_margin': 0, 'cash': 221937.4, 'opening_balance': 221937.4, 'live_balance': 221937.4, 'collateral': 0, 'intraday_payin': 0}, 'utilised': {'debits': 0, 'exposure': 0, 'm2m_realised': 0, 'm2m_unrealised': 0, 'option_premium': 0, 'payout': 0, 'span': 0, 'holding_sales': 0, 'turnover': 0, 'liquid_collateral': 1599880, 'stock_collateral': -1599880, 'equity': 0, 'delivery': 0}}
Tagged:
pledged
Margins API Call
Praxal
October 5
Erlier this response used to be like below if you see collateral margin is shown as "1599880":
[DEBUG] ['09:01:31.771953'] get_margin_values : Margin values for segment: equity is {'enabled': True, 'net': 1761968.4, 'available': {'adhoc_margin': 0, 'cash': 162088.4, 'opening_balance': 162088.4, 'live_balance': 162088.4, 'collateral': 1599880, 'intraday_payin': 0}, 'utilised': {'debits': 0, 'exposure': 0, 'm2m_realised': 0, 'm2m_unrealised': 0, 'option_premium': 0, 'payout': 0, 'span': 0, 'holding_sales': 0, 'turnover': 0, 'liquid_collateral': 1599880, 'stock_collateral': 0, 'equity': 0, 'delivery': 0}}
Praxal
October 5
The issue started to show up starting october month only! has anything changed recently?
Arockiya_r
October 9
edited October 9
I believe you noticed this over the weekend, not during market hours. This should be completely addressed by the weekend.
Sign In
or
Register
to comment.
[DEBUG] ['09:01:31.771953'] get_margin_values : Margin values for segment: equity is {'enabled': True, 'net': 1761968.4, 'available': {'adhoc_margin': 0, 'cash': 162088.4, 'opening_balance': 162088.4, 'live_balance': 162088.4, 'collateral': 1599880, 'intraday_payin': 0}, 'utilised': {'debits': 0, 'exposure': 0, 'm2m_realised': 0, 'm2m_unrealised': 0, 'option_premium': 0, 'payout': 0, 'span': 0, 'holding_sales': 0, 'turnover': 0, 'liquid_collateral': 1599880, 'stock_collateral': 0, 'equity': 0, 'delivery': 0}}