This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this code is based on get_historical_data() from python-binance module | |
# https://github.com/sammchardy/python-binance | |
# it also requires pybybit.py available from this page | |
# https://note.mu/mtkn1/n/n9ef3460e4085 | |
# (where pandas & websocket-client are needed) | |
import time | |
import dateparser | |
import pytz | |
import json |