Skip to main content

[![PyPI version](https://badge.fury.io/py/ib_dl.svg)](https://badge.fury.io/py/ib_dl) [![Build Status](https://api.travis-ci.org/tibkiss/ib_dl.svg?branch=master)](https://travis-ci.org/tibkiss/ib_dl) [![Docker Build Status](https://img.shields.io/docker/build/tibkiss/ib_dl.svg)](https://hub.docker.com/r/tibkiss/ib_dl/) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

# Historical market data downloader Utility to download historical market data from Interactive Brokers. The heavy lifting is done by [ib_insync](https://github.com/erdewit/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](https://hub.docker.com/r/tibkiss/ib_dl/)

## License [Apache License Version 2.0](http://www.apache.org/licenses/)

Metadata

Release files for ib-dl 1.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ib-dl 1.5.3
File Size Uploaded Provenance Actions
ib_dl-1.5.3.tar.gz 24.1 kB Without provenance Details for ib_dl-1.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ib-dl 1.5.3
File Interpreter ABI Platform Actions
ib_dl-1.5.3-py3-none-any.whl Python 3 none any Details for ib_dl-1.5.3-py3-none-any.whl

Total release size: 32.6 kB

Release files / ib_dl-1.5.3.tar.gz

Download URL ib_dl-1.5.3.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ebbb5b9521e812586862d0ffdee653845c5a8f70107fed8ac35f39bc1ab14d66
BLAKE2b-256 checksum
How to use checksums
3cc38da8eca70ba6e0133173c6e6a82f1bd9a51c1e9839ea29bf7854b4b95af0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

Release files / ib_dl-1.5.3-py3-none-any.whl

Download URL ib_dl-1.5.3-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
262db3b505e6645f8af71c5249a5ef5bb5c502c71f7c59836d60fbf6bb8c91f2
BLAKE2b-256 checksum
How to use checksums
20309b17982eebe3cb0eaa7cea17031e543eee698d905a4f73a22eb505e45105
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

Security for ib-dl 1.5.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page