bugfix backtesting

This commit is contained in:
chrisapril
2018-01-02 16:24:23 +01:00
parent fc862f5bb9
commit dfdb58edff
2 changed files with 3 additions and 3 deletions

View File

@@ -96,6 +96,7 @@ def backtest(stake_amount: float, processed: Dict[str, DataFrame],
trade_count_lock[row.date] = trade_count_lock.get(row.date, 0) + 1
trade = Trade(
pair=pair,
open_rate=row.close,
open_date=row.date,
stake_amount=stake_amount,