SlideShare uma empresa Scribd logo
1 de 24
Baixar para ler offline
What we learned from
running a quant crypto
hedge fund
Michael Feng
CoinAlpha
January 24, 2018
Agenda
About us
Why quant crypto trading?
Lessons learned
Resources
Q&A
About us
CoinAlpha
Mission: To give individuals financial superpowers
using blockchain technology
Deep domain expertise in trading, corporate finance,
software engineering, and data science
Based in Mountain View, CA
Our hedge fund
CoinAlpha Falcon, LP
Oct 2017 to Sept 2018
BTC/USD, ETH/USD
Directional (momentum, mean reversion)
Mid-frequency (1-3 days)
22 ($600k)
1% base / 20% performance
None (Ethereum smart contract)
Name
Track record
Portfolio
Strategy
Frequency
Investors
Fees
Administrator
Fund performance
Falcon BTC ETH
Return 21.8% 13.3% -28.9%
Sharpe ratio 0.5 0.2 -0.3
Sortino ratio 0.74 0.27 -0.50
Max drawdown -40.5% -68.5% -83.2%
Our new product
High frequency market making bot
Open source
Professional-grade
Cross-exchange market making
DEX-compatible
hummingbot.io
Why quant crypto
trading?
Chart reading:
the horse-drawn carriage of finance
Inefficient market
Hundreds of exchanges globally
New instruments appear daily
No standard FIX protocol
Lack of large institutional players
Visible trends in historical data
Direct market access
Alice
Broker
Market maker
Exchange
Bob
Exchange
commissions
commissions
payment for order flow
bid-ask spread
FIAT CRYPTO
No co-location
Level playing field
Free data Open APIs
Will these characteristics persist as the crypto industry matures?
Lessons learned
1. Crypto enables new quant strategies
Directional
momentum
mean reversion
correlation
sentiment
event-driven
Overfitting
Arbitrage
jurisdiction
spot vs futures
CEX vs DEX
borrow/lend
Saturation
Market making
liquid, high volume assets
Illiquid, low volume assets
cross-exchange
Inventory
Type
Variations
Primary risk
2. Build a chain of production
Data
curation
Feature
analysis
Strategy
definition
Backtesting Deployment Monitoring
Collect, clean,
index, store data
Discover features
by labeling and
weighting data
Develop a
general model
that explains the
features
Assess the
profitability of a
model using
historical data
Roll out the
strategy into live
trading
Evaluate the
performance of all
live strategies and
allocate capital
between them
3. Preventing overfitting is job #1
Why it happens
● Humans naturally find patterns
● Time-series data is not independent
● When in doubt, add more features!
How to prevent it
● Separate tasks
● Split data into training/validation/test
● Paper trade before doing live trading
● Be skeptical!
4. Establish a disaster response plan
Falcon ETH trading Dec 15-22, 2017
1. Bot buys
2. Manual intervention
3. Bottom
4. Bot sells
5. Every model has an expiration date
Market regime pre May 2018
Trends last for days/weeks
Higher volatility
Long term up and down cycles
Market regime post May 2018
Trends last for hours/days
Lower volatility
Long-term downtrend
Resources
Books
Advances in Financial Machine Learning by Martin Lopez de Prado
Flash Boys by Michael Lewis
The Quants by Scott Patterson
When Genius Failed by Roger Lowenstein
Courses
Machine Learning (Coursera, free)
Intro to Machine Learning for Coders (fast.ai, free)
Artificial Intelligence for Trading (Udacity, paid)
Cryptocurrency Trading (Blockchain at Berkeley, free)
Open source projects
hummingbot: high frequency market making bot
ccxt: trading API for multiple crypto exchanges
gekko: TA-based trading bot and backtesting tool
backtrader: Python backtesting library
catalyst: Crypto fork of Quantopian Zipline
Q&A

Mais conteúdo relacionado

Mais procurados

The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
Quantopian
 

Mais procurados (20)

"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob..."Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
 
DIY Quant Strategies on Quantopian
DIY Quant Strategies on QuantopianDIY Quant Strategies on Quantopian
DIY Quant Strategies on Quantopian
 
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle..."Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
 
"Opportunities and Pitfalls in Momentum Investing" by Gary Antonacci, Author ...
"Opportunities and Pitfalls in Momentum Investing" by Gary Antonacci, Author ..."Opportunities and Pitfalls in Momentum Investing" by Gary Antonacci, Author ...
"Opportunities and Pitfalls in Momentum Investing" by Gary Antonacci, Author ...
 
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris..."A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
 
Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU
  Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU  Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU
Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU
 
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin..."Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
 
Section I - CH 2 - Money and Portfolio Risk Management.pdf
Section I - CH 2 - Money and Portfolio Risk Management.pdfSection I - CH 2 - Money and Portfolio Risk Management.pdf
Section I - CH 2 - Money and Portfolio Risk Management.pdf
 
Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.
 
Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!
 
Classification of quantitative trading strategies webinar ppt
Classification of quantitative trading strategies webinar pptClassification of quantitative trading strategies webinar ppt
Classification of quantitative trading strategies webinar ppt
 
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D..."From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
 
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin..."Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
 
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
 
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
 
"Deep Q-Learning for Trading" by Dr. Tucker Balch, Professor of Interactive C...
"Deep Q-Learning for Trading" by Dr. Tucker Balch, Professor of Interactive C..."Deep Q-Learning for Trading" by Dr. Tucker Balch, Professor of Interactive C...
"Deep Q-Learning for Trading" by Dr. Tucker Balch, Professor of Interactive C...
 
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
 
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
 
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
 
Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...
Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...
Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...
 

Semelhante a What we learned from running a quant crypto hedge fund

Expert Advisor Technology Ver2
Expert Advisor Technology Ver2Expert Advisor Technology Ver2
Expert Advisor Technology Ver2
guest125891
 
20121108 sntmnt data_sciencenl
20121108 sntmnt data_sciencenl20121108 sntmnt data_sciencenl
20121108 sntmnt data_sciencenl
datasciencenl
 

Semelhante a What we learned from running a quant crypto hedge fund (20)

Building Deep Tech Startups Outside Silicon Valley
Building Deep Tech Startups Outside Silicon ValleyBuilding Deep Tech Startups Outside Silicon Valley
Building Deep Tech Startups Outside Silicon Valley
 
Studium general material
Studium general materialStudium general material
Studium general material
 
ICO digest TrustaBit
ICO digest TrustaBitICO digest TrustaBit
ICO digest TrustaBit
 
Orbit the Tool
Orbit the ToolOrbit the Tool
Orbit the Tool
 
Capital Markets
Capital MarketsCapital Markets
Capital Markets
 
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
 
Big Data, Machine Learning and Capital Markets
Big Data, Machine Learning and Capital MarketsBig Data, Machine Learning and Capital Markets
Big Data, Machine Learning and Capital Markets
 
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
 
Expert Advisor Technology Ver2
Expert Advisor Technology Ver2Expert Advisor Technology Ver2
Expert Advisor Technology Ver2
 
Bitget Business Profile
Bitget Business ProfileBitget Business Profile
Bitget Business Profile
 
balixa.io Plan.pdf
balixa.io Plan.pdfbalixa.io Plan.pdf
balixa.io Plan.pdf
 
Investing in Cryptocurrencies and Token Offerings - a how to guide
Investing in Cryptocurrencies and Token Offerings - a how to guideInvesting in Cryptocurrencies and Token Offerings - a how to guide
Investing in Cryptocurrencies and Token Offerings - a how to guide
 
Introduction to Blockchain and BitCoin New Business Opportunties
Introduction to Blockchain and BitCoin New Business OpportuntiesIntroduction to Blockchain and BitCoin New Business Opportunties
Introduction to Blockchain and BitCoin New Business Opportunties
 
Atom 2018-share-v1
Atom 2018-share-v1Atom 2018-share-v1
Atom 2018-share-v1
 
What you need to know about Cryptocurrency Trading by Oladayo Oladipupo
What you need to know about Cryptocurrency Trading by Oladayo OladipupoWhat you need to know about Cryptocurrency Trading by Oladayo Oladipupo
What you need to know about Cryptocurrency Trading by Oladayo Oladipupo
 
Big data in Private Banking
Big data in Private BankingBig data in Private Banking
Big data in Private Banking
 
20140821 GoCoin Deck
20140821 GoCoin Deck20140821 GoCoin Deck
20140821 GoCoin Deck
 
Trends in Technology That Will Shape the Next Decade.docx
Trends in Technology That Will Shape the Next Decade.docxTrends in Technology That Will Shape the Next Decade.docx
Trends in Technology That Will Shape the Next Decade.docx
 
20121108 sntmnt data_sciencenl
20121108 sntmnt data_sciencenl20121108 sntmnt data_sciencenl
20121108 sntmnt data_sciencenl
 
Click Earn Grow 2009 Original Concept Next Generation Online Betting Technolo...
Click Earn Grow 2009 Original Concept Next Generation Online Betting Technolo...Click Earn Grow 2009 Original Concept Next Generation Online Betting Technolo...
Click Earn Grow 2009 Original Concept Next Generation Online Betting Technolo...
 

Último

The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
daisycvs
 

Último (20)

TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdfTVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
 
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
 
Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
New 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck TemplateNew 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck Template
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 
Falcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business GrowthFalcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business Growth
 
Pre Engineered Building Manufacturers Hyderabad.pptx
Pre Engineered  Building Manufacturers Hyderabad.pptxPre Engineered  Building Manufacturers Hyderabad.pptx
Pre Engineered Building Manufacturers Hyderabad.pptx
 
Buy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail AccountsBuy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail Accounts
 
Rice Manufacturers in India | Shree Krishna Exports
Rice Manufacturers in India | Shree Krishna ExportsRice Manufacturers in India | Shree Krishna Exports
Rice Manufacturers in India | Shree Krishna Exports
 
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGParadip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Cracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' SlideshareCracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' Slideshare
 
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
 
Buy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From SeosmmearthBuy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From Seosmmearth
 
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NSCROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Cannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 UpdatedCannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 Updated
 

What we learned from running a quant crypto hedge fund

  • 1. What we learned from running a quant crypto hedge fund Michael Feng CoinAlpha January 24, 2018
  • 2. Agenda About us Why quant crypto trading? Lessons learned Resources Q&A
  • 4. CoinAlpha Mission: To give individuals financial superpowers using blockchain technology Deep domain expertise in trading, corporate finance, software engineering, and data science Based in Mountain View, CA
  • 5.
  • 6. Our hedge fund CoinAlpha Falcon, LP Oct 2017 to Sept 2018 BTC/USD, ETH/USD Directional (momentum, mean reversion) Mid-frequency (1-3 days) 22 ($600k) 1% base / 20% performance None (Ethereum smart contract) Name Track record Portfolio Strategy Frequency Investors Fees Administrator
  • 7. Fund performance Falcon BTC ETH Return 21.8% 13.3% -28.9% Sharpe ratio 0.5 0.2 -0.3 Sortino ratio 0.74 0.27 -0.50 Max drawdown -40.5% -68.5% -83.2%
  • 8. Our new product High frequency market making bot Open source Professional-grade Cross-exchange market making DEX-compatible hummingbot.io
  • 10. Chart reading: the horse-drawn carriage of finance
  • 11. Inefficient market Hundreds of exchanges globally New instruments appear daily No standard FIX protocol Lack of large institutional players Visible trends in historical data
  • 12. Direct market access Alice Broker Market maker Exchange Bob Exchange commissions commissions payment for order flow bid-ask spread FIAT CRYPTO
  • 13. No co-location Level playing field Free data Open APIs Will these characteristics persist as the crypto industry matures?
  • 15. 1. Crypto enables new quant strategies Directional momentum mean reversion correlation sentiment event-driven Overfitting Arbitrage jurisdiction spot vs futures CEX vs DEX borrow/lend Saturation Market making liquid, high volume assets Illiquid, low volume assets cross-exchange Inventory Type Variations Primary risk
  • 16. 2. Build a chain of production Data curation Feature analysis Strategy definition Backtesting Deployment Monitoring Collect, clean, index, store data Discover features by labeling and weighting data Develop a general model that explains the features Assess the profitability of a model using historical data Roll out the strategy into live trading Evaluate the performance of all live strategies and allocate capital between them
  • 17. 3. Preventing overfitting is job #1 Why it happens ● Humans naturally find patterns ● Time-series data is not independent ● When in doubt, add more features! How to prevent it ● Separate tasks ● Split data into training/validation/test ● Paper trade before doing live trading ● Be skeptical!
  • 18. 4. Establish a disaster response plan Falcon ETH trading Dec 15-22, 2017 1. Bot buys 2. Manual intervention 3. Bottom 4. Bot sells
  • 19. 5. Every model has an expiration date Market regime pre May 2018 Trends last for days/weeks Higher volatility Long term up and down cycles Market regime post May 2018 Trends last for hours/days Lower volatility Long-term downtrend
  • 21. Books Advances in Financial Machine Learning by Martin Lopez de Prado Flash Boys by Michael Lewis The Quants by Scott Patterson When Genius Failed by Roger Lowenstein
  • 22. Courses Machine Learning (Coursera, free) Intro to Machine Learning for Coders (fast.ai, free) Artificial Intelligence for Trading (Udacity, paid) Cryptocurrency Trading (Blockchain at Berkeley, free)
  • 23. Open source projects hummingbot: high frequency market making bot ccxt: trading API for multiple crypto exchanges gekko: TA-based trading bot and backtesting tool backtrader: Python backtesting library catalyst: Crypto fork of Quantopian Zipline
  • 24. Q&A