Fix wrong realistic_simulation implementation in Hyperopt
This commit is contained in:
@@ -447,7 +447,7 @@ class Hyperopt(Backtesting):
|
||||
{
|
||||
'stake_amount': self.config['stake_amount'],
|
||||
'processed': self.processed,
|
||||
'realistic': params['realistic_simulation'],
|
||||
'realistic': self.config.get('realistic_simulation', False),
|
||||
}
|
||||
)
|
||||
result_explanation = self.format_results(results)
|
||||
|
||||
Reference in New Issue
Block a user