risk-and-portfolio

Automate risk management, portfolio allocation, and performance tracking for trading portfolios.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Tradecraft --skill risk-and-portfolio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: risk-and-portfolio
Source: https://github.com/mahmoud20138/Tradecraft/tree/main/plugins/tradecraft/skills/risk-and-portfolio
Command: npx skills add https://github.com/mahmoud20138/Tradecraft --skill risk-and-portfolio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Consolidates risk management, portfolio construction, performance tracking, and tail-risk hedging into a single, auditable framework to reduce reckless trading and improve capital efficiency.

Core Features & Use Cases

  • Risk management: position sizing, stop rules, drawdown controls, and psychology coaching.
  • Portfolio allocation: optimization (Markowitz, Black-Litterman), basket trading, and multi-asset strategy support.
  • Trade journaling & analytics: performance metrics, equity curves, and P&L attribution across strategies.

Quick Start

Configure risk limits for a 100k account and run a 12-month Monte Carlo stress test.

Frequently Asked Questions about risk-and-portfolio

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

FAQPage Schema
How do I automate risk management and position sizing for a multi-asset trading portfolio?

Portfolio allocation supports optimization models like Markowitz and Black-Litterman, enabling basket trading and multi-asset strategy support. This allows you to balance risk and return across diverse asset classes systematically.

Can I run Monte Carlo stress testing and backtesting on my trading strategies?

Yes, the framework operates in both live and backtested environments. It enables consistent risk checks and performance tracking across multiple strategies simultaneously, providing equity curves and P&L attribution.

What is the best way to track drawdown rules and tail-risk hedging across trading strategies?

Performance tracking includes calculating performance metrics, generating equity curves, and providing P&L attribution across strategies. It integrates with trade journaling and analytics to maintain a comprehensive record.

Does this portfolio risk framework require specific dependencies or platforms to run?

Limitations involve the complexity of configuring holistic risk controls. You must accurately define parameters for position sizing, drawdown limits, and Black-Litterman allocation models to ensure the Monte Carlo stress testing produces meaningful results.