Open ejaznoob opened 2 years ago
Hi @ejaznoob, I hope you have find the solution by now. I had the same problem. In my case, it occurred because of the way that the charting library calls the API. It sends different time intervals to the API to get data, and stops sending whenever no data is received from API. However, as can be seen, you are receiving data continuously. Therefore, it calls the API until you get 429 error (too many requests in a given amount of time). To solve the problem, you need to change the code based on your API call. You can tell the program to send a single request to the API. In order to do that, you can change this part (library.237999374a0f9a719893.js): : e && e.noData ? (this._logMessage("EOD received"), this._setEndOfData())
You can remove && e.noData to avoid sending request continuously.
Data is being taken from Binance Kline API. Chart and its function work fine with resolutions lesser than week. I cannot figure out what is wrong and what should be done here.
To make it compatible with all resolutions but still it does not work greater than 1 week.