Skip to main content

QuantGlide IBKR relay — polls for trade signals and places orders via IB Gateway

Project description

quantglide-ibkr

QuantGlide IBKR relay agent. Polls for trade signals from QuantGlide and places orders via IB Gateway.

Requirements

  • Python 3.9+
  • IB Gateway running locally (download)

Install

pip install quantglide-ibkr

Setup (one time)

  1. Go to the QuantGlide dashboard → Settings → IBKR
  2. Copy your setup token
  3. Run:
quantglide-ibkr --token <paste_token_here>

Run

quantglide-ibkr

For paper trading (IB Gateway on port 4002):

quantglide-ibkr --port 4002

Test without placing real orders:

quantglide-ibkr --dry-run

How it works

The agent connects to IB Gateway on your machine and polls QuantGlide for trade signals. When a signal arrives, it places the order via IB Gateway. Keep the agent running during trading hours (10:25–13:00 ET).

Config is stored in ~/.quantglide/.env. Refresh tokens are automatically rotated.

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

quantglide_ibkr-1.1.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

quantglide_ibkr-1.1.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file quantglide_ibkr-1.1.0.tar.gz.

File metadata

  • Download URL: quantglide_ibkr-1.1.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for quantglide_ibkr-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1a0dda97dfa60b8181654acdadd43025e6b212cf5f0af648a4277b8e75034f9a
MD5 a25c3e716197280abfebf6caf138833a
BLAKE2b-256 4badb3e8969fce47016cc11cd9a30e83a4420d7abe49441a491aa1d5aaefb6b5

See more details on using hashes here.

File details

Details for the file quantglide_ibkr-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for quantglide_ibkr-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 784aa23415ff21b620b68633922759d7704fbdbefe72394a8c202065113e4acd
MD5 0e464c71d64242a4077787404724798b
BLAKE2b-256 f71987bd61d282908a844326918a9f8b965ba706802ea12a737d280634129eb3

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