← ClaudeAtlas

trading-setuplisted

Configure the trading-skills toolkit - account size, currency, benchmark index, risk limits, data provider (free Yahoo, CSV, or broker), broker (paper or a live broker adapter), credentials and the live-trading switch. Use when the user is getting started, says "set up trading", wants to change risk per trade or limits, connect or log in to a broker, reset the paper account, or when another trading skill reports missing config.
reddygopalkrishna/trading-skills · ★ 4 · Data & Documents · score 70
Install: claude install-skill reddygopalkrishna/trading-skills
# Trading Setup (`trading-setup`) One-time (and occasional) configuration for every skill in the pack. All state lives in `~/.trading-skills/` (override with `TRADING_SKILLS_HOME`). Works with zero API keys: free Yahoo data + the built-in paper broker. Run commands from this skill's directory. Python 3.9+, standard library only. ## Quick start Ask the user (in one message) for: account size and currency, a benchmark index or ETF for their market, and risk per trade (suggest 0.5-1%). Then: ```bash python3 scripts/setup.py init --equity 100000 --currency USD --benchmark SPY --risk-pct 1 python3 scripts/setup.py doctor ``` Benchmark examples (Yahoo symbols): `SPY` / `^GSPC`, `QQQ`, `^FTSE`, `^N225`, `^NSEI`, `^GDAXI`, `BTC-USD`. Exchange suffixes follow Yahoo: `.L` London, `.TO` Toronto, `.NS` NSE, `.BO` BSE, `.T` Tokyo, `.HK`, `.AX`, `.DE`. ## Commands | Command | Purpose | |---|---| | `init [--equity --currency --benchmark --provider --broker --risk-pct --exchange --product]` | create/update config | | `show [--json]` | print config (secrets masked) | | `set KEY VALUE` / `get KEY` | edit any dotted key, e.g. `set risk.max_daily_loss_pct 2` | | `doctor [--symbol X]` | check Python, data provider, broker, journal, kill switch | | `paper-reset [--cash N]` | wipe the paper account | | `kite-login --api-key K --api-secret S` | save Kite credentials, print the login URL | | `kite-session --request-token T` | exchange the token for a daily access token | | `fyers-login --app-