AI4Finance-Foundation / FinRL-Meta

FinRL­-Meta: Dynamic datasets and market environments for FinRL.
https://ai4finance.org
MIT License
1.24k stars 576 forks source link

fix binance history download #136

Closed dogfood1 closed 2 years ago

dogfood1 commented 2 years ago

Fix the bug of missing data of Binance history download.

When downloading 1m data before fixing, it will appear 2020-01-01 16:39:00 ->(Missing) 2020-01-02 00:39:00

Cause of the problem: "max(new_df.datetime)" is "pandas.Timestamp , when" it is converted to "datetime" there will be time zone problems.