python-binance
python-binance copied to clipboard
passing a datetime into get_historical_kline() ?
I am familiar with this sort of code and have it working well:
klines = client.get_historical_klines("ETHBTC", Client.KLINE_INTERVAL_30MINUTE, "1 Dec, 2017", "1 Jan, 2018")
But I have had no luck passing a specific time into these kinds of functions?
Is that possible or does it always read data from the start of the day in question? Cheers.
Hello @leemthai,
Not sure you're providing the correct format, can you try to provide a timestamp in milliseconds?