TY - JOUR
T1 - Contextual reinforcement learning for market making via multi-task self-supervised learning
AU - Wen, Pin Yao
AU - Huang, Szu Hao
AU - Chen, Chiao Ting
AU - Fang, Yi Tang
N1 - Publisher Copyright:
© 2025 Elsevier Ltd.
PY - 2026/1/15
Y1 - 2026/1/15
N2 - Market makers play important roles in modern financial transactions by simultaneously providing buy and sell limit orders to offer liquidity and earn the bid–ask spread. In recent years, several deep reinforcement learning techniques have been developed for high-frequency quantitative trading tasks such as market making. However, due to the uncertainty and variability of financial markets, reinforcement learning for trading needs to overcome two major challenges: concept drift and insufficient generalization ability. In this study, we propose a novel Contextual Reinforcement Learning framework for training a generalized market-making trading strategy, which utilizes financial market sentiment indicators as contextual information, enabling reinforcement learning agents to adjust their order placement decisions according to different market contexts. Subsequently, we introduce a Self-Supervised Market Context Network that incorporates multiple auxiliary tasks with financial domain knowledge, which can further enhance the agent’s sensitivity and understanding of the market environment. Furthermore, we adopt the replay-based method from Continual Learning, performing policy fine-tuning by selecting appropriate historical environments, effectively addressing issues of concept drift and catastrophic forgetting. We conducted experiments on real-world tick-level data from the Taiwan Stock Exchange Capitalization Weighted Stock Index (TAIEX) options. Under the same inventory risk, our strategy consistently outperformed state-of-the-art baselines in terms of several evaluation metrics, demonstrating superior profitability per unit of risk. This demonstrates that our proposed framework enables the model to adapt to out-of-sample markets and can also avoid risk and achieve steady profits even in extreme market environments.
AB - Market makers play important roles in modern financial transactions by simultaneously providing buy and sell limit orders to offer liquidity and earn the bid–ask spread. In recent years, several deep reinforcement learning techniques have been developed for high-frequency quantitative trading tasks such as market making. However, due to the uncertainty and variability of financial markets, reinforcement learning for trading needs to overcome two major challenges: concept drift and insufficient generalization ability. In this study, we propose a novel Contextual Reinforcement Learning framework for training a generalized market-making trading strategy, which utilizes financial market sentiment indicators as contextual information, enabling reinforcement learning agents to adjust their order placement decisions according to different market contexts. Subsequently, we introduce a Self-Supervised Market Context Network that incorporates multiple auxiliary tasks with financial domain knowledge, which can further enhance the agent’s sensitivity and understanding of the market environment. Furthermore, we adopt the replay-based method from Continual Learning, performing policy fine-tuning by selecting appropriate historical environments, effectively addressing issues of concept drift and catastrophic forgetting. We conducted experiments on real-world tick-level data from the Taiwan Stock Exchange Capitalization Weighted Stock Index (TAIEX) options. Under the same inventory risk, our strategy consistently outperformed state-of-the-art baselines in terms of several evaluation metrics, demonstrating superior profitability per unit of risk. This demonstrates that our proposed framework enables the model to adapt to out-of-sample markets and can also avoid risk and achieve steady profits even in extreme market environments.
KW - Concept drift
KW - Contextual reinforcement learning
KW - Continual learning
KW - Market making
KW - Self-supervised learning
UR - https://www.scopus.com/pages/publications/105022270590
U2 - 10.1016/j.engappai.2025.113196
DO - 10.1016/j.engappai.2025.113196
M3 - Article
AN - SCOPUS:105022270590
SN - 0952-1976
VL - 164
JO - Engineering Applications of Artificial Intelligence
JF - Engineering Applications of Artificial Intelligence
M1 - 113196
ER -