update
This commit is contained in:
parent
f60f9c71eb
commit
22e19a4f1e
@ -352,7 +352,9 @@ class CryptoAgent:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
confidence = signal.get('confidence', 0)
|
confidence = signal.get('confidence', 0)
|
||||||
if confidence < 70:
|
# 使用配置文件中的阈值
|
||||||
|
threshold = self.settings.crypto_llm_threshold * 100 # 转换为百分比
|
||||||
|
if confidence < threshold:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# 检查冷却时间(30分钟内不重复发送相同方向的信号)
|
# 检查冷却时间(30分钟内不重复发送相同方向的信号)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user