Risk Control with Trailing Stops and Options
Systematic Evaluation of Popular Risk Control Techniques
www.quantconnect.com
Jared Broad
Founder & CEO
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 2
Outline
▪ Introduction to QuantConnect
▪ Algorithm Development Process
▪ Creating Our Investigation Thesis
▪ Developing a Control
▪ Testing and Researching
▪ Experiment 1: Adding Trailing Stop
▪ Experiment 2: Adding Option Hedge
▪ Experiment 3: Covered Calls
▪ Summary
What is QuantConnect?
We empower investors with powerful
investment tools and connect the brightest
minds from around the world with capital they need.
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 3
What is QuantConnect?
QuantConnect is a community of 44,000 Engineers, Data Scientists, Programmers
From 6,100 Cities and 173 Countries
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 4
Building Thousands of Algorithms Every Day
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 5
We’ve built a web algorithm lab where thousands of
people test their ideas on financial data we provide; for free.
LEAN ALGO
TECHNOLOGY
FINANCIAL
DATA
POWER
COMPUTING
How do we do it?
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 6
EQUITIES
OPTIONS
FUTURES
FOREX
CRYPTO
Development Process
Live Trade
Deploy the strategy live in
a real money account.
Research
Ideas
Backtest
Algorithms
Paper
Trade
Live
Trading
Research
Quickly test ideas in a
command line environment.
Backtest
Codify and run full simulation
in the Algorithm Lab.
Paper Trade
Run idea on live market data.
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 7
Creating Our Investment Hypothesis
First we define our null hypothesis,
something we setout to disprove:
The market is completely efficient and
attempts at risk control are futile.
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 8
We are testing this theory by evaluating popular risk control methods;
(e.g. Trailing Stops and Option Hedging), and comparing the performance.
Setting the Benchmark, Control
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 9
• Define a baseline performance for judging algorithm studies.
• Baseline should ideally be as close as possible to study. This reduces
other variables and makes it easier to identify potential causes.
Control: Long Only MACD
Long-Flat MACD; nothing else.
Exp 1: Long Only MACD
+ Trailing Stop.
Exp 2: Long Only MACD
+ Put Option Hedge.
Exploratory Research
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 10
Quantbook Research
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 11
Control Implementation
SPY Backtest
IBM Backtest
Trailing Stop Hypothesis
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 12
Place Stop
Move Up
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 13
Experiment 1: Adding Trailing Stop
SPY Backtest
IBM Backtest
Option Hedge Hypothesis
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 14
Buy Put
Insure Dip
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 15
Experiment 2: Buying Put Hedge
SPY Backtest
IBM Backtest
Covered Call, Selling Options Hypothesis
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 16
Buy Stock
Sell Call
Covered call works best on
sideways or downward markets.
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 17
Experiment 3: Selling Covered Call
Not strictly “risk control”
SPY Backtest
IBM Backtest
Key Statistics
IBM Experiment Sharpe Ratio Drawdown Alpha
Control Study 0.844 2.7% 0.015
Trailing Stop 0.615 7% 0.005
Option Hedging 1.194 3.8% 0.032
Covered Calls 1.891 3.3% 0.057
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 18
Key statistics from testing our experimental strategy against a
downward/sideways trending asset; IBM.
Key Statistics
SPY Experiment Sharpe Ratio Drawdown Alpha
Control Study 0.944 3.6% 0.007
Trailing Stop 1.396 4.1% 0.015
Option Hedging 1.038 3.6% 0.004
Covered Calls 2.13 3.0% 0.042
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 19
Key statistics summary from re-testing the control and experimental strategies
against a trending asset; the SPY ETF.
www.quantconnect.com
Thank you.
Appendix
Our Research Environment
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 22
Coding the Idea, The Algorithm Lab
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 23
Going Live, Deploying to Live Trading
November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 24

More Related Content

PDF
QuantConnect - Introduction to Pairs Trading
PPTX
QuantConnect ETF Momentum Asset Allocation
PDF
Get Started with Quantiacs
PPT
options basics and andvance aur ky alikh.ppt
PDF
OPTION SERIES with market profile for entry exit part 1
DOCX
A new strain of avian (bird) virus has popped up in China and has .docx
PPTX
Options.pptx
PDF
Modeling a system for managing options
QuantConnect - Introduction to Pairs Trading
QuantConnect ETF Momentum Asset Allocation
Get Started with Quantiacs
options basics and andvance aur ky alikh.ppt
OPTION SERIES with market profile for entry exit part 1
A new strain of avian (bird) virus has popped up in China and has .docx
Options.pptx
Modeling a system for managing options

Recently uploaded (20)

PDF
Hindi spoken digit analysis for native and non-native speakers
PPT
Geologic Time for studying geology for geologist
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
DOCX
search engine optimization ppt fir known well about this
PPTX
Configure Apache Mutual Authentication
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
UiPath Agentic Automation session 1: RPA to Agents
PPTX
2018-HIPAA-Renewal-Training for executives
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPT
What is a Computer? Input Devices /output devices
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
Five Habits of High-Impact Board Members
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PPTX
The various Industrial Revolutions .pptx
Hindi spoken digit analysis for native and non-native speakers
Geologic Time for studying geology for geologist
Chapter 5: Probability Theory and Statistics
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Taming the Chaos: How to Turn Unstructured Data into Decisions
Developing a website for English-speaking practice to English as a foreign la...
Module 1.ppt Iot fundamentals and Architecture
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
search engine optimization ppt fir known well about this
Configure Apache Mutual Authentication
1 - Historical Antecedents, Social Consideration.pdf
UiPath Agentic Automation session 1: RPA to Agents
2018-HIPAA-Renewal-Training for executives
OpenACC and Open Hackathons Monthly Highlights July 2025
What is a Computer? Input Devices /output devices
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Flame analysis and combustion estimation using large language and vision assi...
Five Habits of High-Impact Board Members
The influence of sentiment analysis in enhancing early warning system model f...
The various Industrial Revolutions .pptx
Ad
Ad

QuantConnect - Using Options for Risk Control with Python

  • 1. Risk Control with Trailing Stops and Options Systematic Evaluation of Popular Risk Control Techniques www.quantconnect.com Jared Broad Founder & CEO
  • 2. November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 2 Outline ▪ Introduction to QuantConnect ▪ Algorithm Development Process ▪ Creating Our Investigation Thesis ▪ Developing a Control ▪ Testing and Researching ▪ Experiment 1: Adding Trailing Stop ▪ Experiment 2: Adding Option Hedge ▪ Experiment 3: Covered Calls ▪ Summary
  • 3. What is QuantConnect? We empower investors with powerful investment tools and connect the brightest minds from around the world with capital they need. November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 3
  • 4. What is QuantConnect? QuantConnect is a community of 44,000 Engineers, Data Scientists, Programmers From 6,100 Cities and 173 Countries November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 4
  • 5. Building Thousands of Algorithms Every Day November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 5
  • 6. We’ve built a web algorithm lab where thousands of people test their ideas on financial data we provide; for free. LEAN ALGO TECHNOLOGY FINANCIAL DATA POWER COMPUTING How do we do it? November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 6 EQUITIES OPTIONS FUTURES FOREX CRYPTO
  • 7. Development Process Live Trade Deploy the strategy live in a real money account. Research Ideas Backtest Algorithms Paper Trade Live Trading Research Quickly test ideas in a command line environment. Backtest Codify and run full simulation in the Algorithm Lab. Paper Trade Run idea on live market data. November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 7
  • 8. Creating Our Investment Hypothesis First we define our null hypothesis, something we setout to disprove: The market is completely efficient and attempts at risk control are futile. November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 8 We are testing this theory by evaluating popular risk control methods; (e.g. Trailing Stops and Option Hedging), and comparing the performance.
  • 9. Setting the Benchmark, Control November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 9 • Define a baseline performance for judging algorithm studies. • Baseline should ideally be as close as possible to study. This reduces other variables and makes it easier to identify potential causes. Control: Long Only MACD Long-Flat MACD; nothing else. Exp 1: Long Only MACD + Trailing Stop. Exp 2: Long Only MACD + Put Option Hedge.
  • 10. Exploratory Research November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 10 Quantbook Research
  • 11. November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 11 Control Implementation SPY Backtest IBM Backtest
  • 12. Trailing Stop Hypothesis November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 12 Place Stop Move Up
  • 13. November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 13 Experiment 1: Adding Trailing Stop SPY Backtest IBM Backtest
  • 14. Option Hedge Hypothesis November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 14 Buy Put Insure Dip
  • 15. November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 15 Experiment 2: Buying Put Hedge SPY Backtest IBM Backtest
  • 16. Covered Call, Selling Options Hypothesis November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 16 Buy Stock Sell Call Covered call works best on sideways or downward markets.
  • 17. November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 17 Experiment 3: Selling Covered Call Not strictly “risk control” SPY Backtest IBM Backtest
  • 18. Key Statistics IBM Experiment Sharpe Ratio Drawdown Alpha Control Study 0.844 2.7% 0.015 Trailing Stop 0.615 7% 0.005 Option Hedging 1.194 3.8% 0.032 Covered Calls 1.891 3.3% 0.057 November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 18 Key statistics from testing our experimental strategy against a downward/sideways trending asset; IBM.
  • 19. Key Statistics SPY Experiment Sharpe Ratio Drawdown Alpha Control Study 0.944 3.6% 0.007 Trailing Stop 1.396 4.1% 0.015 Option Hedging 1.038 3.6% 0.004 Covered Calls 2.13 3.0% 0.042 November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 19 Key statistics summary from re-testing the control and experimental strategies against a trending asset; the SPY ETF.
  • 22. Our Research Environment November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 22
  • 23. Coding the Idea, The Algorithm Lab November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 23
  • 24. Going Live, Deploying to Live Trading November-2017 QuantConnect – Risk Control with Trailing Stops and Options Page 24