← ClaudeAtlas

portfoliolisted

Keeps the user's portfolio with a reason attached to every position. Records buys and sells, the thesis and the condition that would prove it wrong, and dated notes. Shows weights, gains and performance against the index. Replays five real crashes (2000, 2008, 2018, 2020, 2022) on today's weights. Reviews the user's own trading for habits such as selling winners too early and holding losers, averaging down, concentration, and theses never revisited. Before a trade, checks what a planned buy would do to position weight, sector weight and the loss at the stop, against limits the user sets, and works out how many shares fit. Use for "add 10 AAPL at 180", "can I afford to buy 50 NVDA", "how many shares should I buy", "check this trade", "set my risk limits", "I sold my Tesla", "show my portfolio", "how would my portfolio do in a crash", "stress test my holdings", "review my trades", "am I too concentrated" or "why do I own X". Built for US stocks; Borsa Istanbul works with --market BIST.
mercan700/claude-stock-trader-skills · ★ 1 · AI & Automation · score 64
Install: claude install-skill mercan700/claude-stock-trader-skills
# Portfolio The portfolio is stored in `portfolio.json` in the data folder on the user's computer. Only ticker symbols go out, to fetch prices. Prices are per share, in the stock's trading currency. Totals are in US dollars. ## Commands Run from this skill's folder: ``` python scripts/portfolio.py add AAPL 10 182.50 --date 2024-03-01 --thesis "services keep growing" --sell-if "services growth under 5%" python scripts/portfolio.py add THYAO 200 280 --market BIST python scripts/portfolio.py sell AAPL 5 240 --date 2025-06-02 --reason "position too large" python scripts/portfolio.py note AAPL "Q3 services +14%, thesis intact" python scripts/portfolio.py note AAPL --sell-if "services growth under 8% two quarters in a row" python scripts/portfolio.py show python scripts/portfolio.py stress python scripts/portfolio.py review python scripts/portfolio.py check NVDA 40 --stop 135 python scripts/portfolio.py check NVDA 40 150 --cash 20000 python scripts/portfolio.py limits --max-position 15 --max-sector 35 --max-risk 0.75 ``` ## Recording trades - Record a trade only when the user states it, with the number of shares, the price and the date. If any of the three is missing, ask; do not guess. Without `--date` the trade is recorded for today. - When adding a new position, ask the user for two sentences if they did not give them: why they own it (`--thesis`) and what would make them sell (`--sell-if`). The sell condition should be something that can be checked, like a number or an ev