Binance get_historical_klines end_str is not working

876 Views Asked by At

I am trying to get the data from 1th Dec. 2017 to 1st Jan 2018, the output when checked for len(historical_data) should be 31 however it is ignoring the "end_str" and giving me all the dates till present day. The API documentation stated that "end_str" is optional but it should not give all the days if end date is specified. Need some help with solving this issue. The first image is the API documentation taken from Binance API and I am running the same thing on my side in the second image. Versions currently running: python 3.8.0, python-binance-0.7.10 Link to the API documentation: https://python-binance.readthedocs.io/en/latest/market_data.html[Binance API documentation]1 API from Binance WebsiteImplementing same API

0

There are 0 best solutions below