16
Introduction to Algorithmic Trading A Beginner’s Guide to Automating Investing Strategies www.quantconnect.com

Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

  • Upload
    doandan

  • View
    229

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

Introduction to Algorithmic TradingA Beginner’s Guide to Automating Investing Strategies

www.quantconnect.com

Page 2: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 2

Outline

What is QuantConnect?

What is Algorithmic Trading? How can it help?

Algorithm Development Process

Creating An Investment Hypothesis

Testing Our Hypothesis with QuantConnect Research

Coding and Backtesting A Strategy

Deploying Live

Page 3: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

What is QuantConnect?

We empower investors with powerful

investment tools and connect the brightest

minds from around the world with capital they need.

Page 4: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

What is QuantConnect?

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 4

QuantConnect is a community of 40,000 Engineers, Data Scientists, ProgrammersFrom 6,100 Cities and 173 Countries

Page 5: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 5

Building Thousands of Algorithms Every Day

Page 6: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

We’ve built a web algorithm lab where thousands of

people test their ideas on financial data we provide; for free.

LEAN ALGOTECHNOLOGY

FINANCIALDATA

POWERCOMPUTING

How do we do it?

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 6

Page 7: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

What is Algorithmic / Quantitative Trading?

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 7

Using code for the implementation of your investment strategies.

Wide variety of investment time horizons.

Using math or scientific techniques in the investment process.

Page 8: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

What Algorithmic Trading Is Not

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 8

Get rich quick vehicle, or quick pathway to retirement.

Not Solely HFT. High Frequency Trading is one type of algorithmic trading.

Page 9: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

Why is Algorithmic Trading Useful?

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 9

#1. Using computers to do things people find boring and time consuming.

Page 10: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

Why is Algorithmic Trading Useful?

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 10

#2. Enforce discipline in your investment strategy through automating execution.

Page 11: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

Why is Algorithmic Trading Useful?

#3. Monitor portfolio 24/7 and control your risk.

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 11

Page 12: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 12

Development Process

Live Trade

Deploy the strategy live in a

real money account.

Research Ideas

Backtest Algorithms

Paper Trade

Live Trading

ResearchQuickly test ideas in a command

line environment.

BacktestCodify and run full simulation in the

Algorithm Lab.

Paper TradeRun idea on live market data.

Page 13: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 13

Creating Our Investment Hypothesis

Will rise of electric cars will make solely traditional manufacturers fall in value?

Does the elected political party impact market stability, dynamics?

Does consumer discretionary income and savings indicate better retail sales?

Examples of an Investment Hypothesis

For Our First, Lets Keep It Simple

The markets are smoothest when they’re going up; and higher volatility is normally from panic. Should we

wait on sidelines when there’s panic?

Page 14: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

Our Research Environment

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 14

Page 15: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

Coding the Idea, The Algorithm Lab

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 15

Page 16: Introduction to Algorithmic Trading - Interactive Brokers€¦ · October-2017. QuantConnect – An Introduction to Algorithmic Trading. Page 13. Creating Our Investment Hypothesis

Going Live, Deploying to Live Trading

October-2017 QuantConnect – An Introduction to Algorithmic Trading Page 16