Skip to content

Instantly share code, notes, and snippets.

View nistrup's full-sized avatar
🎯
Focusing

Peter Nistrup nistrup

🎯
Focusing
View GitHub Profile
# 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)
symbols = ["XBTUSD", "ETHUSD", "XRPZ18", "LTCZ18", "EOSZ18", "BCHZ18", "ADAZ18", "TRXZ18"]
for symbol in symbols
get_all_bitmex(symbol, "5m", save = True)