TY - GEN
T1 - Adaptive and Explainable Margin Trading via Large Language Models on Portfolio Management
AU - Gu, Jingyi
AU - Ye, Junyi
AU - Wang, Guiling
AU - Yin, Wenpeng
N1 - Publisher Copyright:
© 2024 Owner/Author.
PY - 2024/11/14
Y1 - 2024/11/14
N2 - Recent strategies for portfolio management often lack flexibility to adjust funds between long and short positions throughout trading periods. This prevents adapting portfolios to the market, which mitigates risks and seizes opportunities. To address these gaps, we propose an adaptive and explainable framework that integrates Large Language Models (LLMs) with Reinforcement Learning (RL) for dynamic long-short position adjustment in response to evolving market conditions. This approach leverages the recent advancements in LLMs for processing unstructured data and their capacity for explainable reasoning. The framework includes two stages: an Explainable Market Forecasting/Reasoning Pipeline, and a Position Reallocation stage. The Market Forecasting/Reasoning Pipeline allows various LLMs to learn market trends from diverse external data sources and determine optimal adjustment ratios with a clear reasoning path. The Portfolio Reallocation stage interacts with the sequential trading process from a pre-trained RL model to enhance decision-making and transparency. Our framework is flexible to accommodate various external data sources from microeconomics to macroeconomics data, diverse data types including time series and news text, along with multiple LLMs. Experiments demonstrate that our framework effectively achieves three times the return and doubles the Sharpe ratio compared to benchmarks. All the data and code are publicly available under NJIT FinTech Lab's GitHub1.
AB - Recent strategies for portfolio management often lack flexibility to adjust funds between long and short positions throughout trading periods. This prevents adapting portfolios to the market, which mitigates risks and seizes opportunities. To address these gaps, we propose an adaptive and explainable framework that integrates Large Language Models (LLMs) with Reinforcement Learning (RL) for dynamic long-short position adjustment in response to evolving market conditions. This approach leverages the recent advancements in LLMs for processing unstructured data and their capacity for explainable reasoning. The framework includes two stages: an Explainable Market Forecasting/Reasoning Pipeline, and a Position Reallocation stage. The Market Forecasting/Reasoning Pipeline allows various LLMs to learn market trends from diverse external data sources and determine optimal adjustment ratios with a clear reasoning path. The Portfolio Reallocation stage interacts with the sequential trading process from a pre-trained RL model to enhance decision-making and transparency. Our framework is flexible to accommodate various external data sources from microeconomics to macroeconomics data, diverse data types including time series and news text, along with multiple LLMs. Experiments demonstrate that our framework effectively achieves three times the return and doubles the Sharpe ratio compared to benchmarks. All the data and code are publicly available under NJIT FinTech Lab's GitHub1.
UR - http://www.scopus.com/inward/record.url?scp=85210382485&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85210382485&partnerID=8YFLogxK
U2 - 10.1145/3677052.3698681
DO - 10.1145/3677052.3698681
M3 - Conference contribution
AN - SCOPUS:85210382485
T3 - ICAIF 2024 - 5th ACM International Conference on AI in Finance
SP - 248
EP - 256
BT - ICAIF 2024 - 5th ACM International Conference on AI in Finance
PB - Association for Computing Machinery, Inc
T2 - 5th ACM International Conference on AI in Finance, ICAIF 2024
Y2 - 14 November 2024 through 17 November 2024
ER -