From c2fd6e3237a17bc699cdb42356a66a6bfe8ade81 Mon Sep 17 00:00:00 2001 From: hippocritical Date: Fri, 24 Oct 2025 08:11:44 +0200 Subject: [PATCH] NAN is sometimes used by some programmers when numpy was 1.x but now on 2.x the caps version is disallowed. Added the caps conversion to lower case nan to fix that automatically. Source: https://numpy.org/doc/2.0/reference/constants.html?utm_source=chatgpt.com NaN and NAN are aliases of nan. --- freqtrade/strategy/strategyupdater.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/strategy/strategyupdater.py b/freqtrade/strategy/strategyupdater.py index 8a2f4e72c..5377865d7 100644 --- a/freqtrade/strategy/strategyupdater.py +++ b/freqtrade/strategy/strategyupdater.py @@ -46,6 +46,7 @@ class StrategyUpdater: "aliases": set(), "replacements": [ ("NaN", "nan"), + ("NAN", "nan"), ], } }