Skip to main content

Interactive Brokers OAuth

Project description

IBKR Authentication Workflow

Documentation for the IBKR Web API is here.

  1. Pull the repository.

  2. Create and activate a virtual environment.

  3. Install dependencies from requirements.txt.

  4. Create a YAML configuration file:

    client_id: ""
    client_key_id: ""
    credential: ""
    private_key_file: ""
    domain: "api.ibkr.com"
    

    The private key file will usually have a .pem extension. The domain will normally be api.ibkr.com but it's also possible to access the API via other sub-domains like 1.api.ibkr.com.

  5. Run the test script.

    python auth.py
    

Installation

You can install from GitHub.

pip3 install git+https://github.com/datawookie/ibkr-oauth-flow

Deploying to PyPi

This requires UV_PUBLISH_TOKEN to be set to a PyPi token in environment.

make deploy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ibauth-0.0.5.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ibauth-0.0.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file ibauth-0.0.5.tar.gz.

File metadata

  • Download URL: ibauth-0.0.5.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.2

File hashes

Hashes for ibauth-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e4e6ce86331e0c6976be0c5fe9736f1710ab9369bff912e9211c5bba1aaf20e1
MD5 d746d134532c6d4541b18aac421264b6
BLAKE2b-256 795e0c2a504e28db3022df764b7a3fd43d255eed65ebb131c86536b2101a893c

See more details on using hashes here.

File details

Details for the file ibauth-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: ibauth-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.2

File hashes

Hashes for ibauth-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a9249a2bf73f6fc5b132afccddb1eb9eb1ce2e2606b163ddeca1d9d9e51fe6b5
MD5 3f95d228f89e8bdbeec763db77015e75
BLAKE2b-256 681b472296d5925e98f206d061feda6157492bcdaa2fd31c0a4055ac9233e0d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page