diff --git a/backend/app/crypto_agent/crypto_agent.py b/backend/app/crypto_agent/crypto_agent.py index 0d66106..1aa935c 100644 --- a/backend/app/crypto_agent/crypto_agent.py +++ b/backend/app/crypto_agent/crypto_agent.py @@ -352,7 +352,9 @@ class CryptoAgent: return False confidence = signal.get('confidence', 0) - if confidence < 70: + # 使用配置文件中的阈值 + threshold = self.settings.crypto_llm_threshold * 100 # 转换为百分比 + if confidence < threshold: return False # 检查冷却时间(30分钟内不重复发送相同方向的信号)