Skip to content

radoslavdodek/backtrader-test-strategies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backtrader Test Strategies

Test bitcoin trading strategies using Backtrader framework (see https://backtrader.com).

Current implementation contains simple MACD based strategy (see MACDStrategy.py).

Prerequisites

  • Python 3.6+: https://www.python.org/downloads/

  • Backtrader module:

    pip install backtrader
    
  • Matplotlib module:

    pip install matplotlib
    

    Note: On Ubuntu 18 you might need:

    sudo apt-get install -y python-matplotlib
    sudo apt-get install -y python3-matplotlib
    

How to run

Execute this command:

python Main.py 

Folders

data

  • btc-eur-history.csv: CSV file which contains BTC to EUR data since 2011-08-27 until 2020-01-13 (on daily basis).

helpers

About

Test bitcoin trading strategies using Backtrader framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages