advanced-math-trading/optimization-advanced

Optimize trading performance under multi-objective and uncertainty constraints with advanced optimization techniques.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/keith-mvs/ordinis --skill advanced-math-trading-optimization-advanced
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: advanced-math-trading/optimization-advanced
Source: https://github.com/keith-mvs/ordinis/tree/main/docs/knowledge-base/domains/skills/advanced-math-trading/optimization-advanced
Command: npx skills add https://github.com/keith-mvs/ordinis --skill advanced-math-trading-optimization-advanced

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill covers online convex optimization, multi-objective optimization, DRO, MIP, and Bayesian optimization with links to core background.

Core Features & Use Cases

  • Online Convex Optimization: OGD/FTRL style methods
  • Multi-Objective & DRO: Pareto optimization and CVaR
  • MIP & Bayesian Opt: Mixed-integer programming and Bayesian hyperparameter tuning

Quick Start

Example: "Run a 2-objective NSGA-II optimization for portfolio allocation."

Frequently Asked Questions about advanced-math-trading/optimization-advanced

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

FAQPage Schema
How do I optimize a trading portfolio with multiple objectives like return, risk, and turnover?

Multi-objective optimization balances competing goals—return, risk, and turnover—using techniques like NSGA-II and Pareto optimization. This Skill applies those methods to adaptive portfolio management, letting you explore trade-off surfaces and select strategies aligned with your constraints.

Can I use CVaR and distributional robust optimization for tail-risk protection in trading?

Yes. Distributional robust optimization (DRO) with CVaR protects against tail events by optimizing under uncertainty without assuming a fixed distribution. This Skill uses cvxpy and moment-DRO methods to build portfolios robust to worst-case scenarios within an ambiguity set.

What's the best way to handle combinatorial constraints like position limits in portfolio optimization?

Mixed-integer programming (MIP) encodes discrete decisions—position counts, buy/sell triggers, cardinality constraints—directly into the optimization model. This Skill integrates MIP via Gurobi to solve portfolio problems with hard combinatorial requirements that continuous methods cannot address.

How do I tune hyperparameters for trading strategies using Bayesian optimization?

Bayesian optimization iteratively samples the hyperparameter space, building a probabilistic model to identify promising regions with fewer evaluations than grid search. This Skill provides Bayesian tuning to adaptively find optimal strategy parameters, reducing computation while improving performance.

Does this support online convex optimization methods like OGD and FTRL for streaming trading data?

Yes. Online convex optimization (OGD, FTRL) updates portfolio weights incrementally as new data arrives, avoiding full recomputation. This Skill implements these methods for adaptive strategies that respond to live market streams without batch reprocessing.

What background do I need before using advanced optimization for portfolio management?

Familiarity with convex optimization, Markowitz portfolio theory, and Black-Litterman models is helpful. This Skill links to those foundations and provides modular, load-on-demand components, so you can build up knowledge as you apply techniques to your trading problem.