Backtrader Examples

Some backtrader examples

Install backtrader

  • clone repository
$ git clone https://github.com/anderson89marques/testando_backtrader
$ cd testando_backtrader
  • activate your virtual enviroment and install dependencies.
$ source /path-to-virtual-env/bin/activate
$ pip install -r requirements.txt
  • put binance.csv inside testando_backtrader folder e run python mudule
$ python SMA_example.py
or
$ python EMA_example.py
or
$ python dual_ema_example.py