Lune

KDD2024Top-tier venue

MacroHFT: Memory Augmented Context-aware Reinforcement Learning On High Frequency Trading

Chuqiao Zong, Chaojie Wang, Molei Qin, Lei Feng, Xinrun Wang, Bo An

Abstract

High-frequency trading (HFT) that executes algorithmic trading in short time scales, has recently occupied the majority of cryptocurrency market. Besides traditional quantitative trading methods, reinforcement learning (RL) has become another appealing approach for HFT due to its terrific ability of handling high-dimensional financial data and solving sophisticated sequential decision-making problems, e.g., hierarchical reinforcement learning (HRL) has shown its promising performance on second-level HFT by training a router to select only one sub-agent from the agent pool to execute the current transaction. However, existing RL methods for HFT still have some defects: 1) standard RL-based trading agents suffer from the overfitting issue, preventing them from making effective policy adjustments based on financial context; 2) due to the rapid changes in market conditions, investment decisions made by an individual agent are usually one-sided and highly biased, which might lead to significant loss in extreme markets. To tackle these problems, we propose a novel Memory Augmented Context-aware Reinforcement learning method On HFT, a.k.a. MacroHFT, which consists of two training phases: 1) we first train multiple types of sub-agents with the market data decomposed according to various financial indicators, specifically market trend and volatility, where each agent owns a conditional adapter to adjust its trading policy according to market conditions; 2) then we train a hyper-agent to mix the decisions from these sub-agents and output a consistently profitable meta-policy to handle rapid market fluctuations, equipped with a memory mechanism to enhance the capability of decision-making. Extensive experiments on various cryptocurrency markets demonstrate that MacroHFT can achieve state-of-the-art performance on minute-level trading tasks. Code has been released in https://github.com/ZONG0004/MacroHFT.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • OPHR: Mastering Volatility Trading with Multi-Agent Deep Reinforcement Learning cites EarnHFT: Efficient Hierarchical Reinforcement Learning for High Frequency Trading
  • ArchetypeTrader: Reinforcement Learning for Selecting and Refining Learnable Strategic Archetypes in Quantitative Trading cites Scalable Diffusion Models with Transformers
  • ArchetypeTrader: Reinforcement Learning for Selecting and Refining Learnable Strategic Archetypes in Quantitative Trading cites Adaptive Quantitative Trading: An Imitative Deep Reinforcement Learning Approach
  • ArchetypeTrader: Reinforcement Learning for Selecting and Refining Learnable Strategic Archetypes in Quantitative Trading cites EarnHFT: Efficient Hierarchical Reinforcement Learning for High Frequency Trading
  • EarnHFT: Efficient Hierarchical Reinforcement Learning for High Frequency Trading cites Commission Fee is not Enough: A Hierarchical Reinforced Framework for Portfolio Management
  • FineFT: Efficient and Risk-Aware Ensemble Reinforcement Learning for Futures Trading cites Adaptive Quantitative Trading: An Imitative Deep Reinforcement Learning Approach
  • FineFT: Efficient and Risk-Aware Ensemble Reinforcement Learning for Futures Trading cites EarnHFT: Efficient Hierarchical Reinforcement Learning for High Frequency Trading
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. OPHR: Mastering Volatility Trading with Multi-Agent Deep Reinforcement LearningZeting Chen, Xinyu Cai, Molei Qin, Bo AnNeurIPS 2025 · 2 citations
  2. ArchetypeTrader: Reinforcement Learning for Selecting and Refining Learnable Strategic Archetypes in Quantitative TradingChuqiao Zong, Molei Qin, Haochong Xia, Bo AnAAAI 2026
  3. FineFT: Efficient and Risk-Aware Ensemble Reinforcement Learning for Futures TradingMolei Qin, Xinyu Cai, Yewen Li, Haochong Xia et al.KDD 2026

Builds on4

  1. Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations
  2. Adaptive Quantitative Trading: An Imitative Deep Reinforcement Learning ApproachYang Liu, Qi Liu, Hongke Zhao, Zhen Pan et al.AAAI 2020 · 157 citations
  3. Commission Fee is not Enough: A Hierarchical Reinforced Framework for Portfolio ManagementRundong Wang, Hongxin Wei, Bo An, Zhouyan Feng et al.AAAI 2021 · 50 citations
  4. EarnHFT: Efficient Hierarchical Reinforcement Learning for High Frequency TradingMolei Qin, Shuo Sun, Wentao Zhang, Haochong Xia et al.AAAI 2024 · 28 citations

Related papers

  1. A Multimodal Foundation Agent for Financial Trading: Tool-Augmented, Diversified, and GeneralistWentao Zhang, Lingxuan Zhao, Haochong Xia, Shuo Sun et al.KDD 2024 · 50 citations
  2. Memo: Training Memory-Efficient Embodied Agents with Reinforcement LearningGunshi Gupta, Karmesh Yadav, Zsolt Kira, Yarin Gal et al.NeurIPS 2025 · 9 citations
  3. A Hierarchical Adaptive Multi-Task Reinforcement Learning Framework for Multiplier Circuit DesignZhihai Wang, Jie Wang, Dongsheng Zuo, Yunjie Ji et al.ICML 2024 · 16 citations
  4. 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
  5. CryptoMixer: Fine-grained market information-aware MLP Networks for Individual Cryptocurrency Trading PredictionTingsheng Feng, Zhihao Shen, Xi Zhao, Xiaoni Lu et al.KDD 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines