Learn how to code your own algorithmic trading strategy from scratch using two strategy coding examples involving Regular and Bracket orders respectively.
- EMA-Regular-Order Strategy: Coding the
__init__,initialize,nameandversions_supportedmethods - EMA-Regular-Order Strategy: Coding the
strategy_select_instruments_for_entrymethod - EMA-Regular-Order Strategy: Coding the
strategy_enter_positionmethod - EMA-Regular-Order Strategy: Coding the
strategy_select_instruments_for_exitmethod - EMA-Regular-Order Strategy: Coding the
strategy_exit_positionmethod - EMA-Regular-Order Strategy: Uploading the strategy on AlgoBulls Trading Platform
- MACD-Bracket-Order Strategy: Coding the
__init__,initialize,nameandversions_supportedmethod - MACD-Bracket-Order Strategy: Coding the
strategy_select_instruments_for_entrymethod - MACD-Bracket-Order Strategy: Coding the
strategy_enter_positionmethod - MACD-Bracket-Order Strategy: Coding the
strategy_select_instruments_for_exitmethod - MACD-Bracket-Order Strategy: Coding the
strategy_exit_positionmethod - MACD-Bracket-Order Strategy: Uploading the strategy on AlgoBulls Trading Platform
[Click here to VIEW Chapter 8 Jupyter Notebook on nbviewer]
- 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