About trader-risk
A skill for assessing position and portfolio risk with neural-trader, including risk metrics, position sizing, and circuit-breaker checks. It helps organize risk findings and save assessments for later reference.
Key features
- 01Assess risk for positions and portfolios
- 02Calculate VaR and correlations
- 03Recommend position sizing
- 04Check circuit breakers and alerts
- 05Store risk assessments
Use cases
- 01Review risk for a single position
- 02Check portfolio correlation and concentration
- 03Calculate position sizing before a trade
- 04Save risk metrics for later reference
MCP support
Uses the Ruflo memory store tool to save risk assessments in the trading-risk namespace.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ ruvnet/ ruflo --skill trader-riskAfter installing, type/trader-riskin Claude Code to confirm it loaded.
Details
From the project READMEAssess portfolio and position risk using neural-trader's risk engine.
Steps:
- Ensure neural-trader is available:
npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader - Run risk assessment:
# Single position npx neural-trader --risk assess --symbol TICKER npx neural-trader --var --symbol TICKER --investment 10000 # Portfolio-wide npx neural-trader --risk assess --portfolio NAME npx neural-trader --correlation --portfolio NAME --flag-threshold 0.8 - Calculate position sizing:
npx neural-trader --risk-tolerance 0.02 --symbol TICKER npx neural-trader --position-sizing kelly --symbol TICKER - Check circuit breaker status:
- Daily loss limit (3%), weekly loss limit (5%)
- Correlation spike (>0.85), volatility regime (VIX > 2x)
- Max positions, single-name concentration (>10%)
- Present: risk metrics, position sizing recommendation, active breakers, alerts
- Store assessment:
mcp__plugin_ruflo-core_ruflo__memory_store({ key: "risk-TICKER-DATE", value: "RISK_METRICS", namespace: "trading-risk" })
Comments
Markdown supported