SlideShare a Scribd company logo
1 of 23
Download to read offline
Deep Learning in Finance
Summit
GANs for Option Pricing in Real-Time
Alexandre Combessie & Alexandre Hubert, Data Scientists @Dataiku
© Dataiku, Inc. 2019 | https://dataiku.com | alexandre.combessie@dataiku.com | @dataiku
March 19th, 2019
Engineer Summary
● The normal assumption in Black-Scholes
option pricing formula is outdated, duh.
● Generative Adversarial Networks (GANs) are
the new golden standard for simulation.
● Here is the story of how 2 data scientists
(inc. a former trader) deployed a GAN for
option pricing in real-time, in 10 days.
1. A Short History of Option Pricing
2. GANs for Time Series Generation
3. Option Pricing in Real-Time (demo!)
Agenda
A Short History of
Option Pricing
Options: contract that gives the bearer the right to buy or sell a stock at a given date for a given price
- Call: how much is the right to buy XYZ at 100 USD in 30 days worth?
- Put: how much is the right to sell XYZ at 100 USD in 30 days worth?
Subtleties in pricing such as
- Type of options (European/American)
- Dividends
Why is it so important to get the value right?
- To be competitive when a bid is coming from the market
- To avoid being the target of arbitrageurs...
Options 101
Black and Scholes to determine the fair price of the theoretical value for an option based on 6 parameters:
- Type of options (american/european)
- risk-free rate
- strike price
- underlying stock price
- time
- Volatility
Hypothesis: a stock follows a random walk where the volatility of the stock plays a big part.
The Black–Scholes–Merton model
If assumption is made that prices are distributed log normally - which may or not be true - then log
returns are conveniently normally distributed.
Volatility is a measure of the standard deviation of the log returns.
Modeling Stock Prices & Returns
In the Black-Scholes model, asset price St is assumed to follow a Geometric Brownian motion (GBM) as
defined by the stochastic differential equation
The Formula of Robert Brown et al.
Option Payoffs 101
Call: In exchange for a premium, the bearer has the right to buy the stock at the expiration date for a given price K.
Put: In exchange for a premium, the bearer has the right to sell the stock at the expiration date for a given price K.
1. Simulate a high number of trajectories for a stock
2. Compute the pay-off for each of the trajectory
3. Fair price as the average of the pay-offs
Just Monte Carlo it.
Does the distribution of returns really follow a normal distribution…? Not really.
Lots of improvement and more complex assumption to get better (ARCH/GARCH etc). But still.
How to Evaluate the Fair Price of an Option?
GANs for
Time Series
Generation
GAN is a Deep Learning model that aims to generate examples of real-world data that
are as realistic as possible.
Very famous recently for image generation.
Generative Adversarial Network 101
Fake or real ?
Getting Rid of the Normal Assumption
● Let’s try to use Deep learning to get something that is independent of human
interpretation:
● The main focus for GAN is to generate data from scratch
● It is composed of two networks - a generator and a discriminator
● The generator has to produce some times series of log-returns realistic enough
to fool the discriminator trained to recognize real log-returns times series.
Daily historic prices of SP500 stocks between 2002 and 2017:
1. Create chunk of time series of size 50. Those are our
real examples
2. Generate some fake times series (of size 50) starting
from noise - or can we be smarter?
3. Train a discriminator to flag the real from the fakes
4. Stop when the fake examples seem real enough
GAN GAN style plan
Tip: do not start from pure random noise but … from a GBM because it is what you want to improve.
A Simple Architecture to Demo the Approach
1. The Generator
A generator with 3 dense layers
Importance of the LeakyRelu activation function
Do not forget the dropout
A Simple Architecture to Demo the Approach
2. The Discriminator
Empirical VS Simulated Distributions of Returns
Option Pricing
in Real-Time
(demo!)
Conclusions
GAN tricks for smoother training => read the repo ganhacks by Soumith Chintala
Try some more complex architecture to have an even better times series generator:
- RGAN or RCGAN very appropriate for a stochastic use case (LSTM instead of Dense)
- Have the generator learn more directly from the discriminator: Wasserstein GAN
- Add some Gradient Penalty to the generator to prevent it from being too smart…
Also we did not take the time to implement some sort of error metric to see how much better we improve the
generation from one model to another: RMSE should be a good starting point.
Going Further
Conclusions
Conclusions
From English data
and Japanese affix –iku (育)
“To raise or bring up; to grow up”
Literally,”Data Education”
or ”Let’s Grow the Data skills”
データ
育

More Related Content

What's hot

Balancing Discovery and Continuation in Recommendations
Balancing Discovery and Continuation in RecommendationsBalancing Discovery and Continuation in Recommendations
Balancing Discovery and Continuation in RecommendationsMohammad Hossein Taghavi
 
Warsaw Data Science - Factorization Machines Introduction
Warsaw Data Science -  Factorization Machines IntroductionWarsaw Data Science -  Factorization Machines Introduction
Warsaw Data Science - Factorization Machines IntroductionBartlomiej Twardowski
 
CryENGINE 3 Rendering Techniques
CryENGINE 3 Rendering TechniquesCryENGINE 3 Rendering Techniques
CryENGINE 3 Rendering TechniquesTiago Sousa
 

What's hot (6)

Balancing Discovery and Continuation in Recommendations
Balancing Discovery and Continuation in RecommendationsBalancing Discovery and Continuation in Recommendations
Balancing Discovery and Continuation in Recommendations
 
Warsaw Data Science - Factorization Machines Introduction
Warsaw Data Science -  Factorization Machines IntroductionWarsaw Data Science -  Factorization Machines Introduction
Warsaw Data Science - Factorization Machines Introduction
 
Virgin Mobile Usa
Virgin Mobile UsaVirgin Mobile Usa
Virgin Mobile Usa
 
Gan intro
Gan introGan intro
Gan intro
 
Stochastic Screen-Space Reflections
Stochastic Screen-Space ReflectionsStochastic Screen-Space Reflections
Stochastic Screen-Space Reflections
 
CryENGINE 3 Rendering Techniques
CryENGINE 3 Rendering TechniquesCryENGINE 3 Rendering Techniques
CryENGINE 3 Rendering Techniques
 

Similar to Generative Adversarial Networks for Option Pricing in Real-Time

Bandit algorithms for website optimization - A summary
Bandit algorithms for website optimization - A summaryBandit algorithms for website optimization - A summary
Bandit algorithms for website optimization - A summaryKwanghee Choi
 
Using Java & Genetic Algorithms to Beat the Market
Using Java & Genetic Algorithms to Beat the MarketUsing Java & Genetic Algorithms to Beat the Market
Using Java & Genetic Algorithms to Beat the MarketMatthew Ring
 
Practical AI for Business: Bandit Algorithms
Practical AI for Business: Bandit AlgorithmsPractical AI for Business: Bandit Algorithms
Practical AI for Business: Bandit AlgorithmsSC5.io
 
Option Pricing Models Lecture NotesThis week’s assignment is .docx
Option Pricing Models Lecture NotesThis week’s assignment is .docxOption Pricing Models Lecture NotesThis week’s assignment is .docx
Option Pricing Models Lecture NotesThis week’s assignment is .docxhopeaustin33688
 
Mark-Jahn.Online-Auctions
Mark-Jahn.Online-AuctionsMark-Jahn.Online-Auctions
Mark-Jahn.Online-AuctionsMark Jahn
 
Video summarization using clustering
Video summarization using clusteringVideo summarization using clustering
Video summarization using clusteringSahil Biswas
 
Applying Deep Learning to Enhance Momentum Trading Strategies in Stocks
Applying Deep Learning to Enhance Momentum Trading Strategies in StocksApplying Deep Learning to Enhance Momentum Trading Strategies in Stocks
Applying Deep Learning to Enhance Momentum Trading Strategies in StocksLawrence Takeuchi
 
Using Large Language Models in 10 Lines of Code
Using Large Language Models in 10 Lines of CodeUsing Large Language Models in 10 Lines of Code
Using Large Language Models in 10 Lines of CodeGautier Marti
 
Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...
Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...
Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...Alok Singh
 
Optimum Investment Selection process-Nov 9-2013
Optimum Investment Selection process-Nov 9-2013Optimum Investment Selection process-Nov 9-2013
Optimum Investment Selection process-Nov 9-2013Gary Crosbie
 
Bonney_Saberseminar_2016
Bonney_Saberseminar_2016Bonney_Saberseminar_2016
Bonney_Saberseminar_2016Peter Bonney
 
Evolutionary Technique for Combinatorial Reverse Auctions
Evolutionary Technique for Combinatorial Reverse AuctionsEvolutionary Technique for Combinatorial Reverse Auctions
Evolutionary Technique for Combinatorial Reverse AuctionsShubhashis Shil
 
Adtech scala-performance-tuning-150323223738-conversion-gate01
Adtech scala-performance-tuning-150323223738-conversion-gate01Adtech scala-performance-tuning-150323223738-conversion-gate01
Adtech scala-performance-tuning-150323223738-conversion-gate01Giridhar Addepalli
 
Adtech x Scala x Performance tuning
Adtech x Scala x Performance tuningAdtech x Scala x Performance tuning
Adtech x Scala x Performance tuningYosuke Mizutani
 
Gopher in performance_tales_ms_go_cracow
Gopher in performance_tales_ms_go_cracowGopher in performance_tales_ms_go_cracow
Gopher in performance_tales_ms_go_cracowMateuszSzczyrzyca
 
LearningKit.ppt
LearningKit.pptLearningKit.ppt
LearningKit.pptbutest
 
option valuation
option valuation option valuation
option valuation latif812
 
Multi-Armed Bandit: an algorithmic perspective
Multi-Armed Bandit: an algorithmic perspectiveMulti-Armed Bandit: an algorithmic perspective
Multi-Armed Bandit: an algorithmic perspectiveGabriele Sottocornola
 

Similar to Generative Adversarial Networks for Option Pricing in Real-Time (20)

Bandit algorithms for website optimization - A summary
Bandit algorithms for website optimization - A summaryBandit algorithms for website optimization - A summary
Bandit algorithms for website optimization - A summary
 
Using Java & Genetic Algorithms to Beat the Market
Using Java & Genetic Algorithms to Beat the MarketUsing Java & Genetic Algorithms to Beat the Market
Using Java & Genetic Algorithms to Beat the Market
 
Practical AI for Business: Bandit Algorithms
Practical AI for Business: Bandit AlgorithmsPractical AI for Business: Bandit Algorithms
Practical AI for Business: Bandit Algorithms
 
project report(1)
project report(1)project report(1)
project report(1)
 
Option Pricing Models Lecture NotesThis week’s assignment is .docx
Option Pricing Models Lecture NotesThis week’s assignment is .docxOption Pricing Models Lecture NotesThis week’s assignment is .docx
Option Pricing Models Lecture NotesThis week’s assignment is .docx
 
Mark-Jahn.Online-Auctions
Mark-Jahn.Online-AuctionsMark-Jahn.Online-Auctions
Mark-Jahn.Online-Auctions
 
Video summarization using clustering
Video summarization using clusteringVideo summarization using clustering
Video summarization using clustering
 
Applying Deep Learning to Enhance Momentum Trading Strategies in Stocks
Applying Deep Learning to Enhance Momentum Trading Strategies in StocksApplying Deep Learning to Enhance Momentum Trading Strategies in Stocks
Applying Deep Learning to Enhance Momentum Trading Strategies in Stocks
 
Using Large Language Models in 10 Lines of Code
Using Large Language Models in 10 Lines of CodeUsing Large Language Models in 10 Lines of Code
Using Large Language Models in 10 Lines of Code
 
Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...
Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...
Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...
 
Optimum Investment Selection process-Nov 9-2013
Optimum Investment Selection process-Nov 9-2013Optimum Investment Selection process-Nov 9-2013
Optimum Investment Selection process-Nov 9-2013
 
Bonney_Saberseminar_2016
Bonney_Saberseminar_2016Bonney_Saberseminar_2016
Bonney_Saberseminar_2016
 
Evolutionary Technique for Combinatorial Reverse Auctions
Evolutionary Technique for Combinatorial Reverse AuctionsEvolutionary Technique for Combinatorial Reverse Auctions
Evolutionary Technique for Combinatorial Reverse Auctions
 
Adtech scala-performance-tuning-150323223738-conversion-gate01
Adtech scala-performance-tuning-150323223738-conversion-gate01Adtech scala-performance-tuning-150323223738-conversion-gate01
Adtech scala-performance-tuning-150323223738-conversion-gate01
 
Adtech x Scala x Performance tuning
Adtech x Scala x Performance tuningAdtech x Scala x Performance tuning
Adtech x Scala x Performance tuning
 
Gopher in performance_tales_ms_go_cracow
Gopher in performance_tales_ms_go_cracowGopher in performance_tales_ms_go_cracow
Gopher in performance_tales_ms_go_cracow
 
LearningKit.ppt
LearningKit.pptLearningKit.ppt
LearningKit.ppt
 
option valuation
option valuation option valuation
option valuation
 
Decision Making Process
Decision Making ProcessDecision Making Process
Decision Making Process
 
Multi-Armed Bandit: an algorithmic perspective
Multi-Armed Bandit: an algorithmic perspectiveMulti-Armed Bandit: an algorithmic perspective
Multi-Armed Bandit: an algorithmic perspective
 

Recently uploaded

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Generative Adversarial Networks for Option Pricing in Real-Time

  • 1. Deep Learning in Finance Summit GANs for Option Pricing in Real-Time Alexandre Combessie & Alexandre Hubert, Data Scientists @Dataiku © Dataiku, Inc. 2019 | https://dataiku.com | alexandre.combessie@dataiku.com | @dataiku March 19th, 2019
  • 2. Engineer Summary ● The normal assumption in Black-Scholes option pricing formula is outdated, duh. ● Generative Adversarial Networks (GANs) are the new golden standard for simulation. ● Here is the story of how 2 data scientists (inc. a former trader) deployed a GAN for option pricing in real-time, in 10 days.
  • 3. 1. A Short History of Option Pricing 2. GANs for Time Series Generation 3. Option Pricing in Real-Time (demo!) Agenda
  • 4. A Short History of Option Pricing
  • 5. Options: contract that gives the bearer the right to buy or sell a stock at a given date for a given price - Call: how much is the right to buy XYZ at 100 USD in 30 days worth? - Put: how much is the right to sell XYZ at 100 USD in 30 days worth? Subtleties in pricing such as - Type of options (European/American) - Dividends Why is it so important to get the value right? - To be competitive when a bid is coming from the market - To avoid being the target of arbitrageurs... Options 101
  • 6. Black and Scholes to determine the fair price of the theoretical value for an option based on 6 parameters: - Type of options (american/european) - risk-free rate - strike price - underlying stock price - time - Volatility Hypothesis: a stock follows a random walk where the volatility of the stock plays a big part. The Black–Scholes–Merton model
  • 7. If assumption is made that prices are distributed log normally - which may or not be true - then log returns are conveniently normally distributed. Volatility is a measure of the standard deviation of the log returns. Modeling Stock Prices & Returns
  • 8. In the Black-Scholes model, asset price St is assumed to follow a Geometric Brownian motion (GBM) as defined by the stochastic differential equation The Formula of Robert Brown et al.
  • 9. Option Payoffs 101 Call: In exchange for a premium, the bearer has the right to buy the stock at the expiration date for a given price K. Put: In exchange for a premium, the bearer has the right to sell the stock at the expiration date for a given price K.
  • 10. 1. Simulate a high number of trajectories for a stock 2. Compute the pay-off for each of the trajectory 3. Fair price as the average of the pay-offs Just Monte Carlo it.
  • 11. Does the distribution of returns really follow a normal distribution…? Not really. Lots of improvement and more complex assumption to get better (ARCH/GARCH etc). But still. How to Evaluate the Fair Price of an Option?
  • 13. GAN is a Deep Learning model that aims to generate examples of real-world data that are as realistic as possible. Very famous recently for image generation. Generative Adversarial Network 101 Fake or real ?
  • 14. Getting Rid of the Normal Assumption ● Let’s try to use Deep learning to get something that is independent of human interpretation: ● The main focus for GAN is to generate data from scratch ● It is composed of two networks - a generator and a discriminator ● The generator has to produce some times series of log-returns realistic enough to fool the discriminator trained to recognize real log-returns times series.
  • 15. Daily historic prices of SP500 stocks between 2002 and 2017: 1. Create chunk of time series of size 50. Those are our real examples 2. Generate some fake times series (of size 50) starting from noise - or can we be smarter? 3. Train a discriminator to flag the real from the fakes 4. Stop when the fake examples seem real enough GAN GAN style plan
  • 16. Tip: do not start from pure random noise but … from a GBM because it is what you want to improve. A Simple Architecture to Demo the Approach 1. The Generator
  • 17. A generator with 3 dense layers Importance of the LeakyRelu activation function Do not forget the dropout A Simple Architecture to Demo the Approach 2. The Discriminator
  • 18. Empirical VS Simulated Distributions of Returns
  • 21. GAN tricks for smoother training => read the repo ganhacks by Soumith Chintala Try some more complex architecture to have an even better times series generator: - RGAN or RCGAN very appropriate for a stochastic use case (LSTM instead of Dense) - Have the generator learn more directly from the discriminator: Wasserstein GAN - Add some Gradient Penalty to the generator to prevent it from being too smart… Also we did not take the time to implement some sort of error metric to see how much better we improve the generation from one model to another: RMSE should be a good starting point. Going Further
  • 23. Conclusions From English data and Japanese affix –iku (育) “To raise or bring up; to grow up” Literally,”Data Education” or ”Let’s Grow the Data skills” データ 育