asset-allocation

Compute optimal portfolio weights using mean-variance optimization and Black-Litterman models.

164|33|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/JoelLewis/finance_skills --skill asset-allocation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: asset-allocation
Source: https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/asset-allocation
Command: npx skills add https://github.com/JoelLewis/finance_skills --skill asset-allocation

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps users determine the optimal distribution of capital across various asset classes to meet their investment goals, balancing risk and return.

Core Features & Use Cases

  • Strategic Asset Allocation (SAA): Define long-term investment targets based on risk tolerance and objectives.
  • Tactical Asset Allocation (TAA): Make short-to-medium-term adjustments based on market views.
  • Optimization Models: Utilize Mean-Variance Optimization (MVO) and Black-Litterman to find efficient portfolios.
  • Risk Parity: Equalize risk contributions from each asset class.
  • Glide Paths: Create age-based or time-based allocation shifts for lifecycle investing.
  • Use Case: A user wants to understand how to split their retirement savings between stocks, bonds, and alternatives, considering their risk tolerance and time horizon. This Skill can provide a recommended allocation and explain the rationale.

Quick Start

Use the asset-allocation skill to determine optimal portfolio weights for US Equity, International Equity, and Bonds given their expected returns and covariance matrix.

Frequently Asked Questions about asset-allocation

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

FAQPage Schema
How do I calculate optimal portfolio weights using mean-variance optimization?

Mean-variance optimization calculates optimal portfolio weights by balancing expected returns against the covariance matrix of assets. This Skill uses numpy and scipy scripts to compute efficient capital distribution for risk-adjusted returns.

What is the Black-Litterman model for asset allocation?

The Black-Litterman model combines market equilibrium returns with investor views to generate stable, optimal portfolio weights. This Skill provides frameworks to apply this methodology for tactical and strategic asset allocation.

How do I implement risk parity for equalizing risk across asset classes?

Implementing risk parity involves calculating asset weights so each class contributes equally to total portfolio risk. This Skill provides statistical analysis scripts to equalize risk contributions across various investments.

Can I create a glide path for lifecycle investing using Python?

Yes, you can create a glide path for lifecycle investing using Python with this Skill. It provides frameworks to model age-based or time-based allocation shifts for long-term retirement planning scenarios.

Do I need numpy and scipy to run these portfolio construction scripts?

Yes, you need numpy and scipy to run the portfolio construction scripts in this Skill. These dependencies provide the statistical analysis and mathematical optimization computations required for asset allocation.

When should I use tactical asset allocation versus strategic asset allocation?

Use strategic asset allocation for long-term targets based on risk tolerance, and tactical asset allocation for short-to-medium-term market view adjustments. This Skill provides frameworks to determine optimal capital distribution for both approaches.