☰
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
14K
All Categories
0
Incidents
157
Node JS client
40
Go client
794
.Net API client
383
Kite Publisher
537
.Net / VBA / Excel (3rd party)
462
Algorithms and Strategies
1K
Java client
1.1K
API clients
405
PHP client
4K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
March 2024
sujith
kite.margins() returning error
gkaranam
March 2024
in
Python client
Hi. Calling kite.margins() is giving the below error.
Traceback (most recent call last):
File "C:\Users\lenovo\OneDrive\Desktop\Bhagiram\test.py", line 9, in
margins = kite.margins(segment=None)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\kiteconnect\connect.py", line 329, in margins
return self._get("user.margins")
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\kiteconnect\connect.py", line 861, in _get
return self._request(route, "GET", url_args=url_args, params=params, is_json=is_json)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\kiteconnect\connect.py", line 937, in _request
raise exp(data["message"], code=r.status_code)
kiteconnect.exceptions.GeneralException: Message build error
Tagged:
@sujith
sujith
March 2024
Post midnight there will be a BOD process running everyday, you can request after 7:30 AM in the morning.
Sign In
or
Register
to comment.