SlideShare a Scribd company logo
1 of 15
Download to read offline
Introduction to
Algorithmic Trading
Andrew Kreimer
Research
● Algorithms for Optimal Bayesian Networks
○ http://www.sciencedirect.com/science/article/pii/S1877050916318816
● Trend Classification
● ZigZag indicators
● Sample Data:
○ https://www.kaggle.com/algonell/eurusd-h4
Goal
● Present to you some frameworks and tools
● Show you a simple Numer.ai submission
● Show you a simple trading algorithm in Quantopian
● Make you passionate about building alphas
Algorithmic Trading
● Automated execution of trading algorithms
● You can invest in some index
● Or you can try to beat the index (alpha)
● Alpha - a trading strategy/model
● High vs. Low Frequency Trading
● Technical / Fundamental / Fusion
Alpha Sources
Data
● ['datetime', 'open', 'high', 'low', 'close', 'volume', 'adj close']
● Yahoo Finance
○ Anything (except FX), daily
● Quandl
○ Anything, daily
○ Paid subscriptions
● MetaTrader 5
○ FX, CFD, indices
○ M5, M15, …, MN1
● Quantopian
○ Proprietary, no downloads
○ Anything (except FX), daily
Tools
● Pandas
○ Originally developed by AQR
○ Data retrieval, pct_change, shift, cumsum etc.
● TA-LIB
○ Technical indicators
● Zipline
○ Strategy backtesting
● Pyfolio
○ Strategy evaluation
● Alphalens
○ Alpha factors evaluation
Quantopian
● PAAS - research, develop and backtest alphas
● Largest Quant community nowadays
● Ongoing contests (6 months round)
● Opportunity to get fund allocations
● Connect your IB paper trading/real accounts
Numer.ai
● Hedge fund of Data Scientists
● Kind of a Kaggle
● Uses meta model for BTC trading
● Ongoing competition, weekly rounds, clean data
● You get paid BTC if your models generalize well
● You get Numeraire if you are persistent
● Better models are better for everyone
● They claim that 10K$ earnings today, will be millions in a couple of years
Examples
● Numer.ai - simple submission notebook
● Quantopian - simple trading algorithm with Machine Learning
● GitHub:
○ https://github.com/algonell/PyData
The Real Deal
● Start with simple data
● Develop some alphas, good systems are simple and robust
● Backtest & optimize it (out of sample)
● Compare your performance to some benchmark (SPY, DXY)
● Paper trade it
● Live trade it with small amounts
● Grow your risk
● Repeat this flow
● It’s NP, but successful traders are the oracles
● It takes years to master
Resources: Trading
● Investment Management by University of Geneva
○ https://www.coursera.org/specializations/investment-management
● Chat With Traders
○ https://chatwithtraders.com/
● Invstr
○ https://invstr.com/
● Baby Pips
○ http://www.babypips.com/
● Investopedia
○ http://www.investopedia.com/
Resources: Quantitative Finance
● Computational Investment by Georgia Tech
○ https://www.coursera.org/learn/computational-investing
○ https://www.udacity.com/course/machine-learning-for-trading--ud501
● Max Dama’s paper
○ https://www.quantopian.com/posts/max-dama-on-automated-trading-pdf
● Quantopian
○ https://www.quantopian.com
● Numer.ai
○ https://numer.ai/
● QuantStart
○ https://www.quantstart.com/
Resources: Tools
● Yahoo Finance - historical data download
○ https://finance.yahoo.com/quote/FB/history?p=FB
● Quandl - historical data API
○ https://www.quandl.com/data/ECB/EURUSD-EUR-vs-USD-Foreign-Exchange-Reference-Rate
● MetaTrader 5
○ https://www.metatrader5.com/en
● TA-LIB
○ https://github.com/mrjbq7/ta-lib
● Zipline
○ http://www.zipline.io/
● Pyfolio
○ https://github.com/quantopian/pyfolio
That’s all Folks!
Andrew Kreimer
kreimer.andrew@algonell.com
@algonell

More Related Content

Similar to Introduction to Algorithmic Trading

Big Mountain Data Workshop Technical track
Big Mountain Data Workshop Technical trackBig Mountain Data Workshop Technical track
Big Mountain Data Workshop Technical trackDavid "Gonzo" Gonzalez
 
Careers in Algorithmic Trading
Careers in Algorithmic TradingCareers in Algorithmic Trading
Careers in Algorithmic TradingGaurav Bubna
 
Data science Applications in the Enterprise
Data science Applications in the EnterpriseData science Applications in the Enterprise
Data science Applications in the EnterpriseSrinath Perera
 
Deepak Tiwari, Lyft
Deepak Tiwari, LyftDeepak Tiwari, Lyft
Deepak Tiwari, LyftHilary Ip
 
Algorithmic pricing: Forecasting and Pricing
Algorithmic pricing: Forecasting and PricingAlgorithmic pricing: Forecasting and Pricing
Algorithmic pricing: Forecasting and PricingTofigh Naghibi
 
Testing trading strategies in JavaScript
Testing trading strategies in JavaScriptTesting trading strategies in JavaScript
Testing trading strategies in JavaScriptAshley Davis
 
Dirty data? Clean it up! - Datapalooza Denver 2016
Dirty data? Clean it up! - Datapalooza Denver 2016Dirty data? Clean it up! - Datapalooza Denver 2016
Dirty data? Clean it up! - Datapalooza Denver 2016Dan Lynn
 
Evolving ALLSTOCKER: Agile increments with Pharo Smalltalk
Evolving ALLSTOCKER: Agile increments with Pharo SmalltalkEvolving ALLSTOCKER: Agile increments with Pharo Smalltalk
Evolving ALLSTOCKER: Agile increments with Pharo SmalltalkESUG
 
Interpreting RL Trading Agents
Interpreting RL Trading AgentsInterpreting RL Trading Agents
Interpreting RL Trading AgentsBryanYekelchik
 
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
 
Starring sakila my sql university 2009
Starring sakila my sql university 2009Starring sakila my sql university 2009
Starring sakila my sql university 2009David Paz
 
eClub CVUT - How to organize work in a small startup? - Prague - April 11 2013
eClub CVUT - How to organize work in a small startup? - Prague - April 11 2013eClub CVUT - How to organize work in a small startup? - Prague - April 11 2013
eClub CVUT - How to organize work in a small startup? - Prague - April 11 2013Jaroslav Gergic
 
Indix Engineering Culture Code (2015)
Indix Engineering Culture Code (2015)Indix Engineering Culture Code (2015)
Indix Engineering Culture Code (2015)Rajesh Muppalla
 
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016Dan Lynn
 
NE Scala 2016 roundup
NE Scala 2016 roundupNE Scala 2016 roundup
NE Scala 2016 roundupHung Lin
 
Production ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ wazeProduction ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ wazeIdo Shilon
 
Running a small, high tech consulting firm - lessons learned
Running a small, high tech consulting firm - lessons learnedRunning a small, high tech consulting firm - lessons learned
Running a small, high tech consulting firm - lessons learnedPere Ferrera Bertran
 

Similar to Introduction to Algorithmic Trading (20)

Big Mountain Data Workshop Technical track
Big Mountain Data Workshop Technical trackBig Mountain Data Workshop Technical track
Big Mountain Data Workshop Technical track
 
Careers in Algorithmic Trading
Careers in Algorithmic TradingCareers in Algorithmic Trading
Careers in Algorithmic Trading
 
Data science Applications in the Enterprise
Data science Applications in the EnterpriseData science Applications in the Enterprise
Data science Applications in the Enterprise
 
Beat the Benchmark.
Beat the Benchmark.Beat the Benchmark.
Beat the Benchmark.
 
Beat the Benchmark.
Beat the Benchmark.Beat the Benchmark.
Beat the Benchmark.
 
Deepak Tiwari, Lyft
Deepak Tiwari, LyftDeepak Tiwari, Lyft
Deepak Tiwari, Lyft
 
Algorithmic pricing: Forecasting and Pricing
Algorithmic pricing: Forecasting and PricingAlgorithmic pricing: Forecasting and Pricing
Algorithmic pricing: Forecasting and Pricing
 
Testing trading strategies in JavaScript
Testing trading strategies in JavaScriptTesting trading strategies in JavaScript
Testing trading strategies in JavaScript
 
Dirty data? Clean it up! - Datapalooza Denver 2016
Dirty data? Clean it up! - Datapalooza Denver 2016Dirty data? Clean it up! - Datapalooza Denver 2016
Dirty data? Clean it up! - Datapalooza Denver 2016
 
Evolving ALLSTOCKER: Agile increments with Pharo Smalltalk
Evolving ALLSTOCKER: Agile increments with Pharo SmalltalkEvolving ALLSTOCKER: Agile increments with Pharo Smalltalk
Evolving ALLSTOCKER: Agile increments with Pharo Smalltalk
 
Software for startups
Software for startupsSoftware for startups
Software for startups
 
Interpreting RL Trading Agents
Interpreting RL Trading AgentsInterpreting RL Trading Agents
Interpreting RL Trading Agents
 
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
 
Starring sakila my sql university 2009
Starring sakila my sql university 2009Starring sakila my sql university 2009
Starring sakila my sql university 2009
 
eClub CVUT - How to organize work in a small startup? - Prague - April 11 2013
eClub CVUT - How to organize work in a small startup? - Prague - April 11 2013eClub CVUT - How to organize work in a small startup? - Prague - April 11 2013
eClub CVUT - How to organize work in a small startup? - Prague - April 11 2013
 
Indix Engineering Culture Code (2015)
Indix Engineering Culture Code (2015)Indix Engineering Culture Code (2015)
Indix Engineering Culture Code (2015)
 
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
 
NE Scala 2016 roundup
NE Scala 2016 roundupNE Scala 2016 roundup
NE Scala 2016 roundup
 
Production ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ wazeProduction ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ waze
 
Running a small, high tech consulting firm - lessons learned
Running a small, high tech consulting firm - lessons learnedRunning a small, high tech consulting firm - lessons learned
Running a small, high tech consulting firm - lessons learned
 

Recently uploaded

obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontangobat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontangsiskavia95
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancingmohamed Elzalabany
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeBoston Institute of Analytics
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Valters Lauzums
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024patrickdtherriault
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...Amil baba
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfgreat91
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...yulianti213969
 
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...ssuserf63bd7
 
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...yulianti213969
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Klinik Aborsi
 
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...siskavia95
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证zifhagzkk
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshareraiaryan448
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesBoston Institute of Analytics
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444saurabvyas476
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证pwgnohujw
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证pwgnohujw
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfRobertoOcampo24
 

Recently uploaded (20)

obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontangobat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancing
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
 
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
 
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
 
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
 
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshare
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting Techniques
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdf
 

Introduction to Algorithmic Trading

  • 2. Research ● Algorithms for Optimal Bayesian Networks ○ http://www.sciencedirect.com/science/article/pii/S1877050916318816 ● Trend Classification ● ZigZag indicators ● Sample Data: ○ https://www.kaggle.com/algonell/eurusd-h4
  • 3. Goal ● Present to you some frameworks and tools ● Show you a simple Numer.ai submission ● Show you a simple trading algorithm in Quantopian ● Make you passionate about building alphas
  • 4. Algorithmic Trading ● Automated execution of trading algorithms ● You can invest in some index ● Or you can try to beat the index (alpha) ● Alpha - a trading strategy/model ● High vs. Low Frequency Trading ● Technical / Fundamental / Fusion
  • 6. Data ● ['datetime', 'open', 'high', 'low', 'close', 'volume', 'adj close'] ● Yahoo Finance ○ Anything (except FX), daily ● Quandl ○ Anything, daily ○ Paid subscriptions ● MetaTrader 5 ○ FX, CFD, indices ○ M5, M15, …, MN1 ● Quantopian ○ Proprietary, no downloads ○ Anything (except FX), daily
  • 7. Tools ● Pandas ○ Originally developed by AQR ○ Data retrieval, pct_change, shift, cumsum etc. ● TA-LIB ○ Technical indicators ● Zipline ○ Strategy backtesting ● Pyfolio ○ Strategy evaluation ● Alphalens ○ Alpha factors evaluation
  • 8. Quantopian ● PAAS - research, develop and backtest alphas ● Largest Quant community nowadays ● Ongoing contests (6 months round) ● Opportunity to get fund allocations ● Connect your IB paper trading/real accounts
  • 9. Numer.ai ● Hedge fund of Data Scientists ● Kind of a Kaggle ● Uses meta model for BTC trading ● Ongoing competition, weekly rounds, clean data ● You get paid BTC if your models generalize well ● You get Numeraire if you are persistent ● Better models are better for everyone ● They claim that 10K$ earnings today, will be millions in a couple of years
  • 10. Examples ● Numer.ai - simple submission notebook ● Quantopian - simple trading algorithm with Machine Learning ● GitHub: ○ https://github.com/algonell/PyData
  • 11. The Real Deal ● Start with simple data ● Develop some alphas, good systems are simple and robust ● Backtest & optimize it (out of sample) ● Compare your performance to some benchmark (SPY, DXY) ● Paper trade it ● Live trade it with small amounts ● Grow your risk ● Repeat this flow ● It’s NP, but successful traders are the oracles ● It takes years to master
  • 12. Resources: Trading ● Investment Management by University of Geneva ○ https://www.coursera.org/specializations/investment-management ● Chat With Traders ○ https://chatwithtraders.com/ ● Invstr ○ https://invstr.com/ ● Baby Pips ○ http://www.babypips.com/ ● Investopedia ○ http://www.investopedia.com/
  • 13. Resources: Quantitative Finance ● Computational Investment by Georgia Tech ○ https://www.coursera.org/learn/computational-investing ○ https://www.udacity.com/course/machine-learning-for-trading--ud501 ● Max Dama’s paper ○ https://www.quantopian.com/posts/max-dama-on-automated-trading-pdf ● Quantopian ○ https://www.quantopian.com ● Numer.ai ○ https://numer.ai/ ● QuantStart ○ https://www.quantstart.com/
  • 14. Resources: Tools ● Yahoo Finance - historical data download ○ https://finance.yahoo.com/quote/FB/history?p=FB ● Quandl - historical data API ○ https://www.quandl.com/data/ECB/EURUSD-EUR-vs-USD-Foreign-Exchange-Reference-Rate ● MetaTrader 5 ○ https://www.metatrader5.com/en ● TA-LIB ○ https://github.com/mrjbq7/ta-lib ● Zipline ○ http://www.zipline.io/ ● Pyfolio ○ https://github.com/quantopian/pyfolio
  • 15. That’s all Folks! Andrew Kreimer kreimer.andrew@algonell.com @algonell