Skip to content

deltaray-io/ib_dl

Repository files navigation

PyPI version Build Status Docker Build Status License

Historical market data downloader

Utility to download historical market data from Interactive Brokers. The heavy lifting is done by ib_insync project.

Requirements

Usage

  • Download and install IB TWS API
  • Install ib-dl with pip: pip install ib_dl
  • Start TWS, enable API access
  • Download data: ib-dl SPY --duration "1 M" --bar-size "1 min" --tws-uri localhost:7492:999

For further details see the help screen: ib-dl --help

Docker

Docker images are provided under tibkiss/ib_dl

License

Apache License Version 2.0