Skip to content

Instantly share code, notes, and snippets.

@debs-bit
debs-bit / download_bars.py
Created March 4, 2021 18:46 — forked from wrighter/download_bars.py
A command line utility to download historical data from Interactive Brokers
#!/usr/bin/env python
import os
import sys
import argparse
import logging
from datetime import datetime, timedelta
from typing import List, Optional
from collections import defaultdict