Rename duration to trade_duration

This commit is contained in:
Matthias
2020-06-26 21:04:40 +02:00
parent f368aabcc7
commit 7727292861
4 changed files with 6 additions and 5 deletions

View File

@@ -228,7 +228,7 @@ class Backtesting:
open_rate=buy_row.open,
open_date=buy_row.date,
stake_amount=stake_amount,
amount=stake_amount / buy_row.open,
amount=round(stake_amount / buy_row.open, 8),
fee_open=self.fee,
fee_close=self.fee,
is_open=True,