The following is how I get historical data, however the date format does not allow me to specify the minute or second of the data; only the day, which is not precise enough.
start_date_str=start_date.strftime("%d %b, %Y")
data1=client.get_historical_klines(pair, Client.KLINE_INTERVAL_1MINUTE, start_date_str)
I'm looking to get price data for a particular hour, minute and second using the python binance api provided by Sam McHardy (link below).
https://github.com/binance-exchange/python-binance
If anyone knows whether this is possible, or if there are any alternatives, I would really appreciate it.