Skip to content

Files

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Chapter 8: Algorithmic Trading: Coding Strategies Step-by-Step

Learn how to code your own algorithmic trading strategy from scratch using two strategy coding examples involving Regular and Bracket orders respectively.

List of Recipes in this chapter

  1. EMA-Regular-Order Strategy: Coding the __init__, initialize, name and versions_supported methods
  2. EMA-Regular-Order Strategy: Coding the strategy_select_instruments_for_entry method
  3. EMA-Regular-Order Strategy: Coding the strategy_enter_position method
  4. EMA-Regular-Order Strategy: Coding the strategy_select_instruments_for_exit method
  5. EMA-Regular-Order Strategy: Coding the strategy_exit_position method
  6. EMA-Regular-Order Strategy: Uploading the strategy on AlgoBulls Trading Platform
  7. MACD-Bracket-Order Strategy: Coding the __init__, initialize, name and versions_supported method
  8. MACD-Bracket-Order Strategy: Coding the strategy_select_instruments_for_entry method
  9. MACD-Bracket-Order Strategy: Coding the strategy_enter_position method
  10. MACD-Bracket-Order Strategy: Coding the strategy_select_instruments_for_exit method
  11. MACD-Bracket-Order Strategy: Coding the strategy_exit_position method
  12. MACD-Bracket-Order Strategy: Uploading the strategy on AlgoBulls Trading Platform

[Click here to VIEW Chapter 8 Jupyter Notebook on nbviewer]

Requirements

  • Python 3.7+
  • Additional Python Packages required for this chapter can be installed as follows -
$ source <virtualenv>           # optional, if you use a virtualenv
$ cd <path-to-this-folder>
$ pip install -r requirements.txt