← All projects
05

Quant Trader

A quant trading bot for Interactive Brokers. Build a strategy from tickers, indicators and filters, test it on past data, then let the bot run it for you.

Kind
Quant trading bot
Broker
Interactive Brokers
Platform
Web app + a trading bot
Status
Personal project

Interactive. Three stations on one bench: plug blocks into the rack to build a rule, run it over a month, a year or two years of past data, then watch the bot trade it through the broker. Click a block to add or remove it and the test reruns. Demo data, illustrative only. Not investment advice.

The problem

A trading idea is easy to have and hard to trust. Trying it by hand means watching charts all day, and the moment you step away or second-guess yourself, the rule you set is no longer the rule you follow.

Most people never find out whether their idea works, because they never test it properly and never run it consistently.

What we built

Quant Trader turns an idea into a strategy you can test and then hand to a bot. You build the strategy from parts: which stocks, which indicators, which filters. You run it over past data to see how it would have behaved. When you're satisfied, the bot executes it for you through Interactive Brokers.

The bot follows the strategy exactly, on every stock you chose, every day, without drifting.

What's in it

Build it, test it, let it run.

Build

  • Tickers

    Choose the stocks the strategy watches.

  • Indicators

    Pick the signals it reads, such as moving averages, momentum and volume.

  • Filters

    Add conditions that must hold before it acts, such as market conditions or news.

  • Strategy

    Combine them into one rule the bot can follow.

Test

  • Backtest

    Run the strategy over past data: one month, one year or two years.

  • See the trades

    Every entry and exit it would have made, marked on the chart.

  • Revise

    Change a part and test again until you're satisfied.

Run

  • The bot

    Executes the finished strategy automatically on the stocks you chose.

  • Broker connection

    Places orders through Interactive Brokers.

  • Journal

    Every decision recorded with its reason, including the trades it skipped.

Stay in control

  • Paper first

    Run on paper before any real money is involved.

  • Limits

    Caps on orders and position size.

  • Stop

    Switch the bot off at any time.

How it works

Three steps, in this order.

  1. 01

    Build

    Pick the tickers, indicators and filters, and combine them into a strategy.

  2. 02

    Backtest

    Run it over a month, a year or two years of past data and see the trades it would have taken.

  3. 03

    Revise

    Change what doesn't hold up and test again.

  4. 04

    Run

    Hand the finished strategy to the bot. It watches the market and places the orders the strategy calls for.

  5. 05

    Review

    Read the journal: what it did, what it skipped and why.

In numbers

3
steps: build, test, run
3
test periods: one month, one year, two years
1
broker: Interactive Brokers
0
decisions made off the rule

Research software. Not investment advice. No performance is claimed, and past results do not predict future ones.

Under the hood

Plain parts, put together carefully.

App
Next.js and React
Strategy
Plain rules, so every decision can be traced
Clock
New York market time, with holidays and daylight saving
Broker
Interactive Brokers, with paper trading and safety switches
Data
Daily market data and news headlines

Connects to

  • Interactive Brokers

    Orders placed through the broker

  • Market data

    Prices and headlines

Have a trading idea you've never properly tested?

Book 20 minutes. We'll walk through building a strategy, testing it and what the bot does with it.

Book a 20-min walkthrough →