☰
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.8K
All Categories
0
Incidents
154
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
November 2023
joyhrs2002
November 2023
GH3054
November 2023
mridulk
Bad gateway error
GH3054
November 2023
in
Python client
I am getting bad gateway error, when I am trying to get the margin for my account. This is very annoying. Can someone help to rectify the error
File "C:\Users\prate\anaconda3\lib\site-packages\kiteconnect\connect.py", line 851, in _get
return self._request(route, "GET", url_args=url_args, params=params, is_json=is_json)
File "C:\Users\prate\anaconda3\lib\site-packages\kiteconnect\connect.py", line 927, in _request
raise exp(data["message"], code=r.status_code)
NetworkException: Bad gateway
mridulk
November 2023
order placement and order history is totally broken. Even now. This is CRITICAL
GH3054
November 2023
This is a critical issue, If these basis functions dont work upto the mark, then there are high chances of slippages. Still it is not working. PATHETIC
GH3054
November 2023
Now getting new error
ite.basket_order_margins(params,consider_positions=True,mode=None)['final']['total']
File "C:\Users\prate\anaconda3\lib\site-packages\kiteconnect\connect.py", line 784, in basket_order_margins
return self._post("order.margins.basket",
File "C:\Users\prate\anaconda3\lib\site-packages\kiteconnect\connect.py", line 855, in _post
return self._request(route, "POST", url_args=url_args, params=params, is_json=is_json, query_params=query_params)
File "C:\Users\prate\anaconda3\lib\site-packages\kiteconnect\connect.py", line 927, in _request
raise exp(data["message"], code=r.status_code)
GeneralException: error fetching positions: invalid status: 504
joyhrs2002
November 2023
orders are not going through, please look into it, this is critical
GH3054
November 2023
Getting error 500 now
Sign In
or
Register
to comment.
ite.basket_order_margins(params,consider_positions=True,mode=None)['final']['total']
File "C:\Users\prate\anaconda3\lib\site-packages\kiteconnect\connect.py", line 784, in basket_order_margins
return self._post("order.margins.basket",
File "C:\Users\prate\anaconda3\lib\site-packages\kiteconnect\connect.py", line 855, in _post
return self._request(route, "POST", url_args=url_args, params=params, is_json=is_json, query_params=query_params)
File "C:\Users\prate\anaconda3\lib\site-packages\kiteconnect\connect.py", line 927, in _request
raise exp(data["message"], code=r.status_code)
GeneralException: error fetching positions: invalid status: 504