تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

riskofficer

بواسطة mib424242

iOS & macOS Development
2.3kالتنزيلات وفق ما يذكره clawskills.sh
3النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Manage investment portfolios, calculate risk metrics.

الوصف

ما الذي تفعله هذه المهارة

Connects to the RiskOfficer API to manage investment portfolios and run financial risk analysis. Supports VaR (historical, parametric, GARCH), Monte Carlo simulation, stress testing against historical crises, and portfolio optimization via Risk Parity, Calmar ratio, and Black-Litterman. Also handles ticker search, broker sync, pre-trade checks, and cross-portfolio PnL correlation.

Combines ticker validation, portfolio CRUD, async risk calculations, and multi-method optimization in one API-connected skill, removing the need to run separate quant scripts or manually switch between tools.

متى تستخدمها

  • Calculate 1-day 95% VaR for a stock portfolio before rebalancing
  • Stress test holdings against the 2008 financial crisis or COVID-19 scenario
  • Optimize portfolio weights using Black-Litterman with custom return views per ticker
  • Run a pre-trade check to catch sector concentration or VaR limit violations before executing
  • Measure PnL correlation across multiple brokerage sub-portfolios under normal and crisis regimes

مثال على سير العمل

الإدخال

User asks: What is the 1-day 95% VaR for my main portfolio?

الوكيل
  1. 1

    Lists portfolios via GET /portfolios/list to identify the target snapshot ID

  2. 2

    Posts a VaR calculation request with method 'historical' and confidence 0.95

  3. 3

    Polls GET /risk/calculation/{id} every 2-3 seconds until status is 'done'

  4. 4

    Presents VaR, CVaR, Sharpe ratio, and per-position risk contributions

الإخراج

1-day 95% VaR: 3.2% ($32,000 on a $1M portfolio). CVaR: 4.8%. Sharpe ratio: 1.31. Top risk contributor: SBER at 38% of total portfolio risk.

المتطلبات

  • RISK_OFFICER_TOKEN environment variable (generated in RiskOfficer app under Settings → API Keys)
  • RiskOfficer account at riskofficer.tech

التثبيت

clawhub install mib424242/riskofficer

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط