IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2610.03598.html

When a Correct Reward Is Not Enough: Diagnosing and Guiding PPO in an Analytically Solved Broker-Trader Game

Author

Listed:
  • Siu Tung Wong

    (Institute of Finance and Technology, University College London)

  • Carlo Campajola

    (Institute of Finance and Technology, University College London
    UZH Blockchain Center)

Abstract

Reinforcement learning (RL) is increasingly used for financial optimal-control problems when complex dynamics make analytical strategies difficult to obtain. There are financial mathematics literactures which provides many solved models whose equations and controls could evaluate and guide learning; we ask whether RL can exploit these results. We place a proximal policy optimisation (PPO) agent in an analytically solved continuous-time broker--trader game. PPO replaces the broker and chooses its trading speed while interacting with an informed trader and stochastic uninformed order flow. We derive a finite-step reward from the broker's continuous-time payoff and verify its discrete implementation through grid refinement and an exact one-step identity. With zero uninformed flow, a validation-selected PPO--FFNN approaches the reference action. With stochastic uninformed flow, the tested PPO--FFNN and PPO--LSTM remain inaccurate, although supervised learning confirms that their actors can represent the action. Monte Carlo diagnostics show that their critics do not reliably rank nearby actions; potential-based reward shaping also gives no reliable improvement. Under partial information, a causal certainty-equivalent controller based on the broker's observable history remains close to the reference, while PPO has larger errors and lower payoffs. Finally, we freeze the analytical policy and train PPO to adjust it after the execution cost changes. Halving the cost yields a repeatable improvement that closes \(2.22\%\) of the gap to the changed-cost reference. The analytical solution therefore provides both a benchmark for diagnosing RL and a useful starting policy for adaptation.

Suggested Citation

  • Siu Tung Wong & Carlo Campajola, 2026. "When a Correct Reward Is Not Enough: Diagnosing and Guiding PPO in an Analytically Solved Broker-Trader Game," Papers 2610.03598, arXiv.org.
  • Handle: RePEc:arx:papers:2610.03598
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2610.03598
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Andrea Macrì & Fabrizio Lillo, 2024. "Reinforcement Learning for Optimal Execution When Liquidity Is Time-Varying," Applied Mathematical Finance, Taylor & Francis Journals, vol. 31(5), pages 312-342, September.
    2. Brian Ning & Franco Ho Ting Lin & Sebastian Jaimungal, 2021. "Double Deep Q-Learning for Optimal Execution," Applied Mathematical Finance, Taylor & Francis Journals, vol. 28(4), pages 361-380, July.
    3. Christos Spyridon Koulouris & Carlo Campajola, 2026. "Memory-Induced Supra-Competitive Outcomes Between Deep Reinforcement Learning Agents in Optimal Trade Execution," Papers 2605.20348, arXiv.org.
    4. Philippe Casgrain & Sebastian Jaimungal, 2019. "Trading algorithms with learning in latent alpha models," Mathematical Finance, Wiley Blackwell, vol. 29(3), pages 735-772, July.
    5. Boyu Wang & Xuefeng Gao & Lingfei Li, 2026. "Reinforcement learning for continuous-time optimal execution: actor–critic algorithm and error analysis," Finance and Stochastics, Springer, vol. 30(2), pages 597-655, April.
    6. Andrea Macr`i & Fabrizio Lillo, 2024. "Reinforcement Learning for Optimal Execution when Liquidity is Time-Varying," Papers 2402.12049, arXiv.org, revised Feb 2024.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Christos Spyridon Koulouris & Carlo Campajola, 2026. "Beyond Supra-Competitive Outcomes: Collusive Behaviour in Deep Reinforcement Learning for Optimal Execution Games," Papers 2610.00619, arXiv.org.
    2. Alexander Ardaiz & Varun Budati & Ali Habibnia, 2026. "Mixture-of-Experts for Cryptocurrency Order Execution: Training Stability, Tail Risk, and Failure Modes," Papers 2610.03369, arXiv.org, revised Oct 2026.
    3. Christos Spyridon Koulouris & Carlo Campajola, 2026. "Memory-Induced Supra-Competitive Outcomes Between Deep Reinforcement Learning Agents in Optimal Trade Execution," Papers 2605.20348, arXiv.org.
    4. Carè, Rosella & Cumming, Douglas, 2024. "Technology and automation in financial trading: A bibliometric review," Research in International Business and Finance, Elsevier, vol. 71(C).
    5. Campi, Luciano & Zabaljauregui, Diego, 2020. "Optimal market making under partial information with general intensities," LSE Research Online Documents on Economics 104612, London School of Economics and Political Science, LSE Library.
    6. Pedro Reis & Ana Paula Serra & Jo~ao Gama, 2025. "The Role of Deep Learning in Financial Asset Management: A Systematic Review," Papers 2503.01591, arXiv.org.
    7. Sebastian Jaimungal, 2022. "Reinforcement learning and stochastic optimisation," Finance and Stochastics, Springer, vol. 26(1), pages 103-129, January.
    8. Xin Guo & Yijie Huang & Xiang Yu, 2026. "Deterministic Policy Gradient for Learning Equilibrium in Time-Inconsistent Control Problems," Papers 2606.11798, arXiv.org.
    9. Ryuji Hashimoto & Namid R. Stillman, 2026. "Feasible Multi-Asset Optimal Execution under Cash Constraints," Papers 2609.27786, arXiv.org.
    10. Peter Bank & 'Alvaro Cartea & Laura Korber, 2023. "Optimal execution and speculation with trade signals," Papers 2306.00621, arXiv.org, revised Dec 2024.
    11. Yongli Li & Tianchen Wang & Baiqing Sun & Chao Liu, 2022. "Detecting the lead–lag effect in stock markets: definition, patterns, and investment strategies," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-36, December.
    12. Mehdi Arzandeh & Julieta Frank & Justin Daniels, 2025. "Real‐Time Tracking of Public Announcements in the Limit Order Book," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 45(6), pages 569-599, June.
    13. Emilio Barucci & Adrien Mathieu & Leandro S'anchez-Betancourt, 2025. "Market Making with Fads, Informed, and Uninformed Traders," Papers 2501.03658, arXiv.org, revised Jun 2026.
    14. Zane Shen & Xinli Xu & Guangyi Zhang & Jialong Chen & Jinsong Zhou & Cong Chen & Guibao Shen & Dongyu Yan & Luozhou Wang & Zhen Yang, 2026. "Can Large Language Models Execute Parent Orders?," Papers 2607.28410, arXiv.org.
    15. Kim, Seil & Ogawa, Keiichi, 2024. "Who is able or unable to return to school? Exploring the short-term impact of the COVID-19 school closures on students' returning to school in Nigeria," International Journal of Educational Development, Elsevier, vol. 108(C).
    16. Soohan Kim & Jimyeong Kim & Hong Kee Sul & Youngjoon Hong, 2023. "An Adaptive Dual-level Reinforcement Learning Approach for Optimal Trade Execution," Papers 2307.10649, arXiv.org.
    17. Anastasis Kratsios & Giulia Livieri & Philipp Schmocker, 2026. "NeuralChaos: Optimal Adapted Approximation of Square Integrable Predictable Processes," Papers 2607.14361, arXiv.org.
    18. David Evangelista & Yuri Thamsten, 2020. "On finite population games of optimal trading," Papers 2004.00790, arXiv.org, revised Feb 2021.
    19. Marcello Monga, 2024. "Automated Market Making and Decentralized Finance," Papers 2407.16885, arXiv.org.
    20. Alexandre Carbonneau & Frédéric Godin, 2023. "Deep Equal Risk Pricing of Financial Derivatives with Non-Translation Invariant Risk Measures," Risks, MDPI, vol. 11(8), pages 1-27, August.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2610.03598. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: https://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.