This file contains 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
# IMPORTS | |
import pandas as pd | |
import math | |
import os.path | |
import time | |
from bitmex import bitmex | |
from binance.client import Client | |
from datetime import timedelta, datetime | |
from dateutil import parser | |
from tqdm import tqdm_notebook #(Optional, used for progress-bars) |
This file contains 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
symbols = ["XBTUSD", "ETHUSD", "XRPZ18", "LTCZ18", "EOSZ18", "BCHZ18", "ADAZ18", "TRXZ18"] | |
for symbol in symbols | |
get_all_bitmex(symbol, "5m", save = True) |