Skip to content

61go/depp

Repository files navigation

Backtrader Binance Bot

A example of bot using Backtrader to trade Bitcoins in Binance Exchange.

This project is not maintained, it is just an example of backtrader usage. Do not use it in production!

Presentation in TDC Belo Horizonte 2019 (pt-BR)

Installation

Activating Virtualenv

make init
source venv/bin/activate

Installing dependencies

make install

Start application

./main.py

Results

alt text

Starting Portfolio Value: 100000.00
Final Portfolio Value: 119192.61

Profit 19.193%
Trade Analysis Results:
               Total Open     Total Closed   Total Won      Total Lost     
               0              10             7              3              
               Strike Rate    Win Streak     Losing Streak  PnL Net        
               1              5              2              19192.61       
SQN: 1.75

pip uninstall matplotlib  # or conda
pip install matplotlib==3.2.2

单独安装bt-ccxt-store

pip install git+https://github.com/Dave-Vallance/bt-ccxt-store.git