mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 20:23:57 +00:00
Update and rename hyperopt_loss_complex.py to hyperopt_loss_multi_metric.py
This commit is contained in:
parent
9209d11084
commit
121bdbad84
|
@ -1,5 +1,5 @@
|
||||||
"""
|
"""
|
||||||
ComplexHyperOptLoss
|
MultiMetricHyperOptLoss
|
||||||
|
|
||||||
This module defines the alternative HyperOptLoss class based on:
|
This module defines the alternative HyperOptLoss class based on:
|
||||||
- Profit
|
- Profit
|
||||||
|
@ -41,7 +41,7 @@ PF_CONST = 1
|
||||||
WINRATE_CONST = 1.2
|
WINRATE_CONST = 1.2
|
||||||
|
|
||||||
|
|
||||||
class ComplexHyperOptLoss(IHyperOptLoss):
|
class MultiMetricHyperOptLoss(IHyperOptLoss):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def hyperopt_loss_function(
|
def hyperopt_loss_function(
|
||||||
*,
|
*,
|
Loading…
Reference in New Issue
Block a user