Roibal / Cryptocurrency-Trading-Bots-Python-Beginner-Advance

Crypto Trading Bots in Python - Triangular Arbitrage, Beginner & Advanced Cryptocurrency Trading Bots Written in Python
https://www.youtube.com/channel/UCVTnyT4fUxYkvawbggo8-AQ
MIT License
1.29k stars 441 forks source link

save_historic_klines_csv files with wrong time information #15

Closed apneef closed 5 years ago

apneef commented 6 years ago

The save files wich are saved by save_historic_klines_csv have a wrong time format in the files.

The file contains the following line(s): <module 'time' (built-in)>, 2e-05, 2e-05, 2e-05, 2e-05, 53.0

The line 262 in save_historical_data_Roibal.py : format_kline = "{}, {}, {}, {}, {}, {}\n".format(time, open1, High, Low, Close, Volume) has to be: format_kline = "{}, {}, {}, {}, {}, {}\n".format(time1, open1, High, Low, Close, Volume)

Roibal commented 5 years ago

I fixed this section of the code and gave you credit. Thank you very much my friend.