Skip to content

Commit c2fd6e3

Browse files
author
hippocritical
committed
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.
1 parent bf7fc79 commit c2fd6e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

freqtrade/strategy/strategyupdater.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class StrategyUpdater:
4646
"aliases": set(),
4747
"replacements": [
4848
("NaN", "nan"),
49+
("NAN", "nan"),
4950
],
5051
}
5152
}

0 commit comments

Comments
 (0)