SlideShare a Scribd company logo
1 of 31
Algorithmic Trading:
an Оverview
Presented by Karlis Liepins
Riga, 2017
All the buzz..
Algo-trading
Automated trading systems
High Frequency Trading/Low Latency
Trading
Black box
Robots
50-85% of traded volume in US stocks is
generated by robots
Flash crash
Robots take advantage of true investors?
Motivation
Processing power
Speed of execution (think 0.00001 seconds)
Less human error
Simplify repetitive tasks
What are the objectives?
Smart execution/Hedging (min costs)
Automating a strategy (make profit)
What are the objectives?
Smart execution/Hedging (min costs)
Automating a strategy (make profit)
Brokers, Asset managers, etc.
Used when placing large orders
Disclosing information from the market
Minimizing the impact on the price
Smart execution
Example:
Need to buy 100’000 shares of L’Oreal stock
a) Place all in one order
b) Divide into 100 orders, 1000 shares each
c) Divide into 100 orders, 1000 shares each
and place one every 5 minutes
What can be done?
TWAP
VWAP
Percentage of Volume (POV)
Minimal Impact (dark pools)
Cost driven
Other
What can be done?
TWAP
VWAP
Percentage of Volume (POV)
Minimal Impact (dark pools)
Cost driven
Other
Time Weighted Average Price
Attempt to match price over time
100’000 shares over 5hrs = 5’000 shares every 15 minutes
Possible improvements:
- more flexible schedule
- make it less predictable
What can be done?
TWAP
VWAP
Percentage of Volume (POV)
Minimal Impact (dark pools)
Cost driven
Other
Volume Weighted Average Price
Large volume transaction have more impact on benchmark
price
Every 15 minutes place an order with a proportional size to
the traded volume
Relies on Historical trading volumes
VWAP
More activity happening
during around the opening
and closing
Attempt to get the price
where the activity actually
happened
What can be done?
TWAP
VWAP
Percentage of Volume (POV)
Minimal Impact (dark pools)
Cost driven
Other
Example - trade 10% of each market trade
A stock with original daily turnover of 1’000’000 shares
should result in execution of 100’000 shares
More dynamic than TWAP & VWAP
What can be done?
TWAP
VWAP
Percentage of Volume (POV)
Minimal Impact (dark pools)
Cost driven
Other
Dark Pools - private exchanges for trading securities
Not available to general public
No transparency
Came about to facilitate block trades when we want to
minimize market impact
Liquidity in Dark Pools is limited, thus usually combined with
other strategies
Other options: broker’s internal crossing networks, hidden
order types (iceberg)
What can be done?
TWAP
VWAP
Percentage of Volume (POV)
Minimal Impact (dark pools)
Cost driven
Other
Trading too aggressively may result in considerable market
impact, while trading too passively incurs timing risk
Balancing impact and timing
Very poor liquidity / huge bid-ask spread
Factors:
- order size
- time available for trading
- asset specific (liquidity and volatility)
- investor’s urgency or risk aversion
What can be done?
TWAP
VWAP
Percentage of Volume (POV)
Minimal Impact (dark pools)
Cost driven
Other
Wait for specific market conditions
More advanced/opportunistic algorithms
- Momentum detection
Hire someone to do it! Execution Services
What are the objectives?
Smart execution (min costs)
Automating a strategy (make profit)
Market making
Statistical arbitrage
Front running
Outsmarting the others
Automating a Strategy
Market Making
Statistical Arbitrage
Front Running
Outsmarting the others
Keep Best Bid and Best Ask in the market
Earn few cents per transaction
Some exchanges offer rebates
Improves the market
Provides liquidity
Must be very smart about risk management
Think - casino/online poker
Automating a Strategy
Market Making
Statistical Arbitrage
Front Running
Outsmarting the others
Automating a Strategy
Market Making
Statistical Arbitrage
Front Running
Outsmarting the others
Over long period of time/many transactions statistically gives
near riskless profit
Pair/Spread trading (Pepsi vs Coke, Stock vs Industry,
fungible commodities)
Comparing Index(ETF) to basket
Mean reversion
General Motors vs Ford Motors
Automating a Strategy
Market Making
Statistical Arbitrage
Front Running
Outsmarting the others
Guerilla algorithms to find Icebergs(liquidity):
- Probabilistic models
- Compare actual trades vs order book
- Identify patterns
HFT & price forecasting
Signal/News trading
Abusive strategies: e.g. flooding the system with orders to
lower the latency for others
Automating a Strategy
Market Making
Statistical Arbitrage
Front Running
Outsmarting the others
Pattern recognition:
- Price/Volume /Order Book
- Finding other algos (reverse engeneering)
Market sentiment (e.g. processes Twitter mood)
Fair price (derivatives)
Be crative!
The Cycle of Automating a Strategy
1) Idea
2) Quantify the idea, Prototype an algorithm
3) Backtest
4) Test in safe environment
5) Production version/Babysitting
6) Constant improvement
The Cycle of Automating a Strategy
1) Idea
2) Quantify the idea, Prototype an
algorithm
3) Backtest
4) Test in safe environment
5) Production version/Babysitting
6) Constant improvement
Gut feeling or a practice
Often comes from competence in other fields
(market, sector, technology, processes…)
General ideas are simple and public, it’s often
the details and parameters that make the
difference
The Cycle of Automating a Strategy
1) Idea
2) Quantify the idea, Prototype
an algorithm
3) Backtest
4) Test in safe environment
5) Production version/Babysitting
6) Constant improvement
Math : Trivial ~ Hardcore
Building the correct model
Example:
Momentum following
Idea: security on an uptrend/downtrend will
continue on an uptrend/downtrend
Implementation: take 1st and 2nd derivative of
moving average, trade when specific threshold
1st/2nd is crossed
The Cycle of Automating a Strategy
1) Idea
2) Quantify the idea, Prototype an
algorithm
3) Backtest
4) Test in safe environment
5) Production version/Babysitting
6) Constant improvement
Getting good data (can be extremely expensive)
Overfitting - can the past results be applied in
the future trading
Defining parameters/Testing them
Risk evaluation (Sharpe ratio, Draw down,
Expected shortfall, Value at Risk)
Is the idea profitable?
The Cycle of Automating a Strategy
1) Idea
2) Quantify the idea, Prototype an
algorithm
3) Backtest
4) Test in safe environment
5) Production version/Babysitting
6) Constant improvement
Test on Demo/other assets/extremely small
amounts
Finding bugs
Detecting corner cases
What about trading costs?
Is it still profitable?
The Cycle of Automating a Strategy
1) Idea
2) Quantify the idea, Prototype an
algorithm
3) Backtest
4) Test in safe environment
5) Production
version/Babysitting
6) Constant improvement
Close to impossible to simulate the actual
market
Quality of execution (slippage)
Speed
Interaction with other algos/impact on market
Is it still profitable?
Identify the problems if not
The Cycle of Automating a Strategy
1) Idea
2) Quantify the idea, Prototype an
algorithm
3) Backtest
4) Test in safe environment
5) Production version/Babysitting
6) Constant improvement
Markets are constantly changing
New participants, new competitors
Strategies often stop being profitable after a
while
Dangers of Algo-trading
Robots do not understand if they’re doing something wrong, lots of pressure on
the design (security, controls, limits…)
More and more reliability on IT (networks, servers, hardware, data feed, latency)
Very small margin of error
Keeping your idea secret and protected
The field is still rather new and proper regulation is being drafted as we speak
Due to the above, there is a risk of systemic failures
Camber Energy example
Thank you!

More Related Content

What's hot

Algo trading with machine learning ppt
Algo trading with machine learning pptAlgo trading with machine learning ppt
Algo trading with machine learning pptDeb prakash ganguly
 
Algo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with IpythonAlgo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with IpythonDeb prakash ganguly
 
Order book dynamics in high frequency trading
Order book dynamics in high frequency tradingOrder book dynamics in high frequency trading
Order book dynamics in high frequency tradingQuantInsti
 
16 Stock trading strategies
16 Stock trading strategies16 Stock trading strategies
16 Stock trading strategiesAmey
 
Simulating HFT for Low-Latency Investors - The Investor’s View (Robert Almgren)
Simulating HFT for Low-Latency Investors - The Investor’s View (Robert Almgren)Simulating HFT for Low-Latency Investors - The Investor’s View (Robert Almgren)
Simulating HFT for Low-Latency Investors - The Investor’s View (Robert Almgren)CBS Competitiveness Platform
 
Price Action Trading.pdf
Price Action Trading.pdfPrice Action Trading.pdf
Price Action Trading.pdfShreya292338
 
High Probability Trading Setups
High Probability Trading SetupsHigh Probability Trading Setups
High Probability Trading Setupsbtrader
 
How to Become a Professional Trader
How to Become a Professional TraderHow to Become a Professional Trader
How to Become a Professional Trader My Trading Skills
 
Trading edge for the forex market
Trading edge for the forex marketTrading edge for the forex market
Trading edge for the forex marketlcchong76
 
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlphaQuantopian
 
High frequency trading
High frequency tradingHigh frequency trading
High frequency tradingŞaban Dalaman
 
Scalping in Day Trading
Scalping in Day TradingScalping in Day Trading
Scalping in Day TradingInvestingTips
 
Pull Back Swing Trading Strategy I The Only Way To Trade Stocks and E-Mini Re...
Pull Back Swing Trading Strategy I The Only Way To Trade Stocks and E-Mini Re...Pull Back Swing Trading Strategy I The Only Way To Trade Stocks and E-Mini Re...
Pull Back Swing Trading Strategy I The Only Way To Trade Stocks and E-Mini Re...Marketgeekschannel
 

What's hot (20)

Algo Trading
Algo TradingAlgo Trading
Algo Trading
 
Algo trading with machine learning ppt
Algo trading with machine learning pptAlgo trading with machine learning ppt
Algo trading with machine learning ppt
 
Algo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with IpythonAlgo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with Ipython
 
Algorithmic trading
Algorithmic tradingAlgorithmic trading
Algorithmic trading
 
Order book dynamics in high frequency trading
Order book dynamics in high frequency tradingOrder book dynamics in high frequency trading
Order book dynamics in high frequency trading
 
16 Stock trading strategies
16 Stock trading strategies16 Stock trading strategies
16 Stock trading strategies
 
Quantitative Trading
Quantitative TradingQuantitative Trading
Quantitative Trading
 
Simulating HFT for Low-Latency Investors - The Investor’s View (Robert Almgren)
Simulating HFT for Low-Latency Investors - The Investor’s View (Robert Almgren)Simulating HFT for Low-Latency Investors - The Investor’s View (Robert Almgren)
Simulating HFT for Low-Latency Investors - The Investor’s View (Robert Almgren)
 
Price Action Trading.pdf
Price Action Trading.pdfPrice Action Trading.pdf
Price Action Trading.pdf
 
High Probability Trading Setups
High Probability Trading SetupsHigh Probability Trading Setups
High Probability Trading Setups
 
How to Become a Professional Trader
How to Become a Professional TraderHow to Become a Professional Trader
How to Become a Professional Trader
 
Trading edge for the forex market
Trading edge for the forex marketTrading edge for the forex market
Trading edge for the forex market
 
Psychology of traders
Psychology of tradersPsychology of traders
Psychology of traders
 
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
 
High frequency trading
High frequency tradingHigh frequency trading
High frequency trading
 
Introduction to Scalping Futures
Introduction to Scalping FuturesIntroduction to Scalping Futures
Introduction to Scalping Futures
 
Scalping in Day Trading
Scalping in Day TradingScalping in Day Trading
Scalping in Day Trading
 
Core Master Trading Strategies
Core Master Trading StrategiesCore Master Trading Strategies
Core Master Trading Strategies
 
Pull Back Swing Trading Strategy I The Only Way To Trade Stocks and E-Mini Re...
Pull Back Swing Trading Strategy I The Only Way To Trade Stocks and E-Mini Re...Pull Back Swing Trading Strategy I The Only Way To Trade Stocks and E-Mini Re...
Pull Back Swing Trading Strategy I The Only Way To Trade Stocks and E-Mini Re...
 
Section I - CH 4 - Practical Considerations.pdf
Section I - CH 4 - Practical Considerations.pdfSection I - CH 4 - Practical Considerations.pdf
Section I - CH 4 - Practical Considerations.pdf
 

Similar to Algorithmic Trading: an Overview

Automated Trade Strategy by Todd Hanson PhD
Automated Trade Strategy by Todd Hanson PhDAutomated Trade Strategy by Todd Hanson PhD
Automated Trade Strategy by Todd Hanson PhDTodd Hanson PhD
 
Exante algotrading
Exante algotradingExante algotrading
Exante algotradingEXANTE
 
Algorithmic Trading Latest Trends & Developments Lecture By Dr. Lipa Roitman
Algorithmic Trading Latest Trends & Developments Lecture By Dr. Lipa RoitmanAlgorithmic Trading Latest Trends & Developments Lecture By Dr. Lipa Roitman
Algorithmic Trading Latest Trends & Developments Lecture By Dr. Lipa RoitmanI Know First: Daily Market Forecast
 
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
 
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Quantopian
 
Tsl version 1.1_review
Tsl version 1.1_reviewTsl version 1.1_review
Tsl version 1.1_reviewBall Sutta
 
What we learned from running a quant crypto hedge fund
What we learned from running a quant crypto hedge fundWhat we learned from running a quant crypto hedge fund
What we learned from running a quant crypto hedge fundYingdan (Mora) Liang
 
Quant congressusa2011algotradinglast
Quant congressusa2011algotradinglastQuant congressusa2011algotradinglast
Quant congressusa2011algotradinglastTomasz Waszczyk
 
Algorithmic and high-frequency_trading 2011
Algorithmic and high-frequency_trading 2011Algorithmic and high-frequency_trading 2011
Algorithmic and high-frequency_trading 2011jy Torres
 
iRage - Campus Roles and Work Culture
iRage - Campus Roles and Work CultureiRage - Campus Roles and Work Culture
iRage - Campus Roles and Work CultureZeba Malik
 
Algo Trading – Best Algorithmic Trading Examples.pdf
Algo Trading – Best Algorithmic Trading Examples.pdfAlgo Trading – Best Algorithmic Trading Examples.pdf
Algo Trading – Best Algorithmic Trading Examples.pdfNazim Khan
 
Algorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & SystemsAlgorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & SystemsAlgorithmicTrading.net
 
Quantopian: Crowd-sourced Systematic Alpha
Quantopian: Crowd-sourced Systematic AlphaQuantopian: Crowd-sourced Systematic Alpha
Quantopian: Crowd-sourced Systematic AlphaQuantopian
 
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...Takanobu Mizuta
 
All that Glitters Is Not Gold_Comparing Backtest and Out-of-Sample Performanc...
All that Glitters Is Not Gold_Comparing Backtest and Out-of-Sample Performanc...All that Glitters Is Not Gold_Comparing Backtest and Out-of-Sample Performanc...
All that Glitters Is Not Gold_Comparing Backtest and Out-of-Sample Performanc...justinlent
 
Algorithmic Trading and FIX Protocol
Algorithmic Trading and FIX ProtocolAlgorithmic Trading and FIX Protocol
Algorithmic Trading and FIX ProtocolEXANTE
 
AlphaTrader Trading Platform Features
AlphaTrader Trading Platform FeaturesAlphaTrader Trading Platform Features
AlphaTrader Trading Platform FeaturesNicolas VITALE
 
Trading System Seminar Handout
Trading System Seminar HandoutTrading System Seminar Handout
Trading System Seminar HandoutDean Hoffman
 

Similar to Algorithmic Trading: an Overview (20)

Automated Trade Strategy by Todd Hanson PhD
Automated Trade Strategy by Todd Hanson PhDAutomated Trade Strategy by Todd Hanson PhD
Automated Trade Strategy by Todd Hanson PhD
 
Exante algotrading
Exante algotradingExante algotrading
Exante algotrading
 
Algorithmic Trading Latest Trends & Developments Lecture By Dr. Lipa Roitman
Algorithmic Trading Latest Trends & Developments Lecture By Dr. Lipa RoitmanAlgorithmic Trading Latest Trends & Developments Lecture By Dr. Lipa Roitman
Algorithmic Trading Latest Trends & Developments Lecture By Dr. Lipa Roitman
 
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
 
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
 
Tsl version 1.1_review
Tsl version 1.1_reviewTsl version 1.1_review
Tsl version 1.1_review
 
What we learned from running a quant crypto hedge fund
What we learned from running a quant crypto hedge fundWhat we learned from running a quant crypto hedge fund
What we learned from running a quant crypto hedge fund
 
Quant congressusa2011algotradinglast
Quant congressusa2011algotradinglastQuant congressusa2011algotradinglast
Quant congressusa2011algotradinglast
 
Algorithmic and high-frequency_trading 2011
Algorithmic and high-frequency_trading 2011Algorithmic and high-frequency_trading 2011
Algorithmic and high-frequency_trading 2011
 
iRage - Campus Roles and Work Culture
iRage - Campus Roles and Work CultureiRage - Campus Roles and Work Culture
iRage - Campus Roles and Work Culture
 
Algo Trading – Best Algorithmic Trading Examples.pdf
Algo Trading – Best Algorithmic Trading Examples.pdfAlgo Trading – Best Algorithmic Trading Examples.pdf
Algo Trading – Best Algorithmic Trading Examples.pdf
 
Complexity Crisis
Complexity CrisisComplexity Crisis
Complexity Crisis
 
Algorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & SystemsAlgorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & Systems
 
Cifer2017
Cifer2017Cifer2017
Cifer2017
 
Quantopian: Crowd-sourced Systematic Alpha
Quantopian: Crowd-sourced Systematic AlphaQuantopian: Crowd-sourced Systematic Alpha
Quantopian: Crowd-sourced Systematic Alpha
 
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
 
All that Glitters Is Not Gold_Comparing Backtest and Out-of-Sample Performanc...
All that Glitters Is Not Gold_Comparing Backtest and Out-of-Sample Performanc...All that Glitters Is Not Gold_Comparing Backtest and Out-of-Sample Performanc...
All that Glitters Is Not Gold_Comparing Backtest and Out-of-Sample Performanc...
 
Algorithmic Trading and FIX Protocol
Algorithmic Trading and FIX ProtocolAlgorithmic Trading and FIX Protocol
Algorithmic Trading and FIX Protocol
 
AlphaTrader Trading Platform Features
AlphaTrader Trading Platform FeaturesAlphaTrader Trading Platform Features
AlphaTrader Trading Platform Features
 
Trading System Seminar Handout
Trading System Seminar HandoutTrading System Seminar Handout
Trading System Seminar Handout
 

More from EXANTE

DIGITAL ASSETS REGULATION by Stasis
DIGITAL ASSETS REGULATION by StasisDIGITAL ASSETS REGULATION by Stasis
DIGITAL ASSETS REGULATION by StasisEXANTE
 
Blockchain and fine art: how the technology could change the art market
Blockchain and fine art: how the technology could change the art marketBlockchain and fine art: how the technology could change the art market
Blockchain and fine art: how the technology could change the art marketEXANTE
 
Dozens of billions, thousands of percent, banks and hedge funds: cryptocurren...
Dozens of billions, thousands of percent, banks and hedge funds: cryptocurren...Dozens of billions, thousands of percent, banks and hedge funds: cryptocurren...
Dozens of billions, thousands of percent, banks and hedge funds: cryptocurren...EXANTE
 
Real-time данные на фронтенде
Real-time данные на фронтендеReal-time данные на фронтенде
Real-time данные на фронтендеEXANTE
 
How to Adapt and Prosper in Compliance Age
How to Adapt and Prosper in Compliance AgeHow to Adapt and Prosper in Compliance Age
How to Adapt and Prosper in Compliance AgeEXANTE
 
How to Fail and Win in Wealth Management
How to Fail and Win in Wealth ManagementHow to Fail and Win in Wealth Management
How to Fail and Win in Wealth ManagementEXANTE
 
Exante. Народная опционная конференция 2014 (НОК-8). Строим торговую инфрастр...
Exante. Народная опционная конференция 2014 (НОК-8). Строим торговую инфрастр...Exante. Народная опционная конференция 2014 (НОК-8). Строим торговую инфрастр...
Exante. Народная опционная конференция 2014 (НОК-8). Строим торговую инфрастр...EXANTE
 
EXANTE: Practical aspects of algorithmic trading. Bitcoin hedge fund. SSE Rig...
EXANTE: Practical aspects of algorithmic trading. Bitcoin hedge fund. SSE Rig...EXANTE: Practical aspects of algorithmic trading. Bitcoin hedge fund. SSE Rig...
EXANTE: Practical aspects of algorithmic trading. Bitcoin hedge fund. SSE Rig...EXANTE
 
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds TradingEXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds TradingEXANTE
 
Hedge Fund Review EXANTE 2013 Report
Hedge Fund Review EXANTE 2013 ReportHedge Fund Review EXANTE 2013 Report
Hedge Fund Review EXANTE 2013 ReportEXANTE
 
HedgeWeek Special Report, Malta Hedge Fund Services 2012
HedgeWeek Special Report, Malta Hedge Fund Services 2012HedgeWeek Special Report, Malta Hedge Fund Services 2012
HedgeWeek Special Report, Malta Hedge Fund Services 2012EXANTE
 
EXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical AspectsEXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical AspectsEXANTE
 

More from EXANTE (12)

DIGITAL ASSETS REGULATION by Stasis
DIGITAL ASSETS REGULATION by StasisDIGITAL ASSETS REGULATION by Stasis
DIGITAL ASSETS REGULATION by Stasis
 
Blockchain and fine art: how the technology could change the art market
Blockchain and fine art: how the technology could change the art marketBlockchain and fine art: how the technology could change the art market
Blockchain and fine art: how the technology could change the art market
 
Dozens of billions, thousands of percent, banks and hedge funds: cryptocurren...
Dozens of billions, thousands of percent, banks and hedge funds: cryptocurren...Dozens of billions, thousands of percent, banks and hedge funds: cryptocurren...
Dozens of billions, thousands of percent, banks and hedge funds: cryptocurren...
 
Real-time данные на фронтенде
Real-time данные на фронтендеReal-time данные на фронтенде
Real-time данные на фронтенде
 
How to Adapt and Prosper in Compliance Age
How to Adapt and Prosper in Compliance AgeHow to Adapt and Prosper in Compliance Age
How to Adapt and Prosper in Compliance Age
 
How to Fail and Win in Wealth Management
How to Fail and Win in Wealth ManagementHow to Fail and Win in Wealth Management
How to Fail and Win in Wealth Management
 
Exante. Народная опционная конференция 2014 (НОК-8). Строим торговую инфрастр...
Exante. Народная опционная конференция 2014 (НОК-8). Строим торговую инфрастр...Exante. Народная опционная конференция 2014 (НОК-8). Строим торговую инфрастр...
Exante. Народная опционная конференция 2014 (НОК-8). Строим торговую инфрастр...
 
EXANTE: Practical aspects of algorithmic trading. Bitcoin hedge fund. SSE Rig...
EXANTE: Practical aspects of algorithmic trading. Bitcoin hedge fund. SSE Rig...EXANTE: Practical aspects of algorithmic trading. Bitcoin hedge fund. SSE Rig...
EXANTE: Practical aspects of algorithmic trading. Bitcoin hedge fund. SSE Rig...
 
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds TradingEXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
 
Hedge Fund Review EXANTE 2013 Report
Hedge Fund Review EXANTE 2013 ReportHedge Fund Review EXANTE 2013 Report
Hedge Fund Review EXANTE 2013 Report
 
HedgeWeek Special Report, Malta Hedge Fund Services 2012
HedgeWeek Special Report, Malta Hedge Fund Services 2012HedgeWeek Special Report, Malta Hedge Fund Services 2012
HedgeWeek Special Report, Malta Hedge Fund Services 2012
 
EXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical AspectsEXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical Aspects
 

Recently uploaded

Business Principles, Tools, and Techniques in Participating in Various Types...
Business Principles, Tools, and Techniques  in Participating in Various Types...Business Principles, Tools, and Techniques  in Participating in Various Types...
Business Principles, Tools, and Techniques in Participating in Various Types...jeffreytingson
 
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...dipikadinghjn ( Why You Choose Us? ) Escorts
 
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...roshnidevijkn ( Why You Choose Us? ) Escorts
 
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Pooja Nehwal
 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...dipikadinghjn ( Why You Choose Us? ) Escorts
 
call girls in Sant Nagar (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Sant Nagar (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Sant Nagar (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Sant Nagar (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...dipikadinghjn ( Why You Choose Us? ) Escorts
 
Booking open Available Pune Call Girls Wadgaon Sheri 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Wadgaon Sheri  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Wadgaon Sheri  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Wadgaon Sheri 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(Sexy Sheela) Call Girl Mumbai Call Now 👉9920725232👈 Mumbai Escorts 24x7
(Sexy Sheela) Call Girl Mumbai Call Now 👉9920725232👈 Mumbai Escorts 24x7(Sexy Sheela) Call Girl Mumbai Call Now 👉9920725232👈 Mumbai Escorts 24x7
(Sexy Sheela) Call Girl Mumbai Call Now 👉9920725232👈 Mumbai Escorts 24x7jayawati511
 
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...dipikadinghjn ( Why You Choose Us? ) Escorts
 
Bandra High Profile Sexy Call Girls,9833754194-Khar Road Speciality Call Girl...
Bandra High Profile Sexy Call Girls,9833754194-Khar Road Speciality Call Girl...Bandra High Profile Sexy Call Girls,9833754194-Khar Road Speciality Call Girl...
Bandra High Profile Sexy Call Girls,9833754194-Khar Road Speciality Call Girl...priyasharma62062
 
Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...
Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...
Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...Delhi Call girls
 
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...priyasharma62062
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfMichael Silva
 
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...Call Girls in Nagpur High Profile
 
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...dipikadinghjn ( Why You Choose Us? ) Escorts
 
Webinar on E-Invoicing for Fintech Belgium
Webinar on E-Invoicing for Fintech BelgiumWebinar on E-Invoicing for Fintech Belgium
Webinar on E-Invoicing for Fintech BelgiumFinTech Belgium
 

Recently uploaded (20)

Business Principles, Tools, and Techniques in Participating in Various Types...
Business Principles, Tools, and Techniques  in Participating in Various Types...Business Principles, Tools, and Techniques  in Participating in Various Types...
Business Principles, Tools, and Techniques in Participating in Various Types...
 
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
 
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
 
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
 
call girls in Sant Nagar (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Sant Nagar (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Sant Nagar (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Sant Nagar (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
 
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
 
Booking open Available Pune Call Girls Wadgaon Sheri 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Wadgaon Sheri  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Wadgaon Sheri  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Wadgaon Sheri 6297143586 Call Hot Ind...
 
(Sexy Sheela) Call Girl Mumbai Call Now 👉9920725232👈 Mumbai Escorts 24x7
(Sexy Sheela) Call Girl Mumbai Call Now 👉9920725232👈 Mumbai Escorts 24x7(Sexy Sheela) Call Girl Mumbai Call Now 👉9920725232👈 Mumbai Escorts 24x7
(Sexy Sheela) Call Girl Mumbai Call Now 👉9920725232👈 Mumbai Escorts 24x7
 
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
 
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
 
(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7
(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7
(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7
 
Bandra High Profile Sexy Call Girls,9833754194-Khar Road Speciality Call Girl...
Bandra High Profile Sexy Call Girls,9833754194-Khar Road Speciality Call Girl...Bandra High Profile Sexy Call Girls,9833754194-Khar Road Speciality Call Girl...
Bandra High Profile Sexy Call Girls,9833754194-Khar Road Speciality Call Girl...
 
Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...
Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...
Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...
 
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdf
 
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
 
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
 
Webinar on E-Invoicing for Fintech Belgium
Webinar on E-Invoicing for Fintech BelgiumWebinar on E-Invoicing for Fintech Belgium
Webinar on E-Invoicing for Fintech Belgium
 

Algorithmic Trading: an Overview

  • 1. Algorithmic Trading: an Оverview Presented by Karlis Liepins Riga, 2017
  • 2. All the buzz.. Algo-trading Automated trading systems High Frequency Trading/Low Latency Trading Black box Robots 50-85% of traded volume in US stocks is generated by robots Flash crash Robots take advantage of true investors?
  • 3. Motivation Processing power Speed of execution (think 0.00001 seconds) Less human error Simplify repetitive tasks
  • 4. What are the objectives? Smart execution/Hedging (min costs) Automating a strategy (make profit)
  • 5. What are the objectives? Smart execution/Hedging (min costs) Automating a strategy (make profit) Brokers, Asset managers, etc. Used when placing large orders Disclosing information from the market Minimizing the impact on the price
  • 6. Smart execution Example: Need to buy 100’000 shares of L’Oreal stock a) Place all in one order b) Divide into 100 orders, 1000 shares each c) Divide into 100 orders, 1000 shares each and place one every 5 minutes
  • 7. What can be done? TWAP VWAP Percentage of Volume (POV) Minimal Impact (dark pools) Cost driven Other
  • 8. What can be done? TWAP VWAP Percentage of Volume (POV) Minimal Impact (dark pools) Cost driven Other Time Weighted Average Price Attempt to match price over time 100’000 shares over 5hrs = 5’000 shares every 15 minutes Possible improvements: - more flexible schedule - make it less predictable
  • 9. What can be done? TWAP VWAP Percentage of Volume (POV) Minimal Impact (dark pools) Cost driven Other Volume Weighted Average Price Large volume transaction have more impact on benchmark price Every 15 minutes place an order with a proportional size to the traded volume Relies on Historical trading volumes
  • 10. VWAP More activity happening during around the opening and closing Attempt to get the price where the activity actually happened
  • 11. What can be done? TWAP VWAP Percentage of Volume (POV) Minimal Impact (dark pools) Cost driven Other Example - trade 10% of each market trade A stock with original daily turnover of 1’000’000 shares should result in execution of 100’000 shares More dynamic than TWAP & VWAP
  • 12. What can be done? TWAP VWAP Percentage of Volume (POV) Minimal Impact (dark pools) Cost driven Other Dark Pools - private exchanges for trading securities Not available to general public No transparency Came about to facilitate block trades when we want to minimize market impact Liquidity in Dark Pools is limited, thus usually combined with other strategies Other options: broker’s internal crossing networks, hidden order types (iceberg)
  • 13. What can be done? TWAP VWAP Percentage of Volume (POV) Minimal Impact (dark pools) Cost driven Other Trading too aggressively may result in considerable market impact, while trading too passively incurs timing risk Balancing impact and timing Very poor liquidity / huge bid-ask spread Factors: - order size - time available for trading - asset specific (liquidity and volatility) - investor’s urgency or risk aversion
  • 14. What can be done? TWAP VWAP Percentage of Volume (POV) Minimal Impact (dark pools) Cost driven Other Wait for specific market conditions More advanced/opportunistic algorithms - Momentum detection Hire someone to do it! Execution Services
  • 15. What are the objectives? Smart execution (min costs) Automating a strategy (make profit) Market making Statistical arbitrage Front running Outsmarting the others
  • 16. Automating a Strategy Market Making Statistical Arbitrage Front Running Outsmarting the others Keep Best Bid and Best Ask in the market Earn few cents per transaction Some exchanges offer rebates Improves the market Provides liquidity Must be very smart about risk management Think - casino/online poker
  • 17. Automating a Strategy Market Making Statistical Arbitrage Front Running Outsmarting the others
  • 18. Automating a Strategy Market Making Statistical Arbitrage Front Running Outsmarting the others Over long period of time/many transactions statistically gives near riskless profit Pair/Spread trading (Pepsi vs Coke, Stock vs Industry, fungible commodities) Comparing Index(ETF) to basket Mean reversion
  • 19. General Motors vs Ford Motors
  • 20. Automating a Strategy Market Making Statistical Arbitrage Front Running Outsmarting the others Guerilla algorithms to find Icebergs(liquidity): - Probabilistic models - Compare actual trades vs order book - Identify patterns HFT & price forecasting Signal/News trading Abusive strategies: e.g. flooding the system with orders to lower the latency for others
  • 21. Automating a Strategy Market Making Statistical Arbitrage Front Running Outsmarting the others Pattern recognition: - Price/Volume /Order Book - Finding other algos (reverse engeneering) Market sentiment (e.g. processes Twitter mood) Fair price (derivatives) Be crative!
  • 22. The Cycle of Automating a Strategy 1) Idea 2) Quantify the idea, Prototype an algorithm 3) Backtest 4) Test in safe environment 5) Production version/Babysitting 6) Constant improvement
  • 23. The Cycle of Automating a Strategy 1) Idea 2) Quantify the idea, Prototype an algorithm 3) Backtest 4) Test in safe environment 5) Production version/Babysitting 6) Constant improvement Gut feeling or a practice Often comes from competence in other fields (market, sector, technology, processes…) General ideas are simple and public, it’s often the details and parameters that make the difference
  • 24. The Cycle of Automating a Strategy 1) Idea 2) Quantify the idea, Prototype an algorithm 3) Backtest 4) Test in safe environment 5) Production version/Babysitting 6) Constant improvement Math : Trivial ~ Hardcore Building the correct model Example: Momentum following Idea: security on an uptrend/downtrend will continue on an uptrend/downtrend Implementation: take 1st and 2nd derivative of moving average, trade when specific threshold 1st/2nd is crossed
  • 25. The Cycle of Automating a Strategy 1) Idea 2) Quantify the idea, Prototype an algorithm 3) Backtest 4) Test in safe environment 5) Production version/Babysitting 6) Constant improvement Getting good data (can be extremely expensive) Overfitting - can the past results be applied in the future trading Defining parameters/Testing them Risk evaluation (Sharpe ratio, Draw down, Expected shortfall, Value at Risk) Is the idea profitable?
  • 26. The Cycle of Automating a Strategy 1) Idea 2) Quantify the idea, Prototype an algorithm 3) Backtest 4) Test in safe environment 5) Production version/Babysitting 6) Constant improvement Test on Demo/other assets/extremely small amounts Finding bugs Detecting corner cases What about trading costs? Is it still profitable?
  • 27. The Cycle of Automating a Strategy 1) Idea 2) Quantify the idea, Prototype an algorithm 3) Backtest 4) Test in safe environment 5) Production version/Babysitting 6) Constant improvement Close to impossible to simulate the actual market Quality of execution (slippage) Speed Interaction with other algos/impact on market Is it still profitable? Identify the problems if not
  • 28. The Cycle of Automating a Strategy 1) Idea 2) Quantify the idea, Prototype an algorithm 3) Backtest 4) Test in safe environment 5) Production version/Babysitting 6) Constant improvement Markets are constantly changing New participants, new competitors Strategies often stop being profitable after a while
  • 29. Dangers of Algo-trading Robots do not understand if they’re doing something wrong, lots of pressure on the design (security, controls, limits…) More and more reliability on IT (networks, servers, hardware, data feed, latency) Very small margin of error Keeping your idea secret and protected The field is still rather new and proper regulation is being drafted as we speak Due to the above, there is a risk of systemic failures