Skip to content

Instantly share code, notes, and snippets.

@vijayananthm
vijayananthm / download_bars.py
Created January 4, 2023 01:55 — 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