portfolio-optimizer

Optimize strategy allocations and parameters under risk constraints across multiple windows.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/wrensignal/wrenOS --skill portfolio-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: portfolio-optimizer
Source: https://github.com/wrensignal/wrenOS/tree/main/packs/core-skills-pack/portfolio-optimizer
Command: npx skills add https://github.com/wrensignal/wrenOS --skill portfolio-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Portfolio-optimizer solves the challenge of tuning strategy parameters and allocating capital under defined risk constraints, delivering an actionable frontier and clear operator guidance.

Core Features & Use Cases

  • Parameter tuning across strategies and multiple windows (7d, 30d, 90d) to discover optimal settings.
  • Allocation weight optimization enforcing max/min weights, concentration limits, and turnover caps.
  • Regime-aware rebalancing guidance that adapts allocations based on risk-on/risk-off/neutral regimes.
  • Outputs include recommended weights, tuned parameters, and a frontier of risk/return tradeoffs for review.

Quick Start

Provide the universe of strategies and risk limits, then run the optimizer to receive a frontier and recommended allocations.

Frequently Asked Questions about portfolio-optimizer

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

FAQPage Schema
How do I optimize portfolio allocations under predefined risk constraints?

Portfolio optimization under risk constraints requires identifying optimal strategy allocations across multiple windows like 7d, 30d, and 90d, then generating a frontier of risk/return tradeoffs with final recommended weights that respect concentration limits and turnover caps.

What is regime-aware rebalancing and how does it adjust portfolio allocations?

Regime-aware rebalancing adapts portfolio allocation weights based on risk-on, risk-off, or neutral regime signals, applying tuned parameters across multiple windows to generate recommended allocations that align with current market conditions.

How do I tune strategy parameters across multiple time windows for portfolio optimization?

Tuning strategy parameters across multiple time windows involves applying the optimizer across 7d, 30d, and 90d windows to discover optimal settings, then producing a frontier of risk/return tradeoffs with confidence scores and recommended weights.

Can I enforce max/min weight limits and turnover caps during portfolio rebalancing?

Max/min weight limits, concentration limits, and turnover caps can be enforced during portfolio rebalancing through predefined risk constraints, while deterministic fallback policies and parameter bounds ensure safety rules are respected.

What's the best way to generate an efficient frontier for a universe of trading strategies?

Generating an efficient frontier for a universe of strategies requires running the optimizer across multiple windows and regime signals to produce risk/return tradeoffs, recommended weights, tuned parameters, and confidence metrics in a structured JSON-like payload.

Does the portfolio optimizer apply safety rules and deterministic fallback policies?

The portfolio optimizer enforces safety rules and deterministic fallback policies via published contracts like parameter-bounds and fallback-policy, ensuring constraints are respected and producing outputs with frontier, confidence, and generated_at fields.