Scripts & Tools

The desk around the reading.

Knight Trader teaches the reading. These are the tools that run alongside it — the class of working scripts a serious desk builds for itself: morning briefings, position reviews, watchlist scanners, end-of-day recaps, and the risk-gated framework underneath them.

Every script here runs on your machine, with your own broker keys, and pairs with your own AI assistant. Each pack ships with a prompt file that hands the code to your AI, so it can run it for you, explain every line, and extend it. And every Knight Trader book includes the Knight Trader MCP Study Server — so the same assistant that runs your morning brief can teach and quiz you on the patterns behind your trades.

One rule governs everything on this page: these are tools, built for traders who already run their own process. The read-only packs cannot place an order. The framework ships with its strategy slot empty on purpose. Your edge is yours — this is the machine around it.

Start free — the Briefing Pack

Two read-only scripts that run your daily prep on Alpaca:

  • Morning Briefing — your account snapshot, the major indexes, your watchlist ranked by the day's move, and the latest market headlines. One screen, before the open.
  • Position Review — every position you hold with entry, current price, value, and profit/loss, your open orders, and the four-question review checklist to run before touching any of it.

They cannot place orders. The scripts only read — there is no buy or sell code in them — so they are safe to run, safe to hand to your AI assistant, and safe to learn on. Setup takes two minutes: Python 3, nothing to install (standard library only), and a free Alpaca paper account with your own keys.

The pack includes the AI prompt file: paste it into your assistant along with the scripts and it can run the brief for you, explain every line, and extend it — a midday version, a scanner for your watchlist, a nightly recap. You bring the AI; these scripts give it your market.

Briefing Pack

FREE

Two read-only Alpaca scripts — the Morning Briefing and the Position Review — free to download now. Grab the pack, and join the list below with the free 5-Pattern Guide for new lessons and release notices.

Download the free pack

Get the free 5-Pattern Guide

Five essential candlestick patterns in a 7-page visual sampler — the recognition rules, the invalidation, and what usually happens next, drawn the way the charts really look. Enter your email and the guide lands in your inbox. You're also on the list for the daily market weather and new pattern lessons as they publish.

It ships with AI study files and the Knight Trader MCP Study Server — plug it into your own AI and get taught and quizzed on every pattern. Study with your own AI, on your schedule.

The list is also the scripts list: the free Briefing Pack goes to list members first, and release notices for the Trader's Day Pack and the Framework land here before anywhere else.

Download the free 5-Pattern Guide

Free first. When you want the full library: the 32 Candlestick Patterns collection ($20) covers all 32 patterns, and the Options Playbook — Full Edition ($20) covers all 22 lessons. I show what the charts say — you decide.

The full trading day — Trader's Day Pack

Your whole trading day, scripted — for Alpaca and Interactive Brokers. Eight read-only scripts that brief you, scan for you, and review with you. None of them can place an order.

Alpaca — runs anywhere, nothing to install

  • Morning Brief — account, indexes with day ranges, watchlist with relative volume and range position, headlines.
  • Midday Check — indexes and watchlist versus the open, today's P&L per position, and a second-half checklist.
  • Scanner — flags gaps, big moves, and unusual volume, and names pressing highs and lows on your watchlist.
  • Position Review — positions with concentration as a share of the account, today versus total P&L, and a concentration warning.
  • EOD Recap — equity change, every fill, overnight carries, and three journal prompts.

Interactive Brokers — through TWS or IB Gateway

  • Morning Brief — account summary plus index and watchlist prices.
  • Position Review — portfolio with share of account, unrealized P&L, concentration warning, and the checklist.
  • Scanner — the same flags as the Alpaca scanner, from ten days of IBKR daily bars.

Like the free pack, it ships with the AI prompt file — your assistant runs the day with you and keeps your journal from the recap. Read-only by design: check the code yourself, or have your AI check it. The prompt starts with exactly that.

Trader's Day Pack

$29

Eight read-only scripts for Alpaca and IBKR — the full day: briefs, scanner, position reviews, and the EOD recap. Instant download.

Get the Day Pack — $29

The machine, without the map — the Framework

The complete plumbing of a working Alpaca trading setup — broker connection, order management for shares and defined-risk vertical spreads, hard risk gates, a full decision log, and a dashboard — with an empty strategy slot where your signal goes.

We do not sell strategies. An edge is personal, earned, and perishable; anyone selling you one is selling you the map to a place that moved. What transfers — and what actually took the years to build — is the machine around it: the part that sizes positions, refuses bad trades, and writes everything down.

What's inside

  • Config — every setting in one place, loaded from your own key file. The safety switches live here.
  • Broker client — a thin Alpaca REST layer: account, positions, orders, bars, option contracts, submit and cancel.
  • Risk gates — pure pre-trade checks: per-trade risk cap, position-size cap, max open positions, daily loss stop, re-entry cooldown.
  • Order manager — builds equity and multileg spread orders, runs the gates, and submits only when the gates pass and dry-run is off.
  • Strategy slot — your chair. One function, with a labeled placeholder example so the pipeline runs on day one.
  • Trade log & dashboard — an append-only record of every signal and decision, and your account, positions, and today's log on one screen.

Three locks, all shipped on: paper account by default; dry-run by default, so orders are printed and logged, never sent; and the risk gates themselves. A signal can ask — the gates decide, and every rejection is logged with its reason. Unlock them one at a time, in that order.

Python 3, standard library only, nothing to install. Hand the framework to your AI with the included prompt file and build your strategy into the slot together.

Knight Trader Framework

$99

The complete risk-gated framework — broker client, order manager, hard risk gates, trade log, and dashboard, with the strategy slot empty for your signal. Instant download.

Get the Framework — $99

Tools are half the desk

The other half is the reading. The books and the MCP Study Server teach how to read the chart; these scripts run the desk around that reading. Start with the free guide and the free Briefing Pack, and build from there.

Trade what you see, not what you think. Trade small, trade often.