sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
5.99k stars 2.2k forks source link

get_historical_klines doesn't return last 9 hours data #1123

Open yukselao opened 2 years ago

yukselao commented 2 years ago

Hello

This method doesn't return last 9 hours data. I tried to use client.get_klines method as well. The result is the same how can I get last 9 hours' hourly data with API?

       temp_data = client.get_historical_klines(
            symbol,
            interval,
            start_ts,
            end_ts
        )