better fallback

This commit is contained in:
Stefano
2025-08-14 16:09:43 +09:00
parent 6edcda1e42
commit df19c77bcf

View File

@@ -17,7 +17,7 @@ class RecursiveAnalysisSubFunctions:
@staticmethod @staticmethod
def text_table_recursive_analysis_instances(recursive_instances: list[RecursiveAnalysis]): def text_table_recursive_analysis_instances(recursive_instances: list[RecursiveAnalysis]):
startups = recursive_instances[0]._startup_candle startups = recursive_instances[0]._startup_candle
strat_scc = recursive_instances[0]._strat_scc or 0 strat_scc = getattr(recursive_instances[0], "_strat_scc", 0) or 0
headers = ["Indicators"] headers = ["Indicators"]
for candle in startups: for candle in startups:
if candle == strat_scc: if candle == strat_scc: