Meta learning online portfolio optimization for regime-adaptive high-frequency futures returns

Research Article
Open access

Meta learning online portfolio optimization for regime-adaptive high-frequency futures returns

Yixuan Liu 1*
  • 1 The Australian National University    
  • *corresponding author 2548250552@qq.com
Published on 28 October 2025 | https://doi.org/10.54254/3029-0880/2025.28890
AORPM Vol.4 Issue 2
ISSN (Print): 3029-0880
ISSN (Online): 3029-0899

Abstract

The high-frequency futures market exhibits high volatility and frequent institutional changes, which poses significant challenges for portfolio optimization. Traditional techniques such as the mean-variance model and risk equalization tend to show decreased returns and increased risks in such non-stationary markets. To address this challenge, an online portfolio optimization framework based on meta-learning was proposed. This framework incorporates cross-market and cross-period experiences into parameter adjustments, enabling it to quickly adapt to new institutional environments. Minute-level futures data from the Chicago Mercantile Exchange, New York Mercantile Exchange, and Shanghai Futures Exchange from 2019 to 2024 were used, and the market states were labeled using the Markov switching model through the rolling window method. Comparative experiments were conducted with mean-variance optimization, risk equalization, and deep reinforcement learning benchmarks. Empirical results show that the proposed framework outperforms the benchmarks in terms of excess returns, Sharpe ratio, and maximum drawdown in most cases, and has a faster convergence speed and stronger generalization ability in high-volatility institutional environments. The conclusion drawn from these results is that meta-learning is an effective method for solving portfolio optimization problems in non-stationary markets, providing theoretical support and empirical contributions for high-frequency quantitative trading and asset pricing research.

Keywords:

meta learning, online portfolio optimization, high-frequency futures returns, regime switching, machine learning

Liu,Y. (2025). Meta learning online portfolio optimization for regime-adaptive high-frequency futures returns. Advances in Operation Research and Production Management,4(2),64-68.
Export citation

1. Introduction

The high-frequency futures market possesses its own strong liquidity, high volatility, and rapid trading rhythm, and has always been a major focus of quantitative investment and financial engineering research. However, continuous institutional adjustments, non-stationarity of price sequences, and complex microstructure dynamic factors have made traditional portfolio optimization techniques difficult to operate stably [1]. Traditional frameworks, such as the mean-variance theory and its extensions, demonstrated stability in long-term investment and low-frequency markets, but often encounter parameter estimation errors and unstable covariance matrices in high-frequency trading, resulting in inefficient portfolio allocation. Due to the rapid development of machine learning and deep learning technologies, researchers attempt to apply nonlinear modeling and automatic feature learning to capture market dynamics. However, when rapid institutional adjustments occur, the convergence speed of these techniques remains slow, and there is a serious overfitting problem [2]. This paper initially proposed an online portfolio optimization framework based on meta-learning, aiming to achieve higher return rates and stricter risk control in environments with pattern changes.

2. Literature review

2.1. Portfolio optimization and statistical learning methods

The traditional mean-variance framework, as a typical model for portfolio optimization, has always dominated in terms of risk/return trade-off. However, when dealing with high-frequency data environments, it clearly has limitations [3]. To address these issues, scholars began to introduce sparse modeling and high-dimensional inference from statistical methods to avoid the instability of the covariance matrix and the problem of dimensionality explosion, thereby improving robustness and computational speed [4]. Nevertheless, they still cannot effectively cope with the rapid changes and short-term fluctuations in the market, which means that relying solely on statistical learning to handle high-frequency futures business is limited.

2.2. Machine learning and deep learning applications in financial prediction

In the past few years, machine learning and deep learning technologies have been increasingly applied in the field of portfolio optimization. Convolutional neural networks and recurrent neural networks are used to learn the nonlinear and time-varying patterns of returns and volatility, and to enhance financial prediction capabilities [5]. Reinforcement learning methods can achieve interactive adjustments of portfolio allocation and show the potential for adaptive risk-return optimal adjustments [6]. However, these methods usually rely on large-scale training data and are highly sensitive to stationary distributions [7].

2.3. Advances in meta-learning and adaptive modeling

The basic principle of meta-learning is to utilize cross-task experience to achieve rapid adaptation to new tasks. Starting from fields such as computer vision and natural language processing, meta-learning has been proven to have significant advantages in scenarios with a small number of samples and across domains [8]. When applied to the financial field, the meta-learning framework can regard past institutional changes as training tasks, enabling the model to adapt quickly to new market institutions and thus avoiding the distribution-dependent problems present in traditional methods [9].

3. Experimental methods

3.1. Data sources and preprocessing

This study collects high-frequency futures market data from January 2019 to December 2024, covering major exchanges including the New York Mercantile Exchange (NYMEX), the Chicago Mercantile Exchange (CME), and the Shanghai Futures Exchange (SHFE). The data are sampled at a 1-minute frequency and include open, close, high, low prices, trading volume, and open interest, along with engineered features such as Volume-Weighted Average Price (VWAP), bid-ask spreads, and volatility measures. The data are obtained from publicly available sources such as the Wind Financial Database, Quandl, and official APIs provided by the exchanges, restricted to market quotation information only and excluding specific trading rules or contract details. After acquisition, preprocessing steps include missing value imputation, anomaly detection, alignment to Coordinated Universal Time (UTC), and normalization with first-order differencing to mitigate non-stationarity and scale disparities [10]. Table 1 summarizes the collection range and sources of the dataset.

Table 1. High-frequency futures data collection scope and sources

Market

Frequency

Content

Source & Access

CME

1-min

OHLC, Volume, OI

Wind, API

NYMEX

1-min

OHLC, Tick data

Quandl, API

SHFE

1-min

OHLC, VWAP, Spread

Exchange Website

3.2. Model design and optimization framework

A gradient-based meta-learning framework is adopted, in which portfolio optimization is formulated as a cross-task rapid adaptation problem [11]. The base layer consists of a time-series forecasting module and a weight allocation module, with inner-loop updates performed through task-specific loss minimization, and outer-loop optimization aggregating experiences across tasks to refine meta-parameters. For a given task  Ti, the loss function is defined as expressed in equation (1):

LTi(θ)=1nt=1n(fθ(xt),yt)(1)

As shown in equation (1), the loss  LTi(θ) measures the average prediction error of the model  fθ on inputs  xt  with true returns  yt, using a loss function  ()  such as mean squared error or log-loss. The parameter vector  θ represents the learnable weights of the base model, and  ndenotes the number of observations in task  Ti.

Across multiple tasks, the outer-loop optimization of meta-parameters is carried out as expressed in equation (2):

θ=argminθi=1mLTi(θαθLTi(θ))(2)

As shown in equation (2), the update rule combines the learning rate α  with task-specific gradients  θLTi(θ), and the summation is taken across all m tasks. The optimized parameter  θ  represents the meta-knowledge learned from multiple regimes, enabling rapid adaptation of portfolio weights to new market conditions. This structure accelerates convergence, reduces sensitivity to regime shifts, and enhances cross-market generalization performance.

3.3. Experimental setup and baseline comparisons

The experiments employ a rolling-window and online learning strategy to evaluate regime adaptivity under dynamic markets. Specifically, each 60-day trading window is used for training, followed by a 10-day testing window, with meta-parameters updated continuously during the rolling process. Regime states are identified using a Markov switching model, distinguishing between high-volatility and low-volatility regimes to simulate realistic market transitions. Baseline methods include classical mean-variance optimization, risk parity, and deep reinforcement learning-based portfolio strategies, all tested on the same datasets with identical evaluation criteria. Performance metrics include excess returns, Sharpe ratio, maximum drawdown, and Calmar ratio, ensuring comprehensive assessment of risk-return trade-offs.

4. Results

4.1. Return performance and risk control

The experimental results indicate that the meta-learning-based portfolio optimization framework delivers significant improvements in returns and risk control across multiple high-frequency futures markets. In the NYMEX crude oil futures tests, the method achieved an average annualized excess return of 12.8% during the 2019-2024 sample period, which is substantially higher than the 6.3% produced by the mean-variance model and the 9.1% achieved by the deep reinforcement learning benchmark. In terms of risk-adjusted returns, the Sharpe ratio increased from 0.94 for the mean-variance model to 1.47 for the proposed framework, while maximum drawdown was limited to –8.2%, a clear improvement compared with –13.6% for risk parity and –11.5% for reinforcement learning. In CME index futures, the framework produced a Sharpe ratio of 1.39 and an excess return of 11.6%, both superior to traditional benchmarks. Notably, during the highly volatile 2020 pandemic phase, maximum drawdown did not exceed –9%, a much smaller decline relative to competing methods. Overall, the results demonstrate that the framework not only enhances return levels in stable markets but also effectively constrains risk exposure in periods of heightened volatility, highlighting both stability and robustness under regime shifts. These quantitative findings confirm the effectiveness of incorporating meta-learning mechanisms to improve the risk-return profile of high-frequency portfolio strategies.

4.2. Regime adaptivity and generalization

To evaluate regime adaptivity, a Markov switching model was applied to label market states as high-volatility and low-volatility. In the NYMEX crude oil futures data, a total of 42 regime shifts were identified. During high-volatility periods, the proposed framework maintained an average Sharpe ratio of 1.31, while the deep reinforcement learning benchmark dropped to 0.97 and the mean-variance model further decreased to 0.74. For cross-market generalization, a model trained on CME index futures was transferred to SHFE copper futures. The transferred model achieved an annualized excess return of 9.7%, outperforming traditional statistical models retrained locally, which achieved only 6.8%. In the early stages of regime shifts, the meta-learning framework required only 3 update cycles within the first 10 trading days to reach convergence, compared to more than 7 cycles for reinforcement learning, demonstrating significantly faster responsiveness. To visualize regime adaptivity, Figure 1 presents the comparison of average Sharpe ratios under different regimes. The figure clearly shows that the meta-learning framework outperforms both benchmarks in both regimes, with the performance gap especially pronounced during high-volatility periods.

图片
Figure 1. Comparison of Sharpe ratios for different methods under different system switches

5. Discussion

The experimental results show that our asset portfolio optimization framework based on meta-learning can achieve stable and high returns and risk performance in different market environments, and demonstrates significant advantages in coping with the instability of high-frequency futures markets. From a financial perspective, this framework can quickly adjust its investment portfolio weights to outperform the mean-variance and risk parity methods that typically experience a decline in returns and an increase in risk during market environment changes. It is noteworthy that even in highly volatile situations, this framework can achieve a high Sharpe ratio and a low drawdown. From a computational perspective, the cross-task update of meta-parameters helps to converge quickly in new environments and significantly improves the adaptation speed and generalization ability, while deep reinforcement learning requires a large amount of training. However, there are still some limitations, such as higher computational costs when setting in ultra-high-frequency environments and a high dependence on feature engineering and preprocessing. Future research can include incorporating microstructure features into the model and using distributed computing to reduce delays in real-time trading, thereby improving the practicality of high-frequency real-time trading applications.

6. Conclusion

This study proposes an online portfolio optimization framework based on meta-learning and conducts empirical verification in the high-frequency futures market. The empirical results show that this framework outperforms traditional statistical models and deep reinforcement learning in terms of return performance, risk control, and adaptability to market conditions. It can effectively reduce the risk exposure when encountering shock volatility, and achieve stable performance transfer across markets. These empirical results indicate that meta-learning is not only an innovative modeling framework for portfolio optimization but also an effective tool for dealing with non-stationary market environments. The greatest contribution lies in integrating the most advanced computational methods with financial practice, thereby further expanding the research scope of high-frequency quantitative trading.


References

[1]. Shen, J., Liu, J., & Chen, Z. (2025). Meta-Learning the Optimal Mixture of Strategies for Online Portfolio Selection.  arXiv Preprint arXiv: 2505.03659.

[2]. He, J., et al. (2025). Reinforcement-Learning Portfolio Allocation with Dynamic Embedding of Market Information. arXiv Preprint arXiv: 2501.17992.

[3]. Niu, H., Li, S., & Li, J. (2022). MetaTrader: A reinforcement learning approach integrating diverse policies for portfolio optimization. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management.

[4]. Zhang, Y., et al. (2024). Combined peak price tracking strategies for online portfolio selection based on the meta-algorithm.Journal of the Operational Research Society, 75(10), 2032–2051.

[5]. Zhang, J., & Xie, J. (2025). Adaptive portfolio optimization via ppo-her: A reinforcement learning framework for non-stationary markets.Journal of Global Trends in Social Science, 2(4).

[6]. Ayari, S., & Hayette, G. (2025). A meta-analysis of supervised and unsupervised machine learning algorithms and their application to active portfolio management.Expert Systems with Applications, 271, 126611.

[7]. Kato, M., et al. (2024). Bayesian portfolio optimization by predictive synthesis. In 2024 16th IIAI International Congress on Advanced Applied Informatics (IIAI-AAI) (pp. 1–6). IEEE.

[8]. Jeon, J., et al. (2024). Frequant: A reinforcement-learning based adaptive portfolio optimization with multi-frequency decomposition. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining.

[9]. Yamim, J. D. M., Borges, C. C. H., & Fonseca Neto, R. (2023). Portfolio optimization via online gradient descent and risk control.Computational Economics, 62(1), 361–381.

[10]. Kolomeytsev, Y. (2021). Meta Algorithms for Portfolio Optimization Using Reinforcement Learning. In International Conference on Optimization and Applications (pp. 1–12). Springer International Publishing.

[11]. Ha, M. H., Chi, S. G., Lee, S., Cha, Y., & Byung-Ro, M. (2021). Evolutionary meta reinforcement learning for portfolio optimization. In Proceedings of the Genetic and Evolutionary Computation Conference (pp. 964–972).


Cite this article

Liu,Y. (2025). Meta learning online portfolio optimization for regime-adaptive high-frequency futures returns. Advances in Operation Research and Production Management,4(2),64-68.

Data availability

The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.

Disclaimer/Publisher's Note

The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of EWA Publishing and/or the editor(s). EWA Publishing and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

About volume

Journal:Advances in Operation Research and Production Management

Volume number: Vol.4
Issue number: Issue 2
ISSN:3029-0880(Print) / 3029-0899(Online)

© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license. Authors who publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See Open access policy for details).

References

[1]. Shen, J., Liu, J., & Chen, Z. (2025). Meta-Learning the Optimal Mixture of Strategies for Online Portfolio Selection.  arXiv Preprint arXiv: 2505.03659.

[2]. He, J., et al. (2025). Reinforcement-Learning Portfolio Allocation with Dynamic Embedding of Market Information. arXiv Preprint arXiv: 2501.17992.

[3]. Niu, H., Li, S., & Li, J. (2022). MetaTrader: A reinforcement learning approach integrating diverse policies for portfolio optimization. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management.

[4]. Zhang, Y., et al. (2024). Combined peak price tracking strategies for online portfolio selection based on the meta-algorithm.Journal of the Operational Research Society, 75(10), 2032–2051.

[5]. Zhang, J., & Xie, J. (2025). Adaptive portfolio optimization via ppo-her: A reinforcement learning framework for non-stationary markets.Journal of Global Trends in Social Science, 2(4).

[6]. Ayari, S., & Hayette, G. (2025). A meta-analysis of supervised and unsupervised machine learning algorithms and their application to active portfolio management.Expert Systems with Applications, 271, 126611.

[7]. Kato, M., et al. (2024). Bayesian portfolio optimization by predictive synthesis. In 2024 16th IIAI International Congress on Advanced Applied Informatics (IIAI-AAI) (pp. 1–6). IEEE.

[8]. Jeon, J., et al. (2024). Frequant: A reinforcement-learning based adaptive portfolio optimization with multi-frequency decomposition. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining.

[9]. Yamim, J. D. M., Borges, C. C. H., & Fonseca Neto, R. (2023). Portfolio optimization via online gradient descent and risk control.Computational Economics, 62(1), 361–381.

[10]. Kolomeytsev, Y. (2021). Meta Algorithms for Portfolio Optimization Using Reinforcement Learning. In International Conference on Optimization and Applications (pp. 1–12). Springer International Publishing.

[11]. Ha, M. H., Chi, S. G., Lee, S., Cha, Y., & Byung-Ro, M. (2021). Evolutionary meta reinforcement learning for portfolio optimization. In Proceedings of the Genetic and Evolutionary Computation Conference (pp. 964–972).