From c1c2717bc9a9216c042a7bec2efe94c15bfc4f18 Mon Sep 17 00:00:00 2001 From: Daniel Goller Date: Tue, 21 Jan 2020 15:49:24 +0000 Subject: [PATCH 1/2] added missing word in hyperopt loss example --- freqtrade/templates/sample_hyperopt_loss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/templates/sample_hyperopt_loss.py b/freqtrade/templates/sample_hyperopt_loss.py index 5a2fb72b6..ee2c28bc9 100644 --- a/freqtrade/templates/sample_hyperopt_loss.py +++ b/freqtrade/templates/sample_hyperopt_loss.py @@ -27,7 +27,7 @@ class SampleHyperOptLoss(IHyperOptLoss): Defines the default loss function for hyperopt This is intended to give you some inspiration for your own loss function. - The Function needs to return a number (float) - which becomes for better backtest results. + The Function needs to return a number (float) - which becomes smaller for better backtest results. """ @staticmethod From bff0a0953794c1de68c582c8ba50a6f25845086f Mon Sep 17 00:00:00 2001 From: Daniel Goller Date: Tue, 21 Jan 2020 16:14:19 +0000 Subject: [PATCH 2/2] line was too long --- freqtrade/templates/sample_hyperopt_loss.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/templates/sample_hyperopt_loss.py b/freqtrade/templates/sample_hyperopt_loss.py index ee2c28bc9..4173d97f5 100644 --- a/freqtrade/templates/sample_hyperopt_loss.py +++ b/freqtrade/templates/sample_hyperopt_loss.py @@ -27,7 +27,8 @@ class SampleHyperOptLoss(IHyperOptLoss): Defines the default loss function for hyperopt This is intended to give you some inspiration for your own loss function. - The Function needs to return a number (float) - which becomes smaller for better backtest results. + The Function needs to return a number (float) - which becomes smaller for better backtest + results. """ @staticmethod