Skip to content

Instantly share code, notes, and snippets.

@greatwhiz
greatwhiz / download_bars.py
Last active December 13, 2020 20:13 — forked from wrighter/download_bars.py
A command line utility to download historical data from Interactive Brokers
import os
import sys
import argparse
import logging
from datetime import datetime, timedelta
from typing import List, Optional
from collections import defaultdict
from dateutil.parser import parse