본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트81k · #1673

trader-risk

하는 일

이 스킬은 사용자가 제공한 일일 수익률로 가치위험, 기대손실, 낙폭 같은 위험 수치를 계산합니다. 포트폴리오가 얼마나 잃을 수 있는지 이해하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓내 과거 수익률로 만든 포트폴리오의 위험 수치가 필요할 때.
  • ✓매매 규칙의 서킷 브레이커 한도를 확인하고 싶을 때.
  • ✓결정을 내리기 전에 포지션 크기를 이해하고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-neural-trader/skills/trader-risk/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-neural-trader/skills/trader-risk/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 일일 수익률로 10만 달러 포트폴리오의 가치위험과 낙폭을 계산해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 제공된 일일 수익률에 neural-trader 위험 명령을 실행하고, 가치위험, 기대손실, 낙폭을 보고합니다. 수익률이 없으면 도구가 내장된 데모 샘플을 쓰는데, 이 스킬은 그것이 실제 측정값이 아니라고 말합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Assess portfolio and position risk using neural-trader's risk engine.

Steps:

  1. Ensure neural-trader is available: npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader
  2. Run risk assessment:
    # VaR, CVaR and drawdown from a returns series YOU supply (daily returns as decimals)
    npx neural-trader --risk assess --returns 0.01,-0.005,0.012,-0.02 --portfolio-value 100000 --confidence-level 0.95 --method historical
    
    --risk assess computes from --returns only. --symbol and --portfolio are ignored, and with no --returns it uses a built-in 7-value sample (inputs.returnsCount: 7), which is a demo, not a risk read on anything. Derive the returns from real bars first (a --backtest --live run with dataSource: "yahoo-finance", or the user's own history). --var, --correlation, --risk-tolerance and --position-sizing as standalone flags are rejected by the CLI ("Unknown command").
  3. Position sizing: Kelly sizing exists only inside a backtest (--backtest ... --position-sizing kelly). For a standalone figure, compute it from the win rate and payoff in the backtest output and state the assumptions; do not present it as an instruction to trade.
  4. 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%)
  5. Present: risk metrics, position sizing recommendation, active breakers, alerts
  6. Store assessment: mcp__plugin_ruflo-core_ruflo__memory_store({ key: "risk-TICKER-DATE", value: "RISK_METRICS", namespace: "trading-risk" })
자주 묻는 질문

어떤 수익률을 넣어야 하나요?

실제 시장 데이터나 내 과거 기록에서 얻은 소수 형태의 일일 수익률을 넣어야 합니다. 내장 샘플은 데모일 뿐입니다.

포지션 크기도 정해 주나요?

단독 포지션 크기 계산은 추정치일 뿐입니다. 원본은 이를 매매 지시로 제시하지 말라고 합니다.

어떤 한도를 확인하나요?

원본에 정해진 규칙에 따라 손실 한도, 상관관계 급등, 변동성 국면, 포지션 수를 확인합니다.

상세 정보

작성자의 원본 설명

Assess portfolio risk using npx neural-trader — VaR, CVaR, Sharpe, position sizing, circuit breaker status

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1673
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬