Utility to download historical market data from Interactive Brokers. The heavy lifting is done by ib_insync project.
pip install ib_dl
ib-dl SPY --duration "1 M" --bar-size "1 min" --tws-uri localhost:7492:999
For further details see the help screen:
Docker images are provided under tibkiss/ib_dl