feat: add signal score detail to bot logs for HOLD reason debugging
get_signal() now returns (signal, detail) tuple with long/short scores, ADX value, volume surge status, and HOLD reason for easier diagnosis. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,7 @@ def _process_index(args: tuple) -> dict | None:
|
||||
if df_ind.iloc[-1].isna().any():
|
||||
return None
|
||||
|
||||
signal = ind.get_signal(df_ind)
|
||||
signal, _ = ind.get_signal(df_ind)
|
||||
if signal == "HOLD":
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user