ArchetypeTrader: Reinforcement Learning for Selecting and Refining Learnable Strategic Archetypes in Quantitative Trading
Chuqiao Zong, Molei Qin, Haochong Xia, Bo An
Abstract
Quantitative trading using mathematical models and automated execution to generate trading decisions has been widely applied acorss financial markets. Recently, reinforcement learning (RL) has emerged as a promising approach for developing profitable trading strategies, especially in highly volatile markets like cryptocurrency. However, existing RL methods for cryptocurrency trading face two critical drawbacks: 1) Prior RL algorithms segment markets using handcrafted indicators (e.g., trend or volatility) to train specialized sub-policies. However, these coarse labels oversimplify market dynamics into rigid categories, biasing policies toward obvious patterns like trend-following and neglecting nuanced but lucrative opportunities. 2) Current RL methods fail to systematically use demonstration data. While some approaches ignore demonstrations altogether, others rely on “optimal” yet overly granular trajectories or human-crafted strategies, both of which can overwhelm learning and introduce significant bias, resulting in high variance and significant profit losses. To address these problems, we propose ArchetypeTrader, a novel reinforcement learning framework that automatically selects and refines data-driven trading archetypes distilled from demonstrations. The framework operates in three phases: 1) We use dynamic programming (DP) to generate representative expert trajectories and train a vector-quantized encoder-decoder architecture to distill these demonstrations into discrete, reusable strategic archetypes through self-supervised learning, capturing nuanced market-behavior patterns without human heuristics. 2) We then train an RL agent to select contextually appropriate archetypes from the learned codebook and reconstruct action sequences for the upcoming horizons, effectively performing demonstration-guided strategy reuse. 3) We finally train a policy adapter that leverages hindsight-informed rewards to dynamically refine the archetype actions based on real-time market observations and performance, enabling more fine-grained decision-making and yielding profitable and robust trading strategies. Extensive experiments on four popular cryptocurrency trading pairs demonstrate that ArchetypeTrader significantly outperforms state-of-the-art approaches in both profit generation and risk management.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a135f727-a101-46a8-b699-a24cc97595dbBuilds on4
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations
- Adaptive Quantitative Trading: An Imitative Deep Reinforcement Learning ApproachYang Liu, Qi Liu, Hongke Zhao, Zhen Pan et al.AAAI 2020 · 157 citations
- EarnHFT: Efficient Hierarchical Reinforcement Learning for High Frequency TradingMolei Qin, Shuo Sun, Wentao Zhang, Haochong Xia et al.AAAI 2024 · 28 citations
- MacroHFT: Memory Augmented Context-aware Reinforcement Learning On High Frequency TradingChuqiao Zong, Chaojie Wang, Molei Qin, Lei Feng et al.KDD 2024 · 1 citation
Related papers
- OPHR: Mastering Volatility Trading with Multi-Agent Deep Reinforcement LearningZeting Chen, Xinyu Cai, Molei Qin, Bo AnNeurIPS 2025 · 2 citations
- FineFT: Efficient and Risk-Aware Ensemble Reinforcement Learning for Futures TradingMolei Qin, Xinyu Cai, Yewen Li, Haochong Xia et al.KDD 2026
- Logic-Q: Improving Deep Reinforcement Learning-based Quantitative Trading via Program Sketch-based TuningZhiming Li, Junzhe Jiang, Yushi Cao, Aixin Cui et al.AAAI 2025 · 5 citations
- CryptoTrade: A Reflective LLM-based Agent to Guide Zero-shot Cryptocurrency TradingYuan Li, Bingqiao Luo, Qian Wang, Nuo Chen et al.EMNLP 2024 · 5 citations
- Resisting Manipulative Bots in Meme Coin Copy Trading: A Multi-Agent Approach with Chain-of-Thought ReasoningYichen Luo, Yebo Feng, Jiahua Xu, Yang LiuWWW 2026 · 1 citation
