Skip to content

Commit 52b0e64

Browse files
committed
revert back to use list instead of set
1 parent 5e5137e commit 52b0e64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

freqtrade/optimize/analysis/lookahead.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self) -> None:
2525
self.total_signals = 0
2626
self.false_entry_signals = 0
2727
self.false_exit_signals = 0
28-
self.false_indicators: set[str] = set()
28+
self.false_indicators: list[str] = []
2929
self.has_bias = False
3030

3131

@@ -87,7 +87,7 @@ def analyze_indicators(self, full_vars: VarHolder, cut_vars: VarHolder, current_
8787
# output differences
8888
if self_value != other_value:
8989
if not self.current_analysis.false_indicators.__contains__(col_name[0]):
90-
self.current_analysis.false_indicators.add(col_name[0])
90+
self.current_analysis.false_indicators.append(col_name[0])
9191
logger.info(
9292
f"=> found look ahead bias in column "
9393
f"{col_name[0]}. "

0 commit comments

Comments
 (0)