Skip to Content
Reinforcement Learning for Finance
book

Reinforcement Learning for Finance

by Yves Hilpisch
October 2024
Intermediate to advanced
214 pages
5h 4m
English
O'Reilly Media, Inc.
Audio summary available
Content preview from Reinforcement Learning for Finance

Part I. The Basics

The first part of the book covers the basics of reinforcement learning and provides background information. It consists of three chapters:

  • Chapter 1 focuses on learning through interaction with four major examples: probability matching, Bayesian updating, reinforcement learning (RL), and deep Q-learning (DQL).

  • Chapter 2 introduces concepts from dynamic programming (DP) and discusses DQL as an approach to approximate solutions to DP problems. The major theme is the derivation of optimal policies to maximize a given objective function through taking a sequence of actions and updating the optimal policy iteratively. DQL is illustrated based on the CartPole game from the Gymnasium Python package.

  • Chapter 3 develops a first Finance environment that allows the DQL agent from Chapter 2 to learn a financial prediction game. Although the environment formally replicates the API of the CartPole, it misses some important characteristics that are needed to apply RL successfully.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advances in Financial Machine Learning

Advances in Financial Machine Learning

Marcos Lopez de Prado

Publisher Resources

ISBN: 9781098169169Errata PageSupplemental Content