back to the devlog
LiveSoftware2026

Trader

An automated intraday momentum trading bot for US equities executing through Alpaca paper trading with server-side bracket orders, a FastAPI dashboard, and a backtest / parameter-sweep engine over 5-minute bars. A second, independent instance trades crypto 24/7 on an internal fill simulator with its own ledger.

* Paper trading only. Nothing here is financial advice.

focus

Every entry/exit gate (EMA stack, ADX, RSI band, EMA50 regime, no-late-entries, earnings blackout) was validated on a train/holdout split with walk-forward checks and honest cost modelling — spread, slippage, and SEC/FINRA fees — before it was allowed to trade.

milestones

  1. 01

    Scanner → entry → exit loop over a ~60-symbol universe every 5 minutes during market hours

  2. 02

    ATR-anchored stops, 3R take-profit and R-based trailing stops resting server-side at the broker so exits fire even if the process dies

  3. 03

    SQLite trade ledger as the single source of truth; one instance per asset class with separate capital

  4. 04

    Backtest CLI with parameter sweeps; documented net edge (~+0.14R/trade after all costs) and a crypto rule adopted for drawdown control, edge explicitly marked unproven

  5. 05

    Live FastAPI dashboard for stocks and crypto, deployed with Docker