Ross ROSS = Recommend OSS · open-source software intelligence for agents

jamesmawm/High-Frequency-Trading-Model-with-IB

A high-frequency trading model using Interactive Brokers API with pairs and mean-reversion in Python observed · 2026-08-28

github.com/jamesmawm/High-Frequency-Trading-Model-with-IB · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

34/100

  • Activity 24
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4490
  • days_rel: n/a
  • days_push: 461
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2919 stars · 678 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Python trading model that implements pairs trading and mean-reversion strategies on high-frequency data via the Interactive Brokers API. It runs from the console or headless in Docker and connects to IB Trader Workstation using the ib_insync library.

Use cases

  • run a pairs trading strategy on Interactive Brokers
  • backtest mean-reversion on high-frequency market data
  • automate trades through the IB TWS API
  • deploy trading algos headless in Docker
  • learn algorithmic trading with a working IB example

When to choose

  • you have an Interactive Brokers paper or live account and want a ready-made pairs/mean-reversion model
  • you want a simple, MIT-licensed Python reference for trading via ib_insync
  • you need to run trading instances remotely in Docker

When to avoid

  • you need a production-grade, actively maintained HFT system - the codebase is dated and the author notes it may not work as intended
  • you trade through brokers other than Interactive Brokers
  • you need true low-latency high-frequency execution - this is a basic model, not real HFT infrastructure

Facets

application · maturity maintenance

trading workflow-automation developer-tools fintech python cross-platform interactive-brokers pairs-trading mean-reversion algorithmic-trading ib-insync high-frequency-trading trading automation docker

1 source

Member repositories

RepositoryRoleHealth v2
jamesmawm/High-Frequency-Trading-Model-with-IBmain34

For agents

markdown · JSON · MCP: product_card(name="jamesmawm/High-Frequency-Trading-Model-with-IB")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem