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.0.0.tar.gz (9.0 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.0.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantglide_ibkr-1.0.0.tar.gz
  • Upload date:
  • Size: 9.0 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.0.0.tar.gz
Algorithm Hash digest
SHA256 fd502111c01f698737f07ea3c666ebaad44114bbc8b04f091315dd5391d410b6
MD5 8fd9ba7537d82b669375af087c71adcb
BLAKE2b-256 564bc2b12b7e4a7bbf84831b5687af0ac8f41fa9f67b8c0b8304317f79ff80a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantglide_ibkr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef87dbc329982511b32e335e23479e4b2cccad7222ab8b73b49718923538363f
MD5 8fd0e9781904476183fac9f4f690e060
BLAKE2b-256 dfbb07dffd2ea5fc46b81ac52a470e64039843e492b54e9b5b8e9b7eb79220a9

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