SlideShare a Scribd company logo
1 of 25
Download to read offline
ADVANCED MACHINE LEARNING IN
ALGORITHMIC TRADING
―
LESSONS LEARNED IN THE REAL WORLD
Ulrich Bodenhofer
Chief Artificial Intelligence Officer
2 QUOMATIC.AI
• Since the advent of data-driven modeling approaches,
predictions of financial markets have always been a highly
fascinating subject.
• For decades, researchers and practitioners have been working
on this subject.
• Recently, deep learning has emerged along with the
availability of fantastic computing resources and the
abundance and recency of all sorts of data.
AI/ML APPLIED TO FINANCIAL MARKETS
3 QUOMATIC.AI
CONSTANT BUZZ
These are just random examples. There are thousands other articles like those …
4 QUOMATIC.AI
EVEN SCAMS!
5 QUOMATIC.AI
AI TOP TEN USE CASES 2025 [Source: Tractica Research]
0 500 1000 1500 2000 2500 3000
Contract Analysis
Object detection and classification - avoidance, navigation
Object identification, detection, classification, tracking
Automated geophysical feature detection
Text query of images
Content distribution on social media
Predictive maintenance
Efficient, scalable processing of patient data
Static image recognition, classification, and tagging
Algorithmic trading strategy performance improvement
$ Millions
6 QUOMATIC.AI
Definition: Algorithmic trading is a method of executing orders using
automated pre-programmed trading instructions […].
Almost needless to say, algorithmic trading is a perfect “playground”
for artificial intelligence (AI) / machine learning (ML) algorithms.
ALGORITHMIC TRADING
7 QUOMATIC.AI
(1) Financial markets are extremely difficult to predict.
(2) Not everybody can win.
SCAMS ASIDE―WHY AREN‘T WE ALL RICH?
8 QUOMATIC.AI
ML IN FINANCE ≠ ML IN OTHER DOMAINS (1/2)
Text book knowledge:
• Data drawn independently from the same distribution
▪ performance estimates using test sets or cross validation
Finance:
• Data characteristics change over time (non-stationarity); WTF is independence?
▪ Selection of training and test samples/periods is crucial
▪ Strong risk to overfit to certain periods or even single “unicorn” trades
• More noise than signal
• Biases / class imbalances (e.g. long bias)
EVEN IF YOUR BACKTEST IS FLAWLESS, IT IS PROBABLY WRONG
Section heading in Advances in Financial Machine Learning by M. Lopez de Prado (Wiley, 2018)
9 QUOMATIC.AI
ML IN FINANCE ≠ ML IN OTHER DOMAINS (2/2)
Text book knowledge:
• Repertoire of standard performance measures:
• Accuracy, area under the ROC curve, cross entropy, mean squared error
• Optimization via gradient descent often possible
Finance:
• Accuracy is pointless! All other traditional measures are of limited value, too.
• True objectives: return, Sharpe ratio
• Based on discrete buy/sell signals → not differentiable
10 QUOMATIC.AI
EXAMPLES
GUESS!
11 QUOMATIC.AI
ML IN FINANCE: OFTEN APPLIED NAIVELY
• To have better-than-random predictions is not the solution, but only a start!
The reasons are:
• Limited liquidity
• Trading costs
• Slippage
• Market impact
• To devise a successful trading strategy often ignores the above points. Additional
issues that have to be taken into account are:
• Allocation
• Risk management
• Non-stationary market behavior vs. limited data
12 QUOMATIC.AI
(1) I once was a victim of believing that machine learning can give you
a quick win.
(2) We (colleagues at QUOMATIC.AI and me), however, managed to
develop and implement a successful system.
WHY AM I TELLING YOU THIS?
14 QUOMATIC.AI
• Use market sentiment from various sources
• Use ensembles of recurrent neural networks (LSTM) for short-term
price predictions; hyperparameter selection: random search
• Employ custom trading strategy that exploits prediction signals
• Optimize parameters of trading strategy using stochastic
optimization
• Continuous re-evaluation and re-training of system
• Implementation of training pipeline and signal generation system in
R with Keras/TensorFlow
GENERAL APPROACH
15 QUOMATIC.AI
LONG SHORT-TERM MEMORY [Hochreiter & Schmidhuber, 1997]
16 QUOMATIC.AI
• Moving window aggregates (15-60 min.) evaluated minute-wise
• Use multiple time series of correlated instruments and commodities
• Train models specifically for different levels of volatility
• Proper normalization of data
• Symmetrize data to avoid long bias
• For judging predictions, optimize for ROC-AUC
• Simulate transactions
• Take trading costs into account
• Apply explicit risk/money management
• Meta-selector that chooses models according to previous (hypothetical
performance)
SPECIAL TRICKS
17 QUOMATIC.AI
EXAMPLES
18 QUOMATIC.AI
• ML in finance is highly challenging, but can be successful.
• ML textbook knowledge cannot be used naively in finance.
• To overcome this domain gap, seamless integration of finance
and ML competences is mandatory!
CONCLUDING REMARKS (1/2)
19 QUOMATIC.AI
• Avoid shark ponds (like day-trading) ― better watch out for niches!
• Since AI/ML is heavily used now, there is no advantage of applying
AI/ML per se anymore!
• Predictive patterns utilizing market inefficiencies quickly become void
as soon as competing market participants use them too.
• However, the crucial advantage is ― and has always been ― to know
more and to be faster than competitors, regardless of whether AI/ML
is involved!
CONCLUDING REMARKS (2/2)
20 QUOMATIC.AI
ADVANCED SALES ANALYTICS WITH AI
Use cases:
• Recommendations
• Guided selling
• Demand forecasting
• Churn Prediction
• Lead scoring = prediction if lead will
turn into customer
• Opportunity scoring = prediction if
quote will turn into an order
Definition:
OPPORTUNITY = Business opportunity = offer/quote
21 QUOMATIC.AI
OPPORTUNITY SCORING WITH AI
• Many vendors/service providers offer their goods/services in a
strongly individualized manner.
• Quotes can be diverse and complex.
• Many vendors/service providers have large volumes of data from
previous years.
→ Prediction model for probability that a quote turns into an order
→ Identification of relevant parameters
22 QUOMATIC.AI
OPPORTUNITY SCORING
23 QUOMATIC.AI
OPPORTUNITY SCORING
1. Influence diagram: analysis of
pos./neg. influences on order
probability
2. What-if analysis: how do
changes in the offer change the
order probability?
24 QUOMATIC.AI
WHEN IS THIS APPROACH APPLICABLE?
1. Sufficient data about quotes in the past.
2. It is known (and electronically available) which quotes
have been successful.
3. Sufficient variability of quotes
4. Mapping of quotes into a structurized, tabular data
format is possible.
25 QUOMATIC.AI
VISION ― QUOTE OPTIMIZATION
• Identify influences
→ CONTROL influences
• Examples:
• Targeted campaigns
• Dynamic pricing
26 QUOMATIC.AI
QUOMATIC.AI ― USPs
• Newest AI methods
• „Explainable AI“
• Highly precise models
• Seemless integration of solutions into
customers‘ systems
• Continuously learning systems
• Rapid deployment using
suite

More Related Content

What's hot

IRJET- Stock Price Prediction using Long Short Term Memory
IRJET-  	  Stock Price Prediction using Long Short Term MemoryIRJET-  	  Stock Price Prediction using Long Short Term Memory
IRJET- Stock Price Prediction using Long Short Term MemoryIRJET Journal
 
Pratik_Nawani_Executive Summary_J025_71112110004
Pratik_Nawani_Executive Summary_J025_71112110004Pratik_Nawani_Executive Summary_J025_71112110004
Pratik_Nawani_Executive Summary_J025_71112110004Pratik Nawani
 
Bayesian Portfolio Allocation
Bayesian Portfolio AllocationBayesian Portfolio Allocation
Bayesian Portfolio AllocationQuantUniversity
 
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016Quantopian
 
Ronald Menich, Chief Data Scientist, Predictix, LLC at MLconf NYC
Ronald Menich, Chief Data Scientist, Predictix, LLC at MLconf NYCRonald Menich, Chief Data Scientist, Predictix, LLC at MLconf NYC
Ronald Menich, Chief Data Scientist, Predictix, LLC at MLconf NYCMLconf
 
ISG’s TBM Market Insights
ISG’s TBM Market InsightsISG’s TBM Market Insights
ISG’s TBM Market InsightsChristopher King
 
EXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical AspectsEXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical AspectsEXANTE
 
Quant congressusa2011algotradinglast
Quant congressusa2011algotradinglastQuant congressusa2011algotradinglast
Quant congressusa2011algotradinglastTomasz Waszczyk
 
Katin, Igor , Mockus, Jonas , Katina, Joana „Apie eksperimentinį investavimo ...
Katin, Igor , Mockus, Jonas , Katina, Joana „Apie eksperimentinį investavimo ...Katin, Igor , Mockus, Jonas , Katina, Joana „Apie eksperimentinį investavimo ...
Katin, Igor , Mockus, Jonas , Katina, Joana „Apie eksperimentinį investavimo ...Lietuvos kompiuterininkų sąjunga
 
Quantified News Based Trading: Is it the next big thing in algorithmic trading?
Quantified News Based Trading: Is it the next big thing in algorithmic trading?Quantified News Based Trading: Is it the next big thing in algorithmic trading?
Quantified News Based Trading: Is it the next big thing in algorithmic trading?QuantInsti
 
Algorithmic Trading in FX Market By Dr. Alexis Stenfors
Algorithmic Trading in FX Market By Dr. Alexis StenforsAlgorithmic Trading in FX Market By Dr. Alexis Stenfors
Algorithmic Trading in FX Market By Dr. Alexis StenforsQuantInsti
 

What's hot (14)

IRJET- Stock Price Prediction using Long Short Term Memory
IRJET-  	  Stock Price Prediction using Long Short Term MemoryIRJET-  	  Stock Price Prediction using Long Short Term Memory
IRJET- Stock Price Prediction using Long Short Term Memory
 
Pratik_Nawani_Executive Summary_J025_71112110004
Pratik_Nawani_Executive Summary_J025_71112110004Pratik_Nawani_Executive Summary_J025_71112110004
Pratik_Nawani_Executive Summary_J025_71112110004
 
Bayesian Portfolio Allocation
Bayesian Portfolio AllocationBayesian Portfolio Allocation
Bayesian Portfolio Allocation
 
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
 
Ronald Menich, Chief Data Scientist, Predictix, LLC at MLconf NYC
Ronald Menich, Chief Data Scientist, Predictix, LLC at MLconf NYCRonald Menich, Chief Data Scientist, Predictix, LLC at MLconf NYC
Ronald Menich, Chief Data Scientist, Predictix, LLC at MLconf NYC
 
CV Vivek_Anand
CV Vivek_AnandCV Vivek_Anand
CV Vivek_Anand
 
ISG’s TBM Market Insights
ISG’s TBM Market InsightsISG’s TBM Market Insights
ISG’s TBM Market Insights
 
EXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical AspectsEXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical Aspects
 
Adaptix_2013
Adaptix_2013Adaptix_2013
Adaptix_2013
 
Quant congressusa2011algotradinglast
Quant congressusa2011algotradinglastQuant congressusa2011algotradinglast
Quant congressusa2011algotradinglast
 
Katin, Igor , Mockus, Jonas , Katina, Joana „Apie eksperimentinį investavimo ...
Katin, Igor , Mockus, Jonas , Katina, Joana „Apie eksperimentinį investavimo ...Katin, Igor , Mockus, Jonas , Katina, Joana „Apie eksperimentinį investavimo ...
Katin, Igor , Mockus, Jonas , Katina, Joana „Apie eksperimentinį investavimo ...
 
Quantified News Based Trading: Is it the next big thing in algorithmic trading?
Quantified News Based Trading: Is it the next big thing in algorithmic trading?Quantified News Based Trading: Is it the next big thing in algorithmic trading?
Quantified News Based Trading: Is it the next big thing in algorithmic trading?
 
STOCK MARKET PREDICTION
STOCK MARKET PREDICTIONSTOCK MARKET PREDICTION
STOCK MARKET PREDICTION
 
Algorithmic Trading in FX Market By Dr. Alexis Stenfors
Algorithmic Trading in FX Market By Dr. Alexis StenforsAlgorithmic Trading in FX Market By Dr. Alexis Stenfors
Algorithmic Trading in FX Market By Dr. Alexis Stenfors
 

Similar to Deep learning in algorithmic trading

Balancing quantitative models with common sense 2008
Balancing quantitative models with common sense 2008Balancing quantitative models with common sense 2008
Balancing quantitative models with common sense 2008yamanote
 
Machine Learning for Finance Master Class
Machine Learning for Finance Master Class Machine Learning for Finance Master Class
Machine Learning for Finance Master Class QuantUniversity
 
Success case of modern algorithms applied in FMCG industry - Alberto Molinero...
Success case of modern algorithms applied in FMCG industry - Alberto Molinero...Success case of modern algorithms applied in FMCG industry - Alberto Molinero...
Success case of modern algorithms applied in FMCG industry - Alberto Molinero...Institute of Contemporary Sciences
 
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETSUNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETSRiya Sen
 
Self Service Outline Updated 8 js
Self Service Outline Updated 8 jsSelf Service Outline Updated 8 js
Self Service Outline Updated 8 jsJulia Smith
 
Business ideas and market analysis 070904 v2 (1)
Business ideas and market analysis 070904 v2 (1)Business ideas and market analysis 070904 v2 (1)
Business ideas and market analysis 070904 v2 (1)Ajay Dadhich
 
Ml master class northeastern university
Ml master class   northeastern universityMl master class   northeastern university
Ml master class northeastern universityQuantUniversity
 
Machine Learning and AI in Risk Management
Machine Learning and AI in Risk ManagementMachine Learning and AI in Risk Management
Machine Learning and AI in Risk ManagementQuantUniversity
 
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...Antoine Savine
 
Solutions Using WSO2 Analytics
Solutions Using WSO2 AnalyticsSolutions Using WSO2 Analytics
Solutions Using WSO2 AnalyticsWSO2
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with SimulationProModel Corporation
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSteve Haekler
 
Practical model management in the age of Data science and ML
Practical model management in the age of Data science and MLPractical model management in the age of Data science and ML
Practical model management in the age of Data science and MLQuantUniversity
 
AI Class Topic 3: Building Machine Learning Predictive Systems (Predictive Ma...
AI Class Topic 3: Building Machine Learning Predictive Systems (Predictive Ma...AI Class Topic 3: Building Machine Learning Predictive Systems (Predictive Ma...
AI Class Topic 3: Building Machine Learning Predictive Systems (Predictive Ma...Value Amplify Consulting
 
Fashion and Luxury - From sell through to risk-based management
Fashion and Luxury - From sell through to risk-based management Fashion and Luxury - From sell through to risk-based management
Fashion and Luxury - From sell through to risk-based management Decision Science Community
 

Similar to Deep learning in algorithmic trading (20)

Balancing quantitative models with common sense 2008
Balancing quantitative models with common sense 2008Balancing quantitative models with common sense 2008
Balancing quantitative models with common sense 2008
 
Machine Learning for Finance Master Class
Machine Learning for Finance Master Class Machine Learning for Finance Master Class
Machine Learning for Finance Master Class
 
Success case of modern algorithms applied in FMCG industry - Alberto Molinero...
Success case of modern algorithms applied in FMCG industry - Alberto Molinero...Success case of modern algorithms applied in FMCG industry - Alberto Molinero...
Success case of modern algorithms applied in FMCG industry - Alberto Molinero...
 
Ml conference slides
Ml conference slidesMl conference slides
Ml conference slides
 
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETSUNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
 
Lecture 1 introduction
Lecture 1 introductionLecture 1 introduction
Lecture 1 introduction
 
Self Service Outline Updated 8 js
Self Service Outline Updated 8 jsSelf Service Outline Updated 8 js
Self Service Outline Updated 8 js
 
Business ideas and market analysis 070904 v2 (1)
Business ideas and market analysis 070904 v2 (1)Business ideas and market analysis 070904 v2 (1)
Business ideas and market analysis 070904 v2 (1)
 
Ml master class
Ml master classMl master class
Ml master class
 
Hackathon
HackathonHackathon
Hackathon
 
Ml master class northeastern university
Ml master class   northeastern universityMl master class   northeastern university
Ml master class northeastern university
 
Machine Learning and AI in Risk Management
Machine Learning and AI in Risk ManagementMachine Learning and AI in Risk Management
Machine Learning and AI in Risk Management
 
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
 
Solutions Using WSO2 Analytics
Solutions Using WSO2 AnalyticsSolutions Using WSO2 Analytics
Solutions Using WSO2 Analytics
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with Simulation
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with Simulation
 
Practical model management in the age of Data science and ML
Practical model management in the age of Data science and MLPractical model management in the age of Data science and ML
Practical model management in the age of Data science and ML
 
AI Class Topic 3: Building Machine Learning Predictive Systems (Predictive Ma...
AI Class Topic 3: Building Machine Learning Predictive Systems (Predictive Ma...AI Class Topic 3: Building Machine Learning Predictive Systems (Predictive Ma...
AI Class Topic 3: Building Machine Learning Predictive Systems (Predictive Ma...
 
Fashion and Luxury - From sell through to risk-based management
Fashion and Luxury - From sell through to risk-based management Fashion and Luxury - From sell through to risk-based management
Fashion and Luxury - From sell through to risk-based management
 
Corporate presentation
Corporate presentationCorporate presentation
Corporate presentation
 

More from Vienna Data Science Group

Multi state churn analysis with a subscription product
Multi state churn analysis with a subscription productMulti state churn analysis with a subscription product
Multi state churn analysis with a subscription productVienna Data Science Group
 
Liability for machine learning systems by Daniel Deutsch
Liability for machine learning systems by Daniel DeutschLiability for machine learning systems by Daniel Deutsch
Liability for machine learning systems by Daniel DeutschVienna Data Science Group
 
How to get into Kaggle? by Philipp Singer and Dmitry Gordeev
How to get into Kaggle? by Philipp Singer and Dmitry GordeevHow to get into Kaggle? by Philipp Singer and Dmitry Gordeev
How to get into Kaggle? by Philipp Singer and Dmitry GordeevVienna Data Science Group
 
NLP in a Bank: Automated Document Reading: Yevgen Kolesnyk / Patrik Zatko / D...
NLP in a Bank: Automated Document Reading: Yevgen Kolesnyk / Patrik Zatko / D...NLP in a Bank: Automated Document Reading: Yevgen Kolesnyk / Patrik Zatko / D...
NLP in a Bank: Automated Document Reading: Yevgen Kolesnyk / Patrik Zatko / D...Vienna Data Science Group
 
Anita Graser: Analyzing Movment Data with MovingPandas
Anita Graser: Analyzing Movment Data  with MovingPandas Anita Graser: Analyzing Movment Data  with MovingPandas
Anita Graser: Analyzing Movment Data with MovingPandas Vienna Data Science Group
 
Armin Rabitsch's presentation on the importance of social media in the electi...
Armin Rabitsch's presentation on the importance of social media in the electi...Armin Rabitsch's presentation on the importance of social media in the electi...
Armin Rabitsch's presentation on the importance of social media in the electi...Vienna Data Science Group
 
Martina Chichi describes Amnesty International Italy's Barometer of Hate Project
Martina Chichi describes Amnesty International Italy's Barometer of Hate ProjectMartina Chichi describes Amnesty International Italy's Barometer of Hate Project
Martina Chichi describes Amnesty International Italy's Barometer of Hate ProjectVienna Data Science Group
 
Roessler, Hafner - Modelling and Simulation in Industrial Applications: Apply...
Roessler, Hafner - Modelling and Simulation in Industrial Applications: Apply...Roessler, Hafner - Modelling and Simulation in Industrial Applications: Apply...
Roessler, Hafner - Modelling and Simulation in Industrial Applications: Apply...Vienna Data Science Group
 
Wastian, Brunmeir - Data Analyses in Industrial Applications: From Predictive...
Wastian, Brunmeir - Data Analyses in Industrial Applications: From Predictive...Wastian, Brunmeir - Data Analyses in Industrial Applications: From Predictive...
Wastian, Brunmeir - Data Analyses in Industrial Applications: From Predictive...Vienna Data Science Group
 
Openfabnet - A collaborative approach towards industry 4.0 based on open sour...
Openfabnet - A collaborative approach towards industry 4.0 based on open sour...Openfabnet - A collaborative approach towards industry 4.0 based on open sour...
Openfabnet - A collaborative approach towards industry 4.0 based on open sour...Vienna Data Science Group
 
Lange - Industrial Data Space – Digital Sovereignty over Data
Lange - Industrial Data Space – Digital Sovereignty over DataLange - Industrial Data Space – Digital Sovereignty over Data
Lange - Industrial Data Space – Digital Sovereignty over DataVienna Data Science Group
 
Donner - Deep Learning - Overview and practical aspects
Donner - Deep Learning - Overview and practical aspectsDonner - Deep Learning - Overview and practical aspects
Donner - Deep Learning - Overview and practical aspectsVienna Data Science Group
 
Langs - Machine Learning in Medical Imaging: Learning from Large-scale popula...
Langs - Machine Learning in Medical Imaging: Learning from Large-scale popula...Langs - Machine Learning in Medical Imaging: Learning from Large-scale popula...
Langs - Machine Learning in Medical Imaging: Learning from Large-scale popula...Vienna Data Science Group
 
Brunauer, Weidinger - Welcome from the Vienna Data Science Group
Brunauer, Weidinger - Welcome from the Vienna Data Science GroupBrunauer, Weidinger - Welcome from the Vienna Data Science Group
Brunauer, Weidinger - Welcome from the Vienna Data Science GroupVienna Data Science Group
 
Data Market Austria and Data Science Continuing Education Course
Data Market Austria and Data Science Continuing Education CourseData Market Austria and Data Science Continuing Education Course
Data Market Austria and Data Science Continuing Education CourseVienna Data Science Group
 

More from Vienna Data Science Group (20)

Multi state churn analysis with a subscription product
Multi state churn analysis with a subscription productMulti state churn analysis with a subscription product
Multi state churn analysis with a subscription product
 
Modelling the-spread-of-sars-cov-2
Modelling the-spread-of-sars-cov-2Modelling the-spread-of-sars-cov-2
Modelling the-spread-of-sars-cov-2
 
Deeplearning ai june-sharable (1)
Deeplearning ai june-sharable (1)Deeplearning ai june-sharable (1)
Deeplearning ai june-sharable (1)
 
Liability for machine learning systems by Daniel Deutsch
Liability for machine learning systems by Daniel DeutschLiability for machine learning systems by Daniel Deutsch
Liability for machine learning systems by Daniel Deutsch
 
On data literacy by Marek Danis
On data literacy by Marek Danis On data literacy by Marek Danis
On data literacy by Marek Danis
 
How to get into Kaggle? by Philipp Singer and Dmitry Gordeev
How to get into Kaggle? by Philipp Singer and Dmitry GordeevHow to get into Kaggle? by Philipp Singer and Dmitry Gordeev
How to get into Kaggle? by Philipp Singer and Dmitry Gordeev
 
NLP in a Bank: Automated Document Reading: Yevgen Kolesnyk / Patrik Zatko / D...
NLP in a Bank: Automated Document Reading: Yevgen Kolesnyk / Patrik Zatko / D...NLP in a Bank: Automated Document Reading: Yevgen Kolesnyk / Patrik Zatko / D...
NLP in a Bank: Automated Document Reading: Yevgen Kolesnyk / Patrik Zatko / D...
 
Anita Graser: Analyzing Movment Data with MovingPandas
Anita Graser: Analyzing Movment Data  with MovingPandas Anita Graser: Analyzing Movment Data  with MovingPandas
Anita Graser: Analyzing Movment Data with MovingPandas
 
Armin Rabitsch's presentation on the importance of social media in the electi...
Armin Rabitsch's presentation on the importance of social media in the electi...Armin Rabitsch's presentation on the importance of social media in the electi...
Armin Rabitsch's presentation on the importance of social media in the electi...
 
Martina Chichi describes Amnesty International Italy's Barometer of Hate Project
Martina Chichi describes Amnesty International Italy's Barometer of Hate ProjectMartina Chichi describes Amnesty International Italy's Barometer of Hate Project
Martina Chichi describes Amnesty International Italy's Barometer of Hate Project
 
Vdsg /Craftworks Industrial-AI
Vdsg /Craftworks Industrial-AIVdsg /Craftworks Industrial-AI
Vdsg /Craftworks Industrial-AI
 
Roessler, Hafner - Modelling and Simulation in Industrial Applications: Apply...
Roessler, Hafner - Modelling and Simulation in Industrial Applications: Apply...Roessler, Hafner - Modelling and Simulation in Industrial Applications: Apply...
Roessler, Hafner - Modelling and Simulation in Industrial Applications: Apply...
 
Wastian, Brunmeir - Data Analyses in Industrial Applications: From Predictive...
Wastian, Brunmeir - Data Analyses in Industrial Applications: From Predictive...Wastian, Brunmeir - Data Analyses in Industrial Applications: From Predictive...
Wastian, Brunmeir - Data Analyses in Industrial Applications: From Predictive...
 
Openfabnet - A collaborative approach towards industry 4.0 based on open sour...
Openfabnet - A collaborative approach towards industry 4.0 based on open sour...Openfabnet - A collaborative approach towards industry 4.0 based on open sour...
Openfabnet - A collaborative approach towards industry 4.0 based on open sour...
 
Lange - Industrial Data Space – Digital Sovereignty over Data
Lange - Industrial Data Space – Digital Sovereignty over DataLange - Industrial Data Space – Digital Sovereignty over Data
Lange - Industrial Data Space – Digital Sovereignty over Data
 
Industry 4.0 by VDSG and Informance
Industry 4.0 by VDSG and InformanceIndustry 4.0 by VDSG and Informance
Industry 4.0 by VDSG and Informance
 
Donner - Deep Learning - Overview and practical aspects
Donner - Deep Learning - Overview and practical aspectsDonner - Deep Learning - Overview and practical aspects
Donner - Deep Learning - Overview and practical aspects
 
Langs - Machine Learning in Medical Imaging: Learning from Large-scale popula...
Langs - Machine Learning in Medical Imaging: Learning from Large-scale popula...Langs - Machine Learning in Medical Imaging: Learning from Large-scale popula...
Langs - Machine Learning in Medical Imaging: Learning from Large-scale popula...
 
Brunauer, Weidinger - Welcome from the Vienna Data Science Group
Brunauer, Weidinger - Welcome from the Vienna Data Science GroupBrunauer, Weidinger - Welcome from the Vienna Data Science Group
Brunauer, Weidinger - Welcome from the Vienna Data Science Group
 
Data Market Austria and Data Science Continuing Education Course
Data Market Austria and Data Science Continuing Education CourseData Market Austria and Data Science Continuing Education Course
Data Market Austria and Data Science Continuing Education Course
 

Recently uploaded

办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 

Recently uploaded (20)

办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 

Deep learning in algorithmic trading

  • 1. ADVANCED MACHINE LEARNING IN ALGORITHMIC TRADING ― LESSONS LEARNED IN THE REAL WORLD Ulrich Bodenhofer Chief Artificial Intelligence Officer
  • 2. 2 QUOMATIC.AI • Since the advent of data-driven modeling approaches, predictions of financial markets have always been a highly fascinating subject. • For decades, researchers and practitioners have been working on this subject. • Recently, deep learning has emerged along with the availability of fantastic computing resources and the abundance and recency of all sorts of data. AI/ML APPLIED TO FINANCIAL MARKETS
  • 3. 3 QUOMATIC.AI CONSTANT BUZZ These are just random examples. There are thousands other articles like those …
  • 5. 5 QUOMATIC.AI AI TOP TEN USE CASES 2025 [Source: Tractica Research] 0 500 1000 1500 2000 2500 3000 Contract Analysis Object detection and classification - avoidance, navigation Object identification, detection, classification, tracking Automated geophysical feature detection Text query of images Content distribution on social media Predictive maintenance Efficient, scalable processing of patient data Static image recognition, classification, and tagging Algorithmic trading strategy performance improvement $ Millions
  • 6. 6 QUOMATIC.AI Definition: Algorithmic trading is a method of executing orders using automated pre-programmed trading instructions […]. Almost needless to say, algorithmic trading is a perfect “playground” for artificial intelligence (AI) / machine learning (ML) algorithms. ALGORITHMIC TRADING
  • 7. 7 QUOMATIC.AI (1) Financial markets are extremely difficult to predict. (2) Not everybody can win. SCAMS ASIDE―WHY AREN‘T WE ALL RICH?
  • 8. 8 QUOMATIC.AI ML IN FINANCE ≠ ML IN OTHER DOMAINS (1/2) Text book knowledge: • Data drawn independently from the same distribution ▪ performance estimates using test sets or cross validation Finance: • Data characteristics change over time (non-stationarity); WTF is independence? ▪ Selection of training and test samples/periods is crucial ▪ Strong risk to overfit to certain periods or even single “unicorn” trades • More noise than signal • Biases / class imbalances (e.g. long bias) EVEN IF YOUR BACKTEST IS FLAWLESS, IT IS PROBABLY WRONG Section heading in Advances in Financial Machine Learning by M. Lopez de Prado (Wiley, 2018)
  • 9. 9 QUOMATIC.AI ML IN FINANCE ≠ ML IN OTHER DOMAINS (2/2) Text book knowledge: • Repertoire of standard performance measures: • Accuracy, area under the ROC curve, cross entropy, mean squared error • Optimization via gradient descent often possible Finance: • Accuracy is pointless! All other traditional measures are of limited value, too. • True objectives: return, Sharpe ratio • Based on discrete buy/sell signals → not differentiable
  • 11. 11 QUOMATIC.AI ML IN FINANCE: OFTEN APPLIED NAIVELY • To have better-than-random predictions is not the solution, but only a start! The reasons are: • Limited liquidity • Trading costs • Slippage • Market impact • To devise a successful trading strategy often ignores the above points. Additional issues that have to be taken into account are: • Allocation • Risk management • Non-stationary market behavior vs. limited data
  • 12. 12 QUOMATIC.AI (1) I once was a victim of believing that machine learning can give you a quick win. (2) We (colleagues at QUOMATIC.AI and me), however, managed to develop and implement a successful system. WHY AM I TELLING YOU THIS?
  • 13. 14 QUOMATIC.AI • Use market sentiment from various sources • Use ensembles of recurrent neural networks (LSTM) for short-term price predictions; hyperparameter selection: random search • Employ custom trading strategy that exploits prediction signals • Optimize parameters of trading strategy using stochastic optimization • Continuous re-evaluation and re-training of system • Implementation of training pipeline and signal generation system in R with Keras/TensorFlow GENERAL APPROACH
  • 14. 15 QUOMATIC.AI LONG SHORT-TERM MEMORY [Hochreiter & Schmidhuber, 1997]
  • 15. 16 QUOMATIC.AI • Moving window aggregates (15-60 min.) evaluated minute-wise • Use multiple time series of correlated instruments and commodities • Train models specifically for different levels of volatility • Proper normalization of data • Symmetrize data to avoid long bias • For judging predictions, optimize for ROC-AUC • Simulate transactions • Take trading costs into account • Apply explicit risk/money management • Meta-selector that chooses models according to previous (hypothetical performance) SPECIAL TRICKS
  • 17. 18 QUOMATIC.AI • ML in finance is highly challenging, but can be successful. • ML textbook knowledge cannot be used naively in finance. • To overcome this domain gap, seamless integration of finance and ML competences is mandatory! CONCLUDING REMARKS (1/2)
  • 18. 19 QUOMATIC.AI • Avoid shark ponds (like day-trading) ― better watch out for niches! • Since AI/ML is heavily used now, there is no advantage of applying AI/ML per se anymore! • Predictive patterns utilizing market inefficiencies quickly become void as soon as competing market participants use them too. • However, the crucial advantage is ― and has always been ― to know more and to be faster than competitors, regardless of whether AI/ML is involved! CONCLUDING REMARKS (2/2)
  • 19. 20 QUOMATIC.AI ADVANCED SALES ANALYTICS WITH AI Use cases: • Recommendations • Guided selling • Demand forecasting • Churn Prediction • Lead scoring = prediction if lead will turn into customer • Opportunity scoring = prediction if quote will turn into an order Definition: OPPORTUNITY = Business opportunity = offer/quote
  • 20. 21 QUOMATIC.AI OPPORTUNITY SCORING WITH AI • Many vendors/service providers offer their goods/services in a strongly individualized manner. • Quotes can be diverse and complex. • Many vendors/service providers have large volumes of data from previous years. → Prediction model for probability that a quote turns into an order → Identification of relevant parameters
  • 22. 23 QUOMATIC.AI OPPORTUNITY SCORING 1. Influence diagram: analysis of pos./neg. influences on order probability 2. What-if analysis: how do changes in the offer change the order probability?
  • 23. 24 QUOMATIC.AI WHEN IS THIS APPROACH APPLICABLE? 1. Sufficient data about quotes in the past. 2. It is known (and electronically available) which quotes have been successful. 3. Sufficient variability of quotes 4. Mapping of quotes into a structurized, tabular data format is possible.
  • 24. 25 QUOMATIC.AI VISION ― QUOTE OPTIMIZATION • Identify influences → CONTROL influences • Examples: • Targeted campaigns • Dynamic pricing
  • 25. 26 QUOMATIC.AI QUOMATIC.AI ― USPs • Newest AI methods • „Explainable AI“ • Highly precise models • Seemless integration of solutions into customers‘ systems • Continuously learning systems • Rapid deployment using suite