fix indentations
This commit is contained in:
parent
c774bce4a7
commit
b7b1db7eb4
@ -120,7 +120,7 @@ def backtest(stake_amount: float, processed: Dict[str, DataFrame],
|
|||||||
current_profit_percent,
|
current_profit_percent,
|
||||||
current_profit_BTC,
|
current_profit_BTC,
|
||||||
row2.Index - row.Index
|
row2.Index - row.Index
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
break
|
break
|
||||||
labels = ['currency', 'profit_percent', 'profit_BTC', 'duration']
|
labels = ['currency', 'profit_percent', 'profit_BTC', 'duration']
|
||||||
|
@ -159,7 +159,7 @@ def format_results(results: DataFrame):
|
|||||||
results.profit_percent.mean() * 100.0,
|
results.profit_percent.mean() * 100.0,
|
||||||
results.profit_BTC.sum(),
|
results.profit_BTC.sum(),
|
||||||
results.duration.mean() * 5,
|
results.duration.mean() * 5,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def buy_strategy_generator(params):
|
def buy_strategy_generator(params):
|
||||||
|
Loading…
Reference in New Issue
Block a user