SlideShare a Scribd company logo
1 of 31
ALGORITHMIC TRADING
High Frequency & Low Frequency Trading
Firas Obeid –Ex Treasury Dealer
OUTLINE
Define
Algorithmic
Trading
What are the
subcategories of
AT?
Present a
schema on High
Frequency
Trading
AT and Liquidity
issues
LFT
Strategy using
LFT
WHAT IS ALGORITHMIC TRADING?
COMPUTERIZED
ALGORITHMS
MATHMATICAL
MODELS
FAST
CONNECTIONS
REPLACE FLOOR
SPECIALISTS
LIGHT SPEED
ORDER
EXECUTION
CUSTOMIZED
TRADING
ROBOTS
HIGH FREQUENCY TRADING
• “Only the companies that understand technology properly and invest in it regularly
will survive in a new environment with new rules.” –Agustin Rubini
• HFT is measured in milliseconds (1ms = 10−3 sec)
• It is even measured in micro seconds (1microsec = 10−6 sec)
• Adds a new definition to AT:
• Fast connections: Microwave towers, Fiber Optics,…
• “Proximity” to Stock Exchanges’ Data Center’s  Shorter cables!
• Sophisticated models to understand other trading algorithms strategy
• Accused of quote stuffing and spoofing (Phantom Offers)
• Algo steps out of market when costly  Flash Crash
STOCK EXCHANGES
AN HFT SCHEMA
• Presentation by :Brad Katsuyama
(2016)
• HFT enables aster access to price
changes
• HFT capitalizes on the
inefficiencies of other traders,
investors and FIs
• Proximity matters in HFT
• 100,000 AMD shares market order
• 2 milliseconds from First to Last
Stock Exchange
• It takes HFT firms only 476
microseconds
• Slow down fastest connections
• Orders arrive simultaneously at
exchanges
• NYSE gets order first & BATS
last
• From 2 millisec to 290 microsec
time variance
• Time calculated using live trading
messages
LOW FREQUENCY TRADING
No need for very fast
connections
Less than 1 minute Implemented using:
1.Data : Time Series 
Historical Prices
2.Platform/BackTesting:
MetaTrader, Quantopian….
3.Design Theory: Strategy for
Algorithm or Trading robot
4.Programming Language :
MetaTrader uses MQL -
Quantopian uses Python
DESIGN THEORY
• 1. Moving Averages
• 2.Machine Learning to ride the market volatility
• 3. Sentiment Analysis
SENTDEX DATABASE FOR SENTIMENT
Free data availability
01 Jan 2013 - 30 Oct 2018
Assesses the sentiment of companies by pulling from over 20 sources such as Wall Street Journal,
CNBC, Forbes, Business Insider, and Yahoo Finance
MY DESIGN THEORY
• Use Moving Averages: The short-rum MA (21 days) & Long-run MA(252
days)
• Use Sentiment scores from Sentdex database (-3 to 6)
• Spread between 21-MA and 252-MA
• Anchor bias theory: Investor are anchored to the long term MA and rely on
unreliable information to adjust to stock price movements.
• When 21-MA >> 252-MA & Positive sentiment score  BUY
• When 21-MA << 252-MA & Negative sentiment score  SELL
• I choose four stocks from US Equities market: Nasdaq – Facebook – Apple -
Amazon
OBSERVATION OF AN ~ 7-DAY DELAY
•Sentiment scores impact stock’s prices
after approximately after 7 days with
respect to the distance between MA!
NASDAQ : NDAQ
FACEBOOK : FB
APPLE : AAPL
AMAZON : AMZN
0
NO PROBLEMS FOR THIS TIME
The End

More Related Content

Similar to Algorithmic Trading (Low Frequency Design Model)

Hacking The Trading Floor
Hacking The Trading FloorHacking The Trading Floor
Hacking The Trading Floor
iffybird_099
 
Prime XM Information Outline July 2011
Prime XM Information Outline July 2011Prime XM Information Outline July 2011
Prime XM Information Outline July 2011
FXRisk and PrimeXM
 
Tsl version 1.1_review
Tsl version 1.1_reviewTsl version 1.1_review
Tsl version 1.1_review
Ball Sutta
 

Similar to Algorithmic Trading (Low Frequency Design Model) (20)

Liquidity Fragmentation & SOR
Liquidity Fragmentation & SORLiquidity Fragmentation & SOR
Liquidity Fragmentation & SOR
 
Price PRedictions for Crypto-Assets Using Deep Learning
Price PRedictions for Crypto-Assets Using Deep LearningPrice PRedictions for Crypto-Assets Using Deep Learning
Price PRedictions for Crypto-Assets Using Deep Learning
 
Crypto-Asset predictions, challenges and crazy ideas using deep learning
Crypto-Asset predictions, challenges and crazy ideas using deep learningCrypto-Asset predictions, challenges and crazy ideas using deep learning
Crypto-Asset predictions, challenges and crazy ideas using deep learning
 
Algorithmic Trading
Algorithmic TradingAlgorithmic Trading
Algorithmic Trading
 
OCO Orders
OCO Orders OCO Orders
OCO Orders
 
OCO Orders
 OCO Orders OCO Orders
OCO Orders
 
Hacking The Trading Floor
Hacking The Trading FloorHacking The Trading Floor
Hacking The Trading Floor
 
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
 
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
 
Prime XM Information Outline July 2011
Prime XM Information Outline July 2011Prime XM Information Outline July 2011
Prime XM Information Outline July 2011
 
Op Risk High Frequency Trading June 14 Final
Op Risk   High Frequency Trading   June 14 FinalOp Risk   High Frequency Trading   June 14 Final
Op Risk High Frequency Trading June 14 Final
 
Electronic Trading: A Primer
Electronic Trading: A PrimerElectronic Trading: A Primer
Electronic Trading: A Primer
 
EXTENT-2015: Prognoz Market Surveillance
EXTENT-2015: Prognoz  Market SurveillanceEXTENT-2015: Prognoz  Market Surveillance
EXTENT-2015: Prognoz Market Surveillance
 
T Core Pdf
T Core PdfT Core Pdf
T Core Pdf
 
AlgoB – Cryptocurrency price prediction system using LSTM
AlgoB – Cryptocurrency price prediction system using LSTMAlgoB – Cryptocurrency price prediction system using LSTM
AlgoB – Cryptocurrency price prediction system using LSTM
 
Machine Learning trading bots
Machine Learning trading botsMachine Learning trading bots
Machine Learning trading bots
 
Algo Trading
Algo TradingAlgo Trading
Algo Trading
 
Algorithmic Trading and FIX Protocol
Algorithmic Trading and FIX ProtocolAlgorithmic Trading and FIX Protocol
Algorithmic Trading and FIX Protocol
 
Tsl version 1.1_review
Tsl version 1.1_reviewTsl version 1.1_review
Tsl version 1.1_review
 
Trade Surveillance with Big Data
Trade Surveillance with Big DataTrade Surveillance with Big Data
Trade Surveillance with Big Data
 

Recently uploaded

一比一原版(ASU毕业证书)亚利桑那州立大学毕业证成绩单学位证书
一比一原版(ASU毕业证书)亚利桑那州立大学毕业证成绩单学位证书一比一原版(ASU毕业证书)亚利桑那州立大学毕业证成绩单学位证书
一比一原版(ASU毕业证书)亚利桑那州立大学毕业证成绩单学位证书
atedyxc
 
Rapport annuel de Encevo Group pour l'année 2023
Rapport annuel de Encevo Group pour l'année 2023Rapport annuel de Encevo Group pour l'année 2023
Rapport annuel de Encevo Group pour l'année 2023
Paperjam_redaction
 
First Order System Time Resphhhonse.pptx
First Order System Time Resphhhonse.pptxFirst Order System Time Resphhhonse.pptx
First Order System Time Resphhhonse.pptx
joshuaclack73
 
一比一原版(BU毕业证书)波士顿大学毕业证成绩单学位证书
一比一原版(BU毕业证书)波士顿大学毕业证成绩单学位证书一比一原版(BU毕业证书)波士顿大学毕业证成绩单学位证书
一比一原版(BU毕业证书)波士顿大学毕业证成绩单学位证书
atedyxc
 
Bahawalpur Culture.pptx pptx pptx pttx pttx
Bahawalpur Culture.pptx pptx pptx pttx pttxBahawalpur Culture.pptx pptx pptx pttx pttx
Bahawalpur Culture.pptx pptx pptx pttx pttx
AbdulNasirNichari
 
State Space Tutorial.pptxjjjjjjjjjjjjjjj
State Space Tutorial.pptxjjjjjjjjjjjjjjjState Space Tutorial.pptxjjjjjjjjjjjjjjj
State Space Tutorial.pptxjjjjjjjjjjjjjjj
joshuaclack73
 
一比一原版(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单学位证书
一比一原版(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单学位证书一比一原版(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单学位证书
一比一原版(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单学位证书
atedyxc
 
TriStar Gold- 05-13-2024 corporate presentation
TriStar Gold- 05-13-2024 corporate presentationTriStar Gold- 05-13-2024 corporate presentation
TriStar Gold- 05-13-2024 corporate presentation
Adnet Communications
 
NO1 Best kala jadu karne wale ka contact number kala jadu karne wale baba kal...
NO1 Best kala jadu karne wale ka contact number kala jadu karne wale baba kal...NO1 Best kala jadu karne wale ka contact number kala jadu karne wale baba kal...
NO1 Best kala jadu karne wale ka contact number kala jadu karne wale baba kal...
Amil baba
 

Recently uploaded (20)

一比一原版(ASU毕业证书)亚利桑那州立大学毕业证成绩单学位证书
一比一原版(ASU毕业证书)亚利桑那州立大学毕业证成绩单学位证书一比一原版(ASU毕业证书)亚利桑那州立大学毕业证成绩单学位证书
一比一原版(ASU毕业证书)亚利桑那州立大学毕业证成绩单学位证书
 
Rapport annuel de Encevo Group pour l'année 2023
Rapport annuel de Encevo Group pour l'année 2023Rapport annuel de Encevo Group pour l'année 2023
Rapport annuel de Encevo Group pour l'année 2023
 
NO1 Popular Black Magic Specialist Expert Amil baba in Norway Poland Portugal...
NO1 Popular Black Magic Specialist Expert Amil baba in Norway Poland Portugal...NO1 Popular Black Magic Specialist Expert Amil baba in Norway Poland Portugal...
NO1 Popular Black Magic Specialist Expert Amil baba in Norway Poland Portugal...
 
How to exchange my pi coins on HTX in 2024
How to exchange my pi coins on HTX in 2024How to exchange my pi coins on HTX in 2024
How to exchange my pi coins on HTX in 2024
 
First Order System Time Resphhhonse.pptx
First Order System Time Resphhhonse.pptxFirst Order System Time Resphhhonse.pptx
First Order System Time Resphhhonse.pptx
 
Managing personal finances wisely for financial stability and
Managing personal finances wisely for financial stability  andManaging personal finances wisely for financial stability  and
Managing personal finances wisely for financial stability and
 
The Pfandbrief Roundtable 2024 - Covered Bonds
The Pfandbrief Roundtable 2024 - Covered BondsThe Pfandbrief Roundtable 2024 - Covered Bonds
The Pfandbrief Roundtable 2024 - Covered Bonds
 
一比一原版(BU毕业证书)波士顿大学毕业证成绩单学位证书
一比一原版(BU毕业证书)波士顿大学毕业证成绩单学位证书一比一原版(BU毕业证书)波士顿大学毕业证成绩单学位证书
一比一原版(BU毕业证书)波士顿大学毕业证成绩单学位证书
 
Bahawalpur Culture.pptx pptx pptx pttx pttx
Bahawalpur Culture.pptx pptx pptx pttx pttxBahawalpur Culture.pptx pptx pptx pttx pttx
Bahawalpur Culture.pptx pptx pptx pttx pttx
 
Falcon Invoice Discounting: Boost Your Cash Flow Effortlessly
Falcon Invoice Discounting: Boost Your Cash Flow EffortlesslyFalcon Invoice Discounting: Boost Your Cash Flow Effortlessly
Falcon Invoice Discounting: Boost Your Cash Flow Effortlessly
 
Maximize Your Business Potential with Falcon Invoice Discounting
Maximize Your Business Potential with Falcon Invoice DiscountingMaximize Your Business Potential with Falcon Invoice Discounting
Maximize Your Business Potential with Falcon Invoice Discounting
 
State Space Tutorial.pptxjjjjjjjjjjjjjjj
State Space Tutorial.pptxjjjjjjjjjjjjjjjState Space Tutorial.pptxjjjjjjjjjjjjjjj
State Space Tutorial.pptxjjjjjjjjjjjjjjj
 
Production and Cost of the firm with curves
Production and Cost of the firm with curvesProduction and Cost of the firm with curves
Production and Cost of the firm with curves
 
一比一原版(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单学位证书
一比一原版(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单学位证书一比一原版(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单学位证书
一比一原版(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单学位证书
 
TriStar Gold- 05-13-2024 corporate presentation
TriStar Gold- 05-13-2024 corporate presentationTriStar Gold- 05-13-2024 corporate presentation
TriStar Gold- 05-13-2024 corporate presentation
 
Class XII Business Studies-Mind Maps.pdf
Class XII Business Studies-Mind Maps.pdfClass XII Business Studies-Mind Maps.pdf
Class XII Business Studies-Mind Maps.pdf
 
NO1 Best Black Magic Removal in Uk kala jadu Specialist kala jadu for Love Ba...
NO1 Best Black Magic Removal in Uk kala jadu Specialist kala jadu for Love Ba...NO1 Best Black Magic Removal in Uk kala jadu Specialist kala jadu for Love Ba...
NO1 Best Black Magic Removal in Uk kala jadu Specialist kala jadu for Love Ba...
 
NO1 Best kala jadu karne wale ka contact number kala jadu karne wale baba kal...
NO1 Best kala jadu karne wale ka contact number kala jadu karne wale baba kal...NO1 Best kala jadu karne wale ka contact number kala jadu karne wale baba kal...
NO1 Best kala jadu karne wale ka contact number kala jadu karne wale baba kal...
 
Bond Bazaar Powerpoint Presentation in Details
Bond Bazaar Powerpoint Presentation in DetailsBond Bazaar Powerpoint Presentation in Details
Bond Bazaar Powerpoint Presentation in Details
 
Slideshare - ONS Economic Forum Slidepack - 13 May 2024.pptx
Slideshare - ONS Economic Forum Slidepack - 13 May 2024.pptxSlideshare - ONS Economic Forum Slidepack - 13 May 2024.pptx
Slideshare - ONS Economic Forum Slidepack - 13 May 2024.pptx
 

Algorithmic Trading (Low Frequency Design Model)

  • 1. ALGORITHMIC TRADING High Frequency & Low Frequency Trading Firas Obeid –Ex Treasury Dealer
  • 2. OUTLINE Define Algorithmic Trading What are the subcategories of AT? Present a schema on High Frequency Trading AT and Liquidity issues LFT Strategy using LFT
  • 3.
  • 4.
  • 5. WHAT IS ALGORITHMIC TRADING? COMPUTERIZED ALGORITHMS MATHMATICAL MODELS FAST CONNECTIONS REPLACE FLOOR SPECIALISTS LIGHT SPEED ORDER EXECUTION CUSTOMIZED TRADING ROBOTS
  • 6.
  • 7.
  • 8.
  • 9. HIGH FREQUENCY TRADING • “Only the companies that understand technology properly and invest in it regularly will survive in a new environment with new rules.” –Agustin Rubini • HFT is measured in milliseconds (1ms = 10−3 sec) • It is even measured in micro seconds (1microsec = 10−6 sec) • Adds a new definition to AT: • Fast connections: Microwave towers, Fiber Optics,… • “Proximity” to Stock Exchanges’ Data Center’s  Shorter cables! • Sophisticated models to understand other trading algorithms strategy • Accused of quote stuffing and spoofing (Phantom Offers) • Algo steps out of market when costly  Flash Crash
  • 11. AN HFT SCHEMA • Presentation by :Brad Katsuyama (2016) • HFT enables aster access to price changes • HFT capitalizes on the inefficiencies of other traders, investors and FIs • Proximity matters in HFT • 100,000 AMD shares market order • 2 milliseconds from First to Last Stock Exchange • It takes HFT firms only 476 microseconds
  • 12. • Slow down fastest connections • Orders arrive simultaneously at exchanges • NYSE gets order first & BATS last • From 2 millisec to 290 microsec time variance • Time calculated using live trading messages
  • 13.
  • 14. LOW FREQUENCY TRADING No need for very fast connections Less than 1 minute Implemented using: 1.Data : Time Series  Historical Prices 2.Platform/BackTesting: MetaTrader, Quantopian…. 3.Design Theory: Strategy for Algorithm or Trading robot 4.Programming Language : MetaTrader uses MQL - Quantopian uses Python
  • 15. DESIGN THEORY • 1. Moving Averages • 2.Machine Learning to ride the market volatility • 3. Sentiment Analysis
  • 16. SENTDEX DATABASE FOR SENTIMENT Free data availability 01 Jan 2013 - 30 Oct 2018 Assesses the sentiment of companies by pulling from over 20 sources such as Wall Street Journal, CNBC, Forbes, Business Insider, and Yahoo Finance
  • 17. MY DESIGN THEORY • Use Moving Averages: The short-rum MA (21 days) & Long-run MA(252 days) • Use Sentiment scores from Sentdex database (-3 to 6) • Spread between 21-MA and 252-MA • Anchor bias theory: Investor are anchored to the long term MA and rely on unreliable information to adjust to stock price movements. • When 21-MA >> 252-MA & Positive sentiment score  BUY • When 21-MA << 252-MA & Negative sentiment score  SELL • I choose four stocks from US Equities market: Nasdaq – Facebook – Apple - Amazon
  • 18. OBSERVATION OF AN ~ 7-DAY DELAY •Sentiment scores impact stock’s prices after approximately after 7 days with respect to the distance between MA!
  • 20.
  • 21.
  • 23.
  • 24.
  • 26.
  • 27.
  • 29.
  • 30. 0
  • 31. NO PROBLEMS FOR THIS TIME The End