trading strategies introduction trading loop trading loop
play

Trading Strategies Introduction Trading Loop Trading Loop Trading - PowerPoint PPT Presentation

Trading Strategies Introduction Trading Loop Trading Loop Trading Loop Trading Loop Three Strategies 1. Mean Reversion 2. Momentum 3. Pairs Trading Budish, E., Cramton, P ., & Shim, J. (2015). The high-frequency trading arms race:


  1. Trading Strategies Introduction

  2. Trading Loop

  3. Trading Loop

  4. Trading Loop

  5. Trading Loop

  6. Three Strategies 1. Mean Reversion 2. Momentum 3. Pairs Trading Budish, E., Cramton, P ., & Shim, J. (2015). The high-frequency trading arms race: Frequent batch auctions as a market robinhood.com tradingview.com design response.

  7. Mean Reversion Strategy Algorithm Data 3. Sell when y t > (1+ d )m t y t Stock Price m t Moving Average Algorithm Parameters w Moving window length Price threshold (%) d 2. Buy when y t < (1 – d )m t 1. Calculate moving average m t of stock price at a time t with the moving window length, w. robinhood.com

  8. Simple Moving Average time (t) price (y t ) t - 4 $311.23 robinhood.com

  9. Simple Moving Average time (t) price (y t ) t - 4 $311.23 t - 3 $316.50 robinhood.com

  10. Simple Moving Average time (t) price (y t ) t - 4 $311.23 t - 3 $316.50 t - 2 $318.27 robinhood.com

  11. Simple Moving Average time (t) price (y t ) t - 4 $311.23 t - 3 $316.50 t - 2 $318.27 t - 1 $320.47 robinhood.com

  12. Simple Moving Average time (t) price (y t ) t - 4 $311.23 t - 3 $316.50 t - 2 $318.27 t - 1 $320.47 t $315.69 robinhood.com

  13. Simple Moving Average AAPL stock price the last 5 days Example: 5 day moving average time (t) price (y t ) t - 4 $311.23 t - 3 $316.50 t - 2 $318.27 t - 1 $320.47 t $315.69

  14. Pairs Trading Idea: Companies that make similar products should have very similar changes in stock price. For example Coke and Pepsi. Source (madison.com)

  15. Pairs Trading Pairs Trading Strategy: When Pepsi drops more than Coke Buy Pepsi stock and Sell Coke stock. • When Coke drops more than Pepsi Buy Coke stock and Sell Pepsi stock. • Source (madison.com)

  16. Tradingview.com Algorithm Data Algorithm Parameters w Moving window length y t Differenced Stock Price m t Price threshold (%) Moving Average d 3. Sell KO, Buy PEP when y t > (1+ d )m t 1. Calculate moving average m t of stock price at a time t with the 2. Buy KO, Sell PEP when y t < (1 – d )m t moving window length, w. Tradingview.com

  17. Pairs Trading - Macro Similar Opportunities exist across entire “sectors” • Banks and Insurance • Restaurants and Travel https://elite.finviz.com/map.ashx?t=sec&st=w52 YTD performance across sectors

  18. Momentum Model Idea: Follow the volatility/trend that a time series may exhibit. Sometimes this volatility can occur as a result of a fundamental change in a business or it’s environment. Such changes could imply a stock dramatically mis-priced. Tesla Tradingview.com

  19. Examples Zoom Beyond Meat Tradingview.com

  20. Momentum Strategy Rate of Change Number of periods to look back Tradingview.com

  21. Algorithm Data Algorithm Parameters n ROC lookback periods s t Stock Price roc t Rate of Change d ROC threshold 1. Calculate rate of change roc t of 2. Buy when roc t moves stock price at a time t with the above threshold d. lookback period, n. Tradingview.com

  22. Trading Algorithms in CloudEx

Recommend


More recommend