Update docs, fix stake currency exchange config and more generic backtest tests

This commit is contained in:
Ramon Bastiaans
2018-02-02 00:20:35 +01:00
parent f371fba04b
commit 15b31794ce
5 changed files with 41 additions and 27 deletions

View File

@@ -107,13 +107,14 @@ def backtest(args) -> DataFrame:
sell_profit_only: sell if profit only
use_sell_signal: act on sell-signal
stoploss: use stoploss
exchange_name: which exchange to use
:return: DataFrame
"""
processed = args['processed']
max_open_trades = args.get('max_open_trades', 0)
realistic = args.get('realistic', True)
record = args.get('record', None)
exchange_name = args.get('exchange_name', 'bittrex')
exchange_name = args.get('exchange_name', None)
records = []
trades = []
trade_count_lock: dict = {}