clawdfoliolisted
Install: claude install-skill YichengYang-Ethan/clawdfolio
# Clawdfolio
Quantitative portfolio toolkit for professional investors. Multi-broker aggregation (Longport, Moomoo/Futu, demo), institutional risk analytics, options strategy lifecycle management, 20+ automated finance workflows, and CSV/JSON data export.
PyPI: `pip install clawdfolio`
Repo: https://github.com/YichengYang-Ethan/clawdfolio
Python: >= 3.10 | Tested: 3.10, 3.11, 3.12, 3.13
---
## CLI Commands
All commands support `--broker {longport,futu,demo,all}`, `--output {console,json}`, and `--config PATH`.
### Portfolio
```bash
clawdfolio summary # Portfolio overview (default command)
clawdfolio summary --top 20 # Show top 20 holdings
clawdfolio quotes AAPL MSFT # Real-time quotes
clawdfolio alerts # Price/RSI/PnL/concentration alerts
clawdfolio alerts --severity critical
```
### Risk Analysis
```bash
clawdfolio risk # Volatility, Beta, Sharpe, Sortino, VaR, CVaR, drawdown
clawdfolio risk --detailed # + RSI extremes, concentration, sector exposure, portfolio RSI
```
Risk metrics computed:
- **Volatility**: 20d, 60d, annualized
- **Beta**: vs SPY, vs QQQ
- **Sharpe Ratio**: annualized, excess return / total volatility
- **Sortino Ratio**: annualized, excess return / downside volatility only
- **VaR**: 95% and 99% (historical), absolute and percentage
- **CVaR / Expected Shortfall**: 95% and 99% — tail risk beyond VaR
- **Max Drawdown**: historical and current
- **HHI**: Herfindahl-Hirschman concentration ind