Skip to content

Instantly share code, notes, and snippets.

View InNeedOfHelpALOT's full-sized avatar

InNeedOfHelpALOT

View GitHub Profile
@wrighter
wrighter / download_bars.py
Last active October 4, 2024 21:50
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