mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 00:23:07 +00:00
fix: improved defaultHyperoptLoss alias
this gives the class it's proper name.
This commit is contained in:
@@ -53,4 +53,5 @@ class ShortTradeDurHyperOptLoss(IHyperOptLoss):
|
||||
|
||||
|
||||
# Create an alias for This to allow the legacy Method to work as well.
|
||||
DefaultHyperOptLoss = ShortTradeDurHyperOptLoss
|
||||
class DefaultHyperOptLoss(ShortTradeDurHyperOptLoss):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user