asset-allocation

Generate asset allocation weights using MPT, Black-Litterman, and risk budgeting optimizers.

6.1k|1.2k|Updated Jun 9, 2022
One-click install
npx skills add https://github.com/charliedream1/ai_quant_trade --skill asset-allocation-charliedream1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: asset-allocation
Source: https://github.com/charliedream1/ai_quant_trade/tree/main/a_%E5%85%A8%E7%BD%91%E4%BC%98%E7%A7%80%E8%B5%84%E6%BA%90/10_%E5%A4%A7%E6%A8%A1%E5%9E%8B/07_skill%E5%8C%85/vibe_trading_skills/asset-allocation
Command: npx skills add https://github.com/charliedream1/ai_quant_trade --skill asset-allocation-charliedream1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Asset allocation theory and practical optimization help users build robust, diversified portfolios with explicit risk controls and clear allocation targets.

Core Features & Use Cases

  • Modern portfolio theory (MPT) and Black-Litterman based weight generation for diversified asset allocation.
  • Risk budgeting and all-weather frameworks to balance risk contributions across assets and scenarios.
  • Rebalancing and constraint handling via built-in optimizer configurations and lookback-based risk estimates.
  • Use Case: Build multi-asset portfolios with predefined risk targets and automatically generate target weights for periodic rebalances.

Quick Start

Configure the optimizer and lookback window in config.json, then run the allocation to generate weights.

Frequently Asked Questions about asset-allocation

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

FAQPage Schema
How do I optimize portfolio allocation using modern portfolio theory and Black-Litterman?

Portfolio allocation applies modern portfolio theory and Black-Litterman frameworks to generate diversified asset weights. It combines these theories with built-in optimizers to construct portfolios with explicit risk controls and clear allocation targets.

What is the best way to rebalance a multi-asset portfolio with risk budgeting constraints?

Portfolio rebalancing with risk budgeting balances risk contributions across assets using built-in optimizer configurations. It generates target weights for periodic rebalances by applying lookback-based risk estimates and optional constraints across asset classes.

Can I use risk parity and equal volatility optimizers for all-weather portfolio construction?

Risk parity and equal volatility are supported optimizers for all-weather portfolio construction. These frameworks balance risk contributions across assets and scenarios, allowing you to build robust portfolios with predefined risk targets.

How do I configure mean variance and max diversification optimizers for asset allocation?

Mean variance and max diversification optimizers are configured through a config.json file. You define the optimizer type and lookback window in the configuration, then run the allocation to output target weights and risk metrics.

Does portfolio optimization require lookback-based risk estimates for multi-asset portfolios?

Lookback-based risk estimates are required for generating target weights in multi-asset portfolios. The optimization process uses these estimates alongside your configured optimizer to calculate asset weights and output risk metrics.

What risk metrics and weights does the asset allocation optimizer output after processing?

The asset allocation optimizer outputs target weights and risk metrics after processing. Results are generated based on your config.json settings, applying frameworks like risk budgeting and modern portfolio theory to your multi-asset portfolio.