spb/crypto-trade-bot
Public
Python 54.7%
TypeScript 42.5%
SQL 1.9%
1# CLAUDE.md — Kraken Quantitative Algorithmic Trading Platform23See `README.md` for the current state and `docs/` for architecture, threat model, runbook and Kraken API notes.4The original product specification (mission, non-negotiable rules, deliverables, phases) is kept verbatim in5`docs/SPEC.md`. Operating rules that apply to every change:67- Start in offline/backtest and paper modes. Never place live orders without owner configuration, preflight,8 feature flag and explicit UI activation with second confirmation.9- Never print, log, commit or store API secrets client-side. Separate least-privilege keys; no withdrawal permission.10- Every order passes `ktrade.risk.gateway.RiskGateway` (default-deny). No bypass, ever.11- No profitability claims without out-of-sample evidence, realistic costs and reproducible provenance. Never fabricate data.12- Exchange capabilities (pairs, minimums, precision, status, rate limits) are discovered at runtime from Kraken docs/endpoints.13- Remote-first deployment on MacLustr: the deployed directory on the node is the git source of truth (`origin` = spbgit).14