@sujith
Then plz check. I am trying to make first connection with the api_key and its giving 429. (I re-generated api_secret to assure that no other code is connected to the api_key. Another api_key has 3 connections and its working fine.)
Are you sure you are not opening the fourth connection on the same api_key?
@sujith
I am opening only first connection with the api_key I am talking about. (I have two keys.) Is the limit applied at user level or api_key level?
Did you check out the new margins calculation API?
@sujith I will check. This is useful.
However, my issue is with the updation of the available balance after the order is executed. Say I have 1 lac INR at any point of time in trading account and …
Btw, do websocket feed and kite.quote return exactly the same data if kite.quote is called at the same time tick is received on the socket? (Empirically kite.quote returns before the next tick.) Do they refer to the same data buffer internally at ze…
@itsram90
Gaussian distribution of total qty over the range of market noise (relative to position duration) helps to hide large orders as well as fill position with better average price. only drawback is if trend is too strong only first leg will …
@kiteapi
1. The scripts that you are trading, check if volume in bid/ask has dropped in the scrips you are trading in these recent months/weeks. This happened in late 2008 or early 2009, some stocks just did not have the volume like before 2008/200…
I tried passing "bo" instead of "BO". The error has changed to the following.
kite.exit_order("bo",order_id)
File "build/bdist.macosx-10.7-x86_64/egg/kiteconnect/connect.py", line 378, in exit_order
File "build/bdist.macosx-10.7-x86_64/egg/kite…
kite.exit_order("cnc",191030001642988)
The output is as below:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade
DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "POST /session/token HTTP/1.1" 200 None
DEBUG:urll…
That thread doesn't answer my question on how to exit a "CNC" order the same day! As mentioned cancel_order or exit_order apis are throwing the exception.