This commit is contained in:
2026-09-10 20:38:00 +08:00
parent 2b6fe2ffbc
commit 1255ab21ba
3 changed files with 5 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ def open_signal(run: Runtime, ticks, signals, available: float) -> float:
# 等待价格从观察低点反弹,防止直接接下跌中的“飞刀”。
if not run.open_watch.triggered("ZT 建仓", item.code, price):
continue
order_id = run.orders.new_order_id("base")
order_id = run.orders.new_order_id("ZT","base")
request = PlaceOrderRequest(
OP_BUY, item.code, volume, order_id, "zt"
)