public class PortfolioOptimizationBacktestDemo extends Object
Using this example. Evaluates a portfolio optimizer over historical windows rather than computing one static allocation. Read the configured estimation, rebalancing and simulation periods together. Training inputs must be available before the corresponding rebalance decision.
Model and publication. Related theory and the scope of this example are distinguished below.
Implementation in this tutorial. A rolling backtest separates estimated weights from realized returns after rebalancing. Follow the data-window and rebalance callbacks to see when each estimate is available. Transaction and turnover conventions belong to the simulation, not the static mean–variance equations.
| Constructor and Description |
|---|
PortfolioOptimizationBacktestDemo() |
public static void main(String[] args)
Copyright © 2026. All rights reserved.