Document Type : Research Paper
Authors
1 Intelligent Data Processing Laboratory (IDPL), Department of Electrical Engineering, Shahid Bahonar University of Kerman,Kerman,Iran
2 University Of Kerman, Kerman, Iran
Abstract
Portfolio management is a challenging task due to the uncertainty and volatility in financial markets, making precise asset allocation and return maximization difficult. This paper presents a novel deep reinforcement learning (DRL) approach enhanced with fuzzy trend indicators to improve portfolio decision-making. The model was developed using a DRL framework, where a convolutional neural network (CNN)-based policy network learns to optimize asset allocations through interactions with the market. Fuzzy trend indicators are incorporated as additional input features, enabling the model to better capture market uncertainties and ambiguous trends. By providing a more flexible representation of market conditions, fuzzy trend indicators allow the model to dynamically adjust portfolio allocations in response to changing trends, leading to more precise asset allocation decisions and enhanced portfolio performance. The proposed model was trained and evaluated on historical stock data from the Brazilian stock market, covering the period from 2011 to 2020. The dataset includes daily high, low, and closing prices, ensuring a strong foundation for model training and validation. Experimental results show that the fuzzy-enhanced model outperforms some state-of-the-art strategies in terms of both returns and adaptability to volatile market conditions.
Keywords
Main Subjects
multi-stock trading, Progress in Artificial Intelligence, 10(1) (2021), 83-97. https://doi.org/10.1007/
s13748-020-00225-z
reinforcement learning with expected maximum drawdown, Expert Systems with Applications, 87 (2017), 267-279.
https://doi.org/10.1016/j.eswa.2017.06.023
number of assets, Expert Systems with Applications, 164 (2021), 114002. https://doi.org/10.1016/j.eswa.
2020.114002
21 (2004), 579-594. https://doi.org/10.1613/jair.1336
representations, and case studies, Expert Systems with Applications, 83 (2017), 187-205. https://doi.org/10.
1016/j.eswa.2017.04.030
on Artificial Intelligence in Finance (BWAIF), (2023), 132-143. https://doi.org/10.5753/bwaif.2023.231144
1467-9965.1991.tb00002.x
SIGKDD International Conference on Knowledge Discovery and Data Mining, (2011), 1163-1171. https://doi.
org/10.1145/2020408.2020588
[9] Y. Deng, F. Bao, Y. Kong, Z. Ren, Q. Dai, Deep direct reinforcement learning for financial signal representation
and trading, IEEE Transactions on Neural Networks and Learning Systems, 28(3) (2016), 653-664. https://doi.
org/10.1109/TNNLS.2016.2522401
Neurocomputing, 72(10-12) (2009), 2155-2170. https://doi.org/10.1016/j.neucom.2008.08.019
An International Journal of Mathematics, Statistics and Financial Economics, 16(2) (2006), 337-357. https://doi.
org/10.1111/j.1467-9965.2006.00274.x
Business and Industry, 33(1) (2017), 3-12. https://doi.org/10.1002/asmb.2209
Mathematical Finance, 8(4) (1998), 325-347. https://doi.org/10.1111/1467-9965.00058
//doi.org/10.1162/neco.1997.9.8.1735
shares, action strategies, and transfer learning, Expert Systems with Applications, 117 (2019), 125-138. https:
//doi.org/10.1016/j.eswa.2018.09.036
Conference (IntelliSys), IEEE, (2017), 905-913. https://doi.org/10.1109/IntelliSys.2017.8324237
101016. https://doi.org/10.1016/j.gfj.2024.101016
arXiv Preprint arXiv:1706.10059, (2017). https://doi.org/10.48550/arXiv.1706.10059
https://doi.org/10.1002/j.1538-7305.1956.tb03809.x
approach for stock portfolio allocation, Engineering Science and Technology, an International Journal, 24(4) (2021),
848-859. https://doi.org/10.1016/j.jestch.2021.01.007
of the IEEE, 86(11) (1998), 2278-2324. https://doi.org/10.1109/5.726791
on Machine Learning, (2012), 273-280. https://doi.org/10.48550/arXiv.1206.4626
https://doi.org/10.1145/2512962
selection, Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, JMLR
Workshop and Conference Proceedings, (2011), 434-442. https://doi.org/10.1145/2435209.2435213
selection, Machine Learning, 87 (2012), 221-258. https://doi.org/10.1007/s10994-012-5281-z
Preprint arXiv:1808.09940, (2018). https://doi.org/10.48550/arXiv.1808.09940
//doi.org/10.48550/arXiv.1509.02971
classification, IEEE Transactions on Fuzzy Systems, 14(1) (2006), 31-41. https://doi.org/10.1109/TFUZZ.2005.
861604
financial portfolio management: The non-stationary transformer’s fusion of macroeconomic indicators and sentiment
analysis in a deep reinforcement learning framework, Applied Sciences, 14(1) (2023). https://doi.org/10.3390/
app14010274
library for automated stock trading in quantitative finance, arXiv Preprint arXiv:2011.09607, (2020). https://doi.
org/10.48550/arXiv.2011.09607
8 (2020), 115393-115405. https://doi.org/10.1109/ACCESS.2020.3003819
trading, Neurocomputing, 449 (2021), 290-302. https://doi.org/10.1016/j.neucom.2021.04.005
1540-6261.1952.tb01525.x
methods for deep reinforcement learning, International Conference on Machine Learning, (2016). https://doi.org/
10.48550/arXiv.1602.01783
reinforcement learning, arXiv Preprint arXiv:1312.5602, (2013). https://doi.org/10.48550/arXiv.1312.5602
(2001), 875-889. https://doi.org/10.1109/72.935097
Systems with Applications, 158 (2020), 113573. https://doi.org/10.1016/j.eswa.2020.113573
portfolio under intuitionistic fuzzy sets, Iranian Journal of Fuzzy Systems, 21(2) (2025), 161-179. https://doi.
org/10.22111/ijfs.2024.45118.7968
learning in portfolio management, Artificial Intelligence Review, 58(3) (2025), 1-46. https://doi.org/10.1007/
s10462-024-11066-w
323(6088) (1986), 533-536. https://doi.org/10.1038/323533a0
on Machine Learning, (2015). https://doi.org/10.48550/arXiv.1502.05477
Preprint arXiv:1707.06347, (2017). https://doi.org/10.48550/arXiv.1707.06347
framework for portfolio management, Neurocomputing, 498 (2022), 14-27. https://doi.org/10.1016/j.neucom.
2022.04.105
Bolton, Y. Chen, T. Lillicrap, F. Hui, L. Sifre, G. V. D. Riessche, T. Graepel, D. Hassabis, Mastering the game of
go without human knowledge, Nature, 550(7676) (2017), 354-359. https://doi.org/10.1038/nature24270
stacked autoencoder-DeepBreath, Expert Systems with Applications, 156 (2020), 113456. https://doi.org/10.
1016/j.eswa.2020.113456
115127
Systems with Applications, 238 (2024), 122027. https://doi.org/10.1016/j.eswa.2023.122027
//doi.org/10.1017/S0263574799271172
with function approximation, Advances in Neural Information Processing Systems (NeurIPS), 13 (1999), 1057-1063.
https://dl.acm.org/doi/10.5555/3009657.3009806
is all you need, Advances in Neural Information Processing Systems (NeurIPS), 30 (2017), 6000-6010. https:
//dl.acm.org/doi/10.5555/3295222.3295349
https://doi.org/10.1016/B978-1-55860-146-8.50032-1
BF00992698
using kronecker-factored approximation, Advances in Neural Information Processing Systems (NeurIPS), 30 (2017),
5285-5294. https://dl.acm.org/doi/10.5555/3295222.3295280
optimization, Iranian Journal of Fuzzy Systems, 17(3) (2020), 1-18. https://doi.org/10.22111/ijfs.2020.5344
Entropy, 22(10) (2020), 1162. https://doi.org/10.3390/e22101162
of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence, (2021),
4647-4653. https://doi.org/10.24963/ijcai.2020/641
strategy, Proceedings of the First ACM International Conference on AI in Finance (ICAIF), 20 (2020). https:
//doi.org/10.1145/3383455.3422540
Systems with Applications, 143 (2020), 113041. https://doi.org/10.1016/j.eswa.2019.113041
2865%2990241-X
learning, IEEE Transactions on Knowledge and Data Engineering, 34(1) (2020). https://doi.org/10.1109/TKDE.
2020.2979700
Expert Systems with Applications, 221 (2023), 119707. https://doi.org/10.1016/j.eswa.2023.119707
PortfolioOptimizationEnv_Demo.ipynb