Second-order online portfolio selection strategy with transaction costs
-
摘要: 针对基于在线牛顿步(Online Newton Step,ONS)算法的投资组合选择策略没有考虑交易成本的问题,而交易成本是真实市场中不可或缺的部分,提出了一种新的带交易成本的在线投资组合选择策略,简称在线牛顿步交易成本策略(Online Newton Step Transaction Cost,ONSC):首先,结合投资组合向量的二阶信息和交易成本惩罚项构造优化函数,并推导得出投资组合的更新公式;然后,通过理论分析得到ONSC算法的次线性后悔边界O(log(T)).实证研究表明,与半常数再调整投资组合策略(Semiconstant RebalancedPortfolios,SCRP)以及其他考虑交易成本的策略相比,在SP500、NYSE(O)、NYSE(N)和TSE这4个真实市场的数据集上,ONSC获得了最高的累计净收益和最小的周转率,表明了所提算法的有效性.Abstract: Existing portfolio selection strategies based on the online Newton step (ONS) algorithm ignore the role of transaction costs, an indispensable factor in real markets. This paper proposes a new online portfolio selection strategy, the online Newton step transaction cost (ONSC) method, to address this issue. First, we constructed the optimal function by combining second order information of a portfolio with the transaction cost penalty term, and the portfolio was subsequently updated. Then, the sublinear regret bound O(log(T)) was achieved by theoretical analysis. Empirical research on the data sets of four real markets-namely, SP500, NYSE(O), NYSE(N) and TSE-showed that in comparison to semiconstant rebalanced portfolios (SCRP) and other strategies with transaction costs, ONSC achieves the highest accumulated wealth and the smallest turnover. Hence, the research demonstrates the efiectiveness of the algorithm.
-
Key words:
- portfolio selection /
- online Newton step /
- transaction costs
-
表 1 实验数据集
Tab. 1 Databases used for experiments
数据集 时间范围 天数/d 股票数/只 SP500 1998.01.02-2003.01.30 1 276 25 NYSE(O) 1962.07.0-1984.12.31 2 826 36 NYSE(N) 1985.01.01-2010.06.30 6 431 23 TSE 1994.01.04-1998.12.31 1 259 88 表 2 在数据集SP500上50次独立试验($ {c}{ = 0.05} $, 0.02, 0.01, 0.001, 0)
Tab. 2 Average net wealth for 50 independent trails ($ c = 0.05 $, 0.02, 0.01, 0.001, 0) on the SP500 dataset
策略 $ c $ 0.05 0.02 0.01 0.001 0 ONSC 2.146 2.235 2.265 2.293 2.296 ONS 0.582 1.133 1.419 1.740 1.823 UP 1.196 1.603 1.804 2.016 2.091 SUP 1.790 1.836 1.880 1.915 1.987 CRP 0.855 1.448 1.727 2.024 2.060 SCRP 1.651 1.789 1.841 1.890 1.895 表 3 在数据集NYSE(O)上50次独立试验($ {c}{ = 0.05} $, 0.02, 0.01, 0.001, 0)的平均净收益
Tab. 3 Average net wealth for 50 independent trails ($ c = 0.05 $, 0.02, 0.01, 0.001, 0) on the NYSE(O) dataset
策略 $ c $ 0.05 0.02 0.01 0.001 0 ONSC 38.562 38.866 40.315 40.724 40.770 ONS 4.379 16.158 25.557 38.959 40.786 UP 22.911 23.705 27.583 29.520 35.111 SUP 29.079 30.640 32.393 34.221 36.702 CRP 3.562 14.532 23.587 2.024 40.125 SCRP 19.381 23.708 25.673 27.429 27.752 表 4 在数据集NYSE(N)上50次独立试验($ {c}{ = 0.05} $, 0.02, 0.01, 0.001, 0)的平均净收益
Tab. 4 Average net wealth for 50 independent trails ($ c = 0.05 $, 0.02, 0.01, 0.001, 0) on the NYSE(N) Dataset
策略 $ c $ 0.05 0.02 0.01 0.001 0 ONSC 27.014 28.327 28.778 29.190 29.236 ONS 1.468 6.659 11.238 18.128 19.125 UP 10.521 12.385 16.091 20.400 22.137 SUP 14.931 15.943 16.849 17.867 19.636 CRP 1.187 6.823 12.266 20.828 22.092 SCRP 11.679 14.592 15.930 17.372 17.549 表 5 在数据集TSE上50次独立试验($ {c}{ = 0.05} $, 0.02, 0.01, 0.001, 0)的平均净收益
Tab. 5 Average net wealth for 50 independent trails ($ c = 0.05, 0.02, 0.01, 0.001, 0 $) on the TSE dataset
策略 $ c $ 0.05 0.02 0.01 0.001 0 ONSC 2.812 2.931 2.971 3.008 3.012 ONS 0.430 0.887 1.131 1.408 1.443 UP 1.149 1.297 1.591 1.816 2.143 SUP 1.671 1.841 1.952 2.090 2.219 CRP 0.781 1.216 1.414 1.621 1.646 SCRP 1.694 1.815 1.860 1.899 1.907 表 6 6个策略在4个数据集上的周转率的数值结果
Tab. 6 The numerical turnover results of six strategies on the four datasets
策略 数据集 SP500 NYSE(O) NYSE(N) TSE ONSC 0.001 18 0.000 54 0.000 25 0.001 09 ONS 0.017 32 0.014 21 0.007 80 0.019 00 UP 0.148 63 0.882 00 1.096 39 0.164 89 SUP 0.004 62 0.015 71 0.002 73 0.004 44 CRP 0.622 26 1.123 00 1.187 33 0.780 97 SCRP 0.011 05 0.002 83 0.003 63 0.002 69 -
[1] HELMBOLD D P, SCHAPIRE R E, SINGER Y, et al. Online portfolio selection using multiplicative updates[J]. Mathematical Finance, 1998, 8(4):325-347. http://cn.bing.com/academic/profile?id=eaa00daa424d6b26cb95ec9e4c91848f&encoded=0&v=paper_preview&mkt=zh-cn [2] GYÖRFI L, LUGOSI G, UDINA F. Nonparametric kernel-based sequential investment strategies[J]. Mathematical Finance, 2010, 16(2):337-357. http://d.old.wanfangdata.com.cn/NSTLQK/NSTL_QKJJ025797406/ [3] THEODOROS TSAGARIS, AJAY JASRA, NIALL ADAMS. Robust and adaptive algorithms for online portfolio selection[J]. Quantitative Finance, 2012, 12(11):1651-1662. doi: 10.1080/14697688.2012.691175 [4] LI B. PAMR:Passive aggressive mean reversion strategy for portfolio selection[J]. Machine Learning, 2012, 87(2):221-258. http://d.old.wanfangdata.com.cn/Periodical/hebgydxxb200503034 [5] LI B, HOI S C H, SAHOO D, et al. Moving average reversion strategy for on-line portfolio selection[J]. Artiflcial Intelligence, 2015, 222(1):104-123. http://www.wanfangdata.com.cn/details/detail.do?_type=perio&id=4d01a5dbce35024553fd0230f95d8507 [6] AGARWAL A, HAZAN E, KALE S, et al. Algorithms for portfolio management based on the Newton method[C]//Proceedings of the 23rd International Conference on Machine Learning. 2006:9-16. [7] ORDENTLICH E, COVER T M. Online portfolio selection[C]//Proceedings of the 9th Annual Conference on Computational Learning Theory. 1996:310-313. [8] 胡海鸥.货币理论与货币政策[M].上海:上海人民出版社, 2004. [9] DAVIS M H A, NORMAN A R. Portfolio selection with transaction costs[J]. Mathematics of Operations Research, 1990, 15(4):676-713. doi: 10.1287-moor.15.4.676/ [10] ALBEVERIO S, LAO L J, ZHAO X L. Online portfolio selection strategy with prediction in the presence of transaction costs[J]. Mathematical Methods of Operations Research, 2001, 54(1):133-161. doi: 10.1007/s001860100142 [11] LI B, WANG J L, HUANG D J, et al. Transaction cost optimization for online portfolio selection[J]. Quantitative Finance, 2018, 18(8):1411-1424. doi: 10.1080/14697688.2017.1357831 [12] BLUM A, KALAI A. Universal portfolios with and without transaction costs[J]. Machine Learning, 1999, 35(3):193-205. doi: 10.1023-A-1007530728748/ [13] KOZAT S S, SINGER A C. Universal semiconstant rebalanced portfolios[J]. Mathematical Finance, 2011, 21(2):293-311. http://d.old.wanfangdata.com.cn/NSTLQK/NSTL_QKJJ0222706340/ [14] HUANG D J, ZHU Y, LI B, et al. Semi-universal portfolios with transaction costs[C]//Proceedings of the 24th International Conference on Artiflcial Intelligence. AAAI Press, 2015:178-184. [15] MARKOWITZ H. Portfolio selection[J]. Journal of Finance, 1952, 7(1):77-91. http://d.old.wanfangdata.com.cn/Periodical/zgglkx200202003 [16] KELLY J L. A new interpretation of information rate[J]. Bell System Technical Journal, 1956, 35(4):917-926. doi: 10.1002/bltj.1956.35.issue-4 [17] LI B, HOI S C H. Online portfolio selection:A survey[J]. Papers, 2012, 46(3):1-36. http://d.old.wanfangdata.com.cn/NSTLQK/NSTL_QKJJ0229396841/ [18] COVER T M. Universal portfolios[J]. Mathematical Finance, 1991(1):1-29. http://d.old.wanfangdata.com.cn/NSTLQK/NSTL_QKJJ0226625693/ [19] DAS P, JOHNSON N, BANERJEE A. Online lazy updates for portfolio selection with transaction costs[C]//27th AAAI Conference on Artiflcial Intelligence. AAAI Press, 2013:202-208 https://www.researchgate.net/publication/288145019_Online_lazy_updates_for_portfolio_selection_with_transaction_costs [20] BOYD S, PARIKH N, CHU E, et al. Distributed optimization and statistical learning via the alternating direction method of multipliers[J]. Foundations & Trends in Machine Learning, 2010, 3(1):1-122. http://www.wanfangdata.com.cn/details/detail.do?_type=perio&id=3e990a176868f2d25550830e52a96572 [21] FAN R E, CHEN P H, LIN C J, et al. Working set selection using second order information for training support vector machines[J]. Journal of Machine Learning Research, 2005, 6(4):1889-1918. doi: 10.1097-ALN.0b013e3181da839f/ [22] LI B, HOI S C H, ZHAO P, et al. Confldence weighted mean reversion strategy for online portfolio selection[J]. ACM Transactions on Knowledge Discovery From Data, 2013, 7(1):1-38. http://cn.bing.com/academic/profile?id=d674e30283954529e234aa47641bab6c&encoded=0&v=paper_preview&mkt=zh-cn [23] HOI S C H, SAHOO D, LU J, et al. Online learning:A comprehensive survey[J]. arXiv:1802. 02871v2[cs.LG]22 Oct 2018. [24] BROOKES M. The matrix reference manual[R/OL].[2018-06-30]. http://www.ee.imperial.ac.uk/hp/stafi/dmb/matrix/intro.html. [25] HAZAN E, AGARWAL A, KALE S. Logarithmic regret algorithms for online convex optimization[J]. Machine Learning, 2007, 69(2/3):169-192. http://cn.bing.com/academic/profile?id=31b255b8c164f50b5db4557f6493c748&encoded=0&v=paper_preview&mkt=zh-cn