An ‘optimal’ way to calculate future P&L distributions?
Quants use neural networks to upgrade classic options pricing model
Calculating the future profit and loss (P&L) distribution of non-linear portfolios is a tricky problem – one that is typically handled by running a series of Monte Carlo simulations, with all the computational burden that entails.
In Deep learning profit and loss, published in Risk.net this month, a trio of Italian quants attempt to solve the problem using neural networks for the first time.
“We wanted to compute the future P&L distribution of a portfolio with correlated assets and provide a semi-automatic system where new assets and complex structures can be added and computed easily,” explains Pietro Rossi, a senior analyst in the data science unit at Italian consultancy firm Prometeia, and an adjunct professor of computational finance at the University of Bologna.
The approach developed by Rossi and his co-authors – Giacomo Bormetti and Flavio Cocco – also professors at the University of Bologna, is a generalisation of the simulation-based Longstaff and Schwartz model introduced in 2011 to price American options. Key to that model is the so-called continuation value that a portfolio would have if options contained within were not exercised. This is calculated using polynomials that describe the payoffs of individual options in the portfolio.
Rossi and his co-authors eschew the polynomial approach and instead use neural networks to calculate the continuation value. This allows them to handle portfolios of non-linear or path-dependent products without the need to re-run optimisations or devise workarounds for individual options.
“With neural networks, we can easily fit complex products with articulated exercise surfaces without having to look for the clever regressors one would need with the standard Longstaff and Schwartz model,” says Rossi.
Our small technical innovation here is that at every point we generate a bunch of trajectories – 1,024, to be precise
Pietro Rossi, Prometeia
The polynomial approach has the advantage of simplicity. Relatively easily, interpolators can be built and the associated linear equations solved. But this only works with just one or a few vanilla products. It is difficult to apply this approach to a whole portfolio without running into the curse of dimensionality. And determining if and when an option will be exercised is a high-dimensional problem. It is typically solved by propagating backward the continuation value and comparing it to the current price to see whether or not is makes sense to exercise.
The Longstaff and Schwartz method uses only one trajectory to compute the backward-propagated continuation value. This is fine when dealing with American options, which are exercisable at any time, but it is unsatisfactory when dealing with Bermudan options that are exercisable at pre-defined dates.
“Our small technical innovation here is that at every point we generate a bunch of trajectories – 1,024, to be precise,” says Rossi. This is analogous to running a series of “small Monte Carlo simulations” to compute the future value, he adds.
By back-propagating all the potential future values, the neural network extracts the full P&L distribution, rather than just an expected price.
The authors tested the model with a sample portfolio of three options – an American put, a European call and a Bermudan call – written on the same underlying to show how it deals with portfolios of highly correlated assets. They found it was particularly beneficial in scenarios with a long time horizon. Using polynomials to calculate the P&L distribution of a product with a one-year maturity over different points in its life is “a tough task”, Rossi says. “By simulating the trajectories the way we do, this becomes easier.”
Optimal stopping time
The paper has generated some mild controversy in quant circles. The authors initially set out to explore potential applications of reinforcement learning in finance before ultimately deciding the calculation of the P&L distribution was best approached as an optimal stopping time problem.
Some quants are not convinced. “I would naturally opt to tackle the problem from a reinforcement learning angle,” the chief data scientist at a large global bank says after reading the paper, which he generally praises as an “original work on an important issue that is relevant to all banks”.
In reinforcement learning, an algorithm attempts to learn the sequence of actions an agent can take to maximise a defined function. This is easily analogous to modelling the behaviour of an options trader who buys and sells future payoffs with the aim of earning the highest returns.
But Rossi is adamant the optimal stopping time approach is the right one. “I disagree with the idea that a reinforcement learning approach would have been preferable,” he says. “In the financial literature, the optimal stopping time is a better understood concept, though reinforcement learning is probably more fashionable.”
The model is still in the early stages of development and has not yet been applied to real portfolios. Meanwhile, the authors are looking to apply their method to solve the more complex problem of calculating the P&L distribution of basket options.
Only users who have a paid subscription or are part of a corporate subscription are able to print or copy content.
To access these options, along with all other subscription benefits, please contact info@risk.net or view our subscription options here: http://subscriptions.risk.net/subscribe
You are currently unable to print this content. Please contact info@risk.net to find out more.
You are currently unable to copy this content. Please contact info@risk.net to find out more.
Copyright Infopro Digital Limited. All rights reserved.
As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (point 2.4), printing is limited to a single copy.
If you would like to purchase additional rights please email info@risk.net
Copyright Infopro Digital Limited. All rights reserved.
You may share this content using our article tools. As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (clause 2.4), an Authorised User may only make one copy of the materials for their own personal use. You must also comply with the restrictions in clause 2.5.
If you would like to purchase additional rights please email info@risk.net
More on Views
Quants dive into FX fixing windows debate
Longer fixing windows may benefit clients, but predicting how dealers will respond is tough
Podcast: Piterbarg and Nowaczyk on running better backtests
Quants discuss new way to extract independent samples from correlated datasets
BofA quants propose new model for when to hold, when to sell
Closed-form formula helps market-makers optimise exit strategies
Podcast: Alvaro Cartea on collusion within trading algos
Oxford-Man Institute director worries ML-based trading could have anti-competitive effects
Podcast: Lorenzo Ravagli on why the skew is for the many
JP Morgan quant proposes a unified framework for trading the volatility skew premium
Counterparty risk model links defaults to portfolio values
Fed’s Michael Pykhtin proposes using copula models to capture effects of margin calls on default risk
Podcast: Olivier Daviaud on P&L attribution for options
JP Morgan quant discusses his alternative to Greeks decomposition
Filling gaps in market data with optimal transport
Julius Baer quant proposes novel way to generate accurate prices for illiquid maturities