Skip to Content

Connect Portfolio Optimizer to Your AI Agent

Supply asset data and ask AI to compare weighting methods.

6 toolsAPI key

20,000 free app calls every month(paid services billed separately)

Try a Portfolio Optimizer Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo SkillPortfolio Optimizer

Compare risk-based allocations

Compare equal weights with inverse volatility and minimum variance allocations.

/oo Portfolio Optimizer: Using my asset volatilities [values] and covariance matrix [matrix], compare equal, inverse volatility and minimum variance allocations. Keep the asset order and express the resulting weights as percentages.

Start Working with Portfolio Optimizer

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Portfolio Optimizer

    Connect your Portfolio Optimizer API key.

    Connect Portfolio Optimizer→
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →
  • A Portfolio Optimizer API key.
  • Asset statistics or market capitalization data for the chosen method.
  • Obtain a key using the instructions at https://docs.portfoliooptimizer.io/#overview--api-key.
  • Connecting runs a two-asset equal-weight calculation.

Portfolio Optimizer Tools

Compute equal, inverse variance, inverse volatility, market capitalization, equal risk contribution and minimum variance allocations. Results contain weights in the same asset order as the input.

Portfolio weights

Calculate six allocation methods, including constrained minimum variance and equal risk contributions.

6 tools

Equal Weighted

Compute equal portfolio weights for the requested number of assets.

portfolio_optimizer.equal_weighted

Inverse Variance Weighted

Compute portfolio weights inversely proportional to asset variances.

portfolio_optimizer.inverse_variance_weighted

Inverse Volatility Weighted

Compute portfolio weights inversely proportional to asset volatilities.

portfolio_optimizer.inverse_volatility_weighted

Market Capitalization Weighted

Compute portfolio weights proportional to asset market capitalizations.

portfolio_optimizer.market_capitalization_weighted

Equal Risk Contributions

Compute equal risk contribution portfolio weights with optional asset weight constraints.

portfolio_optimizer.equal_risk_contributions

Minimum Variance

Compute minimum variance portfolio weights with optional asset, group and exposure constraints.

portfolio_optimizer.minimum_variance

Frequently Asked Questions

What does a weight of 0.5 mean?

Weights are fractions: 0.5 means 50%. Asset order matches the input.

Do I need to specify the asset count?

Only for equal weighting. Other methods infer it from the primary input array or covariance matrix when omitted.

Does this place trades?

These actions calculate weights only. They do not submit orders or modify holdings.