risk-management

Manage portfolio-level risk controls for crypto trading with Python scripts.

266|54|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/agiprolabs/claude-trading-skills --skill risk-management-agiprolabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: risk-management
Source: https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/risk-management
Command: npx skills add https://github.com/agiprolabs/claude-trading-skills --skill risk-management-agiprolabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides essential tools and frameworks to manage portfolio-level risk, prevent catastrophic drawdowns, and enforce trading discipline.

Core Features & Use Cases

  • Drawdown Control: Implements maximum drawdown limits, daily/weekly loss limits, and position concentration rules.
  • Circuit Breakers: Automates trading halts based on volatility, consecutive losses, or system failures.
  • Use Case: Automatically halt new trades if the portfolio experiences a 15% drawdown from its peak, ensuring capital preservation during adverse market conditions.

Quick Start

Use the risk-management skill to analyze the current portfolio drawdown and recommend actions.

Frequently Asked Questions about risk-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement circuit breakers to halt crypto trading during excessive drawdowns?

Circuit breakers automate trading halts based on volatility, consecutive losses, or system failures. You can automatically halt new trades if the portfolio experiences a 15% drawdown from its peak to preserve capital during adverse market conditions.

What is portfolio-level risk management and how does it control trading exposure?

Portfolio-level risk management controls trading exposure by enforcing maximum drawdown limits, daily and weekly loss limits, alongside position concentration rules to maintain discipline and prevent catastrophic capital depletion.

How do I calculate VaR and Expected Shortfall for my crypto trading portfolio?

You calculate VaR and Expected Shortfall using the included Python scripts and numpy dependency. These scripts facilitate dashboarding and analysis of equity curves to quantify portfolio risk metrics.

Can I use numpy to enforce hierarchical risk priorities and exposure limits?

Yes, the framework utilizes numpy to implement hierarchical risk priorities and specific exposure limits. This structure ensures automated responses to market volatility or trading performance degradation are mathematically enforced.

What are the limitations of automated circuit breakers for crypto trading risk management?

Automated circuit breakers focus strictly on system failures, consecutive losses, and volatility. They enforce capital preservation rules but require predefined threshold configurations and do not predict sudden black swan market events outside their programmed limits.

Does this risk management approach support position concentration rules for crypto assets?

Yes, this risk management approach specifically supports position concentration rules for crypto assets. It implements specific limits for position concentration to prevent overexposure within your portfolio hierarchy.