portfoliolisted
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