← ClaudeAtlas

trading-disciplinelisted

Rules that protect an Indian trader from themselves: an account-level circuit breaker (daily 2%, weekly 5%, monthly 10% loss limits plus losing-streak cooldowns) read from the trade journal, a pre-trade gate (stop, rupee risk, R:R, written plan, revenge window, regime, F&O ban, ASM/GSM/T2T, results, circuit lock, expiry day, MIS cut-off) that returns PASS / PASS-WITH-WARNINGS / BLOCK before any order ticket, a performance review by setup, weekday, hour, segment and mistake, a weekly digest, and an opt-in decision log. discipline.py, stdlib only, offline. Use when the user asks: "should I take this trade", "can I trade today", "I've lost 3 in a row", "am I revenge trading", "check my trade before I place it", "daily loss limit", "review my journal / trades", "what's my worst setup", "weekly trading report", "why do I keep losing in F&O", or before any order is drafted.
Shubhamkumartrichy/claude-trading-skills-india · ★ 62 · DevOps & Infrastructure · score 84
Install: claude install-skill Shubhamkumartrichy/claude-trading-skills-india
# Trading Discipline Most retail losses come from behaviour, not analysis: the oversized trade, the revenge trade after a loss, the fifth trade on a red day. This skill turns the rules into checks that run *before* money moves, and turns the journal into feedback afterwards. ## Commands ```bash # Can I trade today? (status GREEN / AMBER / RED + allowed risk for the next trade) python3 scripts/discipline.py breaker trades.csv --capital 500000 [--as-of 2026-10-29] # Pre-trade gate (writes nothing). Add --journal to fold in the breaker. python3 scripts/discipline.py gate --capital 500000 --entry 1450 --stop 1410 --target 1550 --qty 120 \ --plan-written yes --minutes-since-last-loss 90 --regime risk-on --fno-ban no --asm-gsm no \ --event no --circuit-locked no --journal trades.csv python3 scripts/discipline.py gate --segment options-buy --entry 140 --stop 85 --qty 75 --expiry-day yes ... # Coaching review, and the latest ISO-week digest (or --week 2026-W43) python3 scripts/discipline.py review trades.csv [--recent 10] python3 scripts/discipline.py review trades.csv --week # Only when the user asks to keep a record: run the gate and append one row to a CSV log python3 scripts/discipline.py log --log decisions.csv --symbol INFY --action taken <gate flags> ``` Every command takes `--json`. Dates are IST; `--as-of` defaults to today in IST. Bad input prints `error: ...` and exits 2. **Journal:** the same CSV as `../position-sizing/scripts/risk.py journal` (`date,symbol,s