Skip to content

v0.5.0 — alert, journal, options, backtest

Latest

Choose a tag to compare

@jpramirez jpramirez released this 06 Jun 01:36

What's new in v0.5.0

4 new tools

alert — Price threshold alert daemon. Watches a symbol list and fires Telegram/Discord notifications when price crosses a configured threshold. One-shot or repeat mode. No API key required.

journal — SQLite trade journal. Records fills with FIFO P&L reporting. Duplicate broker order IDs silently ignored. Pure-Go SQLite (no CGO).

options — Options chain viewer. Displays calls/puts, IV, OI, bid/ask for any US optionable stock via Yahoo Finance. Handles auth internally — no API key required. Near-the-money and ITM highlighted.

backtest — Historical strategy backtesting. Replays daytrader (gap-up) and bounce (RSI oversold) strategies against OHLCV data. Supports Yahoo Finance (default), Alpha Vantage, and Polygon.io as data sources.

Other additions

  • Central watchlist~/.trade-kit/watchlist.json shared across daytrader-bot, bounce-bot, earnings-bot
  • Makefilemake all, make <tool>, make test, make clean
  • Per-tool README.md — All 12 tool directories now have full documentation

Bug fixes

  • DST bug — Hardcoded UTC-4 offset in daytrader, bounce, index replaced with time.LoadLocation("America/New_York")
  • scheduler — TypeExec orders now blocked by default; require --allow-exec flag
  • tiger/ops/quote.gohttp.NewRequest and io.ReadAll errors were silently swallowed
  • index-trader — Quote fetch failure caused P&L to calculate as zero, disabling stop/target checks
  • index-traderlogf() was writing to stdout instead of stderr
  • moomoo — Connection close errors now logged instead of silently dropped
  • journal — Timestamp parse errors now propagated instead of producing zero dates
  • earnings — Session setup errors handled gracefully

Built with Go 1.21. Each tool is a standalone binary — build individually or use make all.