This commit is contained in:
ddrwode
2026-02-21 14:28:17 +08:00
parent fa48f70758
commit 93a9dfb4a7
4 changed files with 9 additions and 2 deletions

View File

@@ -705,6 +705,7 @@ class BitmartFuturesTransaction:
self.last_kline_time = current_15m_id
logger.info(f"进入新 15m K 线: {current_15m_id}")
raw = get_live_signal(period=15)
logger.info(f"方案B 信号: {raw} (0=观望 1=做多 2=做空), 当前持仓: {self.start}")
if raw == 1:
if self.start == 0:
signal = ('long', current_price)