University of Toronto
Reinforcement Learning for Stochastic Control and Games in Algorithmic Trading
Abstract
dc:description.abstractAlgorithmic trading in electronic markets is a well-studied field in finance with a plethora of different possible approaches. This thesis explores how agents participating in electronic markets should optimally trade when accounting for latent factors and the behaviour of other participating agents. It investigates the problem by developing a modified Deep Q-Learning method for a single agent trader, generalizing the approach for multi-agent games using Nash equilibria, and constructing a new method for generating arbitrage-free implied volatility surfaces used for derivative pricing. The thesis contains three main parts. In the first part we take a model free approach to optimal trade execution and develop a variation of Deep Q-Learning to estimate the optimal actions of a trader. The model is a fully connected Neural Network trained using Experience Replay and Double DQN with input features given by the current state of the limit order book, other trading signals, and available execution actions, while the output is the Q-value function estimating the future rewards under an arbitrary action. We apply our model to nine different stocks and find that it significantly outperforms a baseline approach. In the second part, we generalize this approach into the multi-agent setting by developing a new data efficient Deep Q-learning methodology for model-free learning of Nash equilibria for general-sum stochastic games. The algorithm uses a local linear-quadratic approximation of the stochastic game, which leads to analytically solvable optimal actions. The approximation is parameterized by deep neural networks to provide sufficient flexibility to learn the environment without the need to experience all state-action pairs. We study symmetry properties of the algorithm stemming from label-invariant stochastic games and as a proof of concept, apply our algorithm to learning optimal trading strategies in various simulated competitive electronic markets. In the third part, we take the first steps in extending our approach into the derivatives market by proposing a new hybrid method for generating arbitrage-free implied volatility (IV) surfaces, which is a key feature used in derivative pricing. Our approach combines model-free Variational Autoencoders (VAEs) with continuous time stochastic differential equation (SDE) driven models. We focus on two classes of SDE models: regime switching models and L\'evy additive processes. By projecting historical surfaces onto the space of SDE model parameters, we obtain a distribution on the parameter subspace faithful to the data on which we then train a VAE. Arbitrage-free IV surfaces are then generated by sampling from the posterior distribution on the latent space, decoding to obtain SDE model parameters, and finally mapping those parameters to IV surfaces. We further refine the VAE model by including conditional features and demonstrate its superior generative out-of-sample performance.
Degree
thesis:*- Department dc:contributor.department
- Statistics
- Year dc:date.issued
- 2023
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Ning, Xin
- Advisor dc:contributor.advisor
-
- Jaimungal, Sebastian
Subjects
dc:subject × 5Rights
dc:rights- Statement dc:rights
-
- Attribution 4.0 International
- Licence dc:rights.uri
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/126893