I changed my maximum batch size to 34 days to avoid this error since last few days.
Checked today, I am not getting this error anymore with same code. Looks like this issue is fixed now. @rakeshr
@rakeshr Are you able to reproduce this error?
It happens randomly and quite often, so if you try fetching 1 minute data of 60 day period, you should get this error.
There is no 35 day limit of any type. But I am getting this 35 day limit error m…
On sunday, I faced this error when I created this post (I can't see the time).
Today also faced this error at around 8:20 AM (04 Sept)
Yeah the limit is 60 days, but I am randomly getting this error in some requests, and they work when my code re-…
Do we still get one tick per second or there is an update @sujith ?
Also, since Kite.quote() is a snapshot of websocket data, does kite.quote() also update only 1 time every second?
Note: I successfully updated my data between 3:30 and 4:00. After that, I did not check if this error is still happening. I just wanted to bring this issue to the attention of the API team.
Also,
In the future, If I develop a trading strategy that may require me to place more than 3,000 orders on a regular basis. Is it possible to request Zerodha to raise the order limit for my account permanently to a higher limit like 5k-6k orders?
Thank you @sujith
Is there any way to check the number of orders I sent today via API or manually? Or we need to keep track of it from our end like everything else?
Also, how do I contact the RMS to increase the limit for some day? (I can find ca…
Questions:
1.) Is this limit per account or per API key
2.) If it is per account, can we place orders manually via Kite, If we hit 3000 order limit? If no, we can't do anything in account? Like exiting position?
3.) If I send a order via API, but…
Hello @rakeshr , could you please confirm if you have understood the point I am trying to convey? Kindly let me know if I have made any errors in my calculations. Thank you.
I understand this @rakeshr
I understand not all ticks can be captured in live data.
But here, wrong ticks are captured.
One day candle is 100% correct, right? Since it is provided by exchange based on all ticks.
So, how can the tick you capt…
@rakeshr The resolved tag got removed from here:
Also, I am facing this error in Python library, when fetching orders. Are both the issues connected?
NetworkException: Bad gateway
Edit: This issue is set to resolved again. So far not facing the…
If this cannot be solved before market opens tomorrow, can you please tell me ,what is the IP rate limit?
So I can start multiple GCP Instances and run code using multiple IP addresses to avoid the problem temporarily. @Vivek @rakeshr
Sorry to b…
Ohh @Vivek
I have messaged you the IP address.
I again got the same error, too many request. I am running the same code, that I have been since last few months. Did you add this IP limit recently? Can you please increase my IP limit today itself.…
But NSE Quote seems to be working now. So, I guess, the problem is solved.
I would like to know, why it happened and can it happen during market hours also?
Thank you
Oh, sorry to bother you. 1 last question. @rakeshr
Moneycontrol also shows a split of 1/5 on 04-06-2013
https://www.moneycontrol.com/company-facts/federalbank/splits/FB#FB
@rakeshr I think Federal Bank Historical data for date around 2013-08-01 might be wrong.
1D candle shows price around 170, while I think the actual price was somewhere near 30.
Can you please adjust it in your DB, if its wrong. Thanks
@rakeshr I think Kite team adjusts the price for Bonus issue, right? The day candle is adjusted for FederalBank but not minute candle.
Just letting you guys know, In my case, i will adjust it on my end.
And in case of FederalBank, the price sh…
@jahir The Google sheet is reliable 98% of the time. But sometimes, it shows a stock can be traded in MIS but in reality, we get blocked MIS error. Just letting you know.
Today, I got this error on 90% of my orders during the first minute, I tried placing 30-40 orders on 4 accounts, I was unable to see my holdings, positions on Kite web, nor place orders with success.
This error is getting worse day by day, please …
oh ok, so I should request support.zerodha.com team to implement the change in the OMS, right? OMS Is developed by Zerodha/Kite team?
Sorry, I confuse Kite API & Kite platform team sometimes. Thanks
Thank you @rakeshr , it really helps.
Can I request Zerodha/Kite team to implement a "maximum time" for the timeout issue, In case it happens again rarely?
So after waiting for X seconds, we can be assured, the order wont get placed and we place …
@prakash.jj I got the same error before few days, and order was placed after 32 seconds, so I am currently keeping a time of 60 seconds.
Last time, I placed so many unwanted orders, and took unwanted leverage because of this, be careful.
@rakeshr Sir any update on this issue?
I did this today:
hist_intra_candles = kite.historical_data(138444036,"2021-08-09 09:15:00","2021-08-09 15:30:00", "minute", continuous=False, oi=False)
According to the data returned
The closing price of …
Just mentioning, If it helps in solving this issue.
I got this timeout error again today in many orders, also got the error while fetching positions. So it is not just related to the order placement system, i guess.
Also, today I got two type of …
Also @sujith I get this error a lot of times during the first few minutes of market open Error HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7)
when using
kite.positions()
kite.holdings()
Please forward thi…
Thank you @sujith .
Do you have any suggestions on how should I handle this problem on my side?
I place a MIS order with SL & TR. So total 3 orders.
If the stop loss or target order do not get placed (due to error), what should I do? Shoul…
I am wondering, If I change line 37 here https://github.com/zerodha/pykiteconnect/blob/master/kiteconnect/connect.py
_default_timeout = 7 # In seconds
If I change it to, 60 seconds, will the API wait for 60 seconds before giving me this erro…
@sujith Sorry, I did not clarify. I got the timeout error, that's why the order did not get executed.
So, I called kite.place_order() and got error (Exception caught it, it was timeout error).
Now, I don't know order id, the order do not show …
@rakeshr From last few days, I did not get this error. But today, I got this error in 36 orders (Around 25% of the total orders I placed).
I cannot provide you order_id because I did not get one. Order never got executed.
Please, I request Zero…
Please also remember that Google colab can get disconnected anytime. You can buy Colab pro for 10$/month to reduce the chances of disconnection.
You can also use GCP, you will get 300$ credit on signup. You can run your code on the Mumbai server fo…
Thanks for the clarification.
It needs to be checked, what is happening.
Thank you, It would be good to see this issue resolved If it is in our hands. Please let us know If this issue gets solved or improved in the future. I understand, this issue c…
It is happening on all requests.
I noticed one thing, In your second request, the start date is "2010-04-14" and in my request, the start date is "2010-04-10".
When I change the start date to "2010-04-14" results are same for me also. Can you ple…
@sujith
What do you mean by "OMS"?
Today, I placed an order and at "09:20:01", I got read timeout error, and the order got placed at "09:20:39".
I checked the order history, " PUT ORDER REQ RECEIVED " was at "09:20:39", does this mean Kite re…
@sujith Can you please also have a look at this issue.
The timeout error happens a lot when the market opens. I am using Google Cloud Mumbai VM, so I think client side connection is good.
This seems like some issue due to overload on Zerodha ser…
@sujith Any plan to add this in API? Zerodha already displays the nudges, providing an API for it should not be much time-consuming. I request Team Zerodha to add this in the API.
Thank you
Thank you. In this list also I can see IDEA is allowed in CO, but IDEA was not allowed. I understand, it is updated manually, so sometimes the difference can occur.
But usually, are MIS and CO allowed stocks the same 99% of the time?
@rakeshr thanks a lot. I have one small question for which I cannot find the answer in the articles.
Does CO has more blocked stocks than MIS or they are the same? (Like some stocks are blocked for MIS/CO and are cash only due to high volatility)…
@rakeshr SIr,
Do you have a list of all the companies for which the data is adjusted with starting date? It would be really helpful. For now, I really cant figure out, what data to trust without checking everything manually.
Thank you @rakeshr
Prior to 2019, we haven't adjusted intraday data for all contracts,
In 2019 also, I can find some inconsistency
ABB on 2019-12-20
ALEMBICLTD on 2019-08-26
There is an issue, regarding un-adjusted data from some period around 2015. We are checking on this. Once adjusted you can fetch it from 2015 onwards. We will update here.
@rakeshr No, I mean, can you please tell me the date from which the data is…
Also noticed this:
"ABB" open price on 2019-12-20 (day candle) is 1324.
But in the minute candle, the price is 1456? Why is there such a big difference?
@rakeshr Sir,
According to day candle, the open price of PERSISTENT on 2015-03-09 was 937, but according to the minute candle, the open price was 1872.05 at 9:15.
Why is there a difference? The day candle price is correct, but the minute candle pr…
@rakeshr Thank you so much. Yes, I meant the day candle. Just to be sure, the volume is also accurate?
And is there any way to get data before 2000 that is consistent with Zerodha's data? Thank you.