计算机应用 ›› 2018, Vol. 38 ›› Issue (5): 1505-1511.DOI: 10.11772/j.issn.1001-9081.2017102572

• 应用前沿、交叉与综合 • 上一篇    下一篇

基于自回归移动平均反转的在线投资组合选择

郁顺昌1, 黄定江2   

  1. 1. 华东理工大学 理学院, 上海 200237;
    2. 华东师范大学 数据科学与工程学院, 上海 200241
  • 收稿日期:2017-10-30 修回日期:2017-12-04 出版日期:2018-05-10 发布日期:2018-05-24
  • 通讯作者: 郁顺昌
  • 作者简介:郁顺昌(1993-),男,河南驻马店人,硕士研究生,主要研究方向:机器学习、大数据;黄定江(1981-),男,江西上饶人,教授,博士,主要研究方向:机器学习、人工智能及其在计算金融、教育等跨领域中大数据的解析和应用。
  • 基金资助:
    国家自然科学基金资助项目(11501204);上海市自然科学基金资助项目(15ZR1408300)。

Online portfolio selection based on autoregressive moving average reversion

YU Shunchang1, HUANG Dingjiang2   

  1. 1. School of Science, East China University of Science and Technology, Shanghai 200237, China;
    2. School of Data Science and Engineering, East China Normal University, Shanghai 200241, China
  • Received:2017-10-30 Revised:2017-12-04 Online:2018-05-10 Published:2018-05-24
  • Contact: 郁顺昌
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (11501204), the Natural Science Foundation of Shanghai (15ZR1408300).

摘要: 针对现有均值反转类策略未充分考虑噪声数据、单周期假设和数据的非平稳性等问题,提出了一种基于多周期的高效的在线自回归移动平均反转(OLAR)算法。首先,利用自回归移动平均算法得到了股价预测模型,并经过合理的假设将其转化为自回归模型;然后,结合损失函数和正则项构造出了目标函数,并利用损失函数的二阶信息得到了参数的闭式解;接着,利用在线被动攻击(PA)算法得到了投资组合的闭式更新。理论分析和实验仿真结果表明,与鲁棒中位数反转(RMR)相比,OLAR在NYSE(O)、NYSE(N)、道琼斯工业指数(DJIA)和MSCI数据集上的累积收益分别提高了455.6%,221.5%,11.2%和50.3%;同时,统计检验结果表明,OLAR的表现并不是由随机因素造成的。此外,与RMR和在线滑动平均反转(OLMAR)等算法相比,OLAR获得了最大的年化收益率、夏普比率和Calmar比率;最后,OLAR的运行时间与RMR和OLMAR基本相同,因此也适合大规模的实时应用。

关键词: 在线学习, 投资组合选择, 自回归移动平均, 均值反转, 损失函数

Abstract: Focused on the issue that noisy data, single period hypothesis and nonstationary prediction are not fully considered in the existing mean reversion strategy, an efficient OnLine Autoregressive moving average Reversion (OLAR) algorithm based on multi-period was proposed. Firstly, a stock price forecasting model was given by using the autoregressive moving average algorithm, and it was converted into an autoregressive model by a reasonable assumption. Then, an objective function was given by combining the loss function and a regular term, and a closed solution was obtained by using the second-order information of the loss function. The portfolio's closed-form update was obtained by using the online Passive Aggressive (PA) algorithm. Theoretical analysis and experimental results show that, compared with Robust Median Reversion (RMR), the accumulated profits of OLAR increase by 455.6%, 221.5%, 11.2% and 50.3% on NYSE (N), NYSE (N), Dow Jones Industrial Average (DJIA) and MSCI datasets respectively. Meanwhile, the results of statistical test show that the superior performance of OLAR is not caused by random factors. In addition, compared with algorithms such as RMR and Online Moving Average Reversion (OLMAR), OLAR achieves the highest annualized percentage yield, Sharpe ratio and Calmar ratio. Finally, the running time of OLAR is almost the same as that of RMR and OLMAR, therefore OLAR is suitable for large-scale real-time applications.

Key words: online learning, portfolio selection, autoregressive moving average, mean reversion, loss function

中图分类号: