fix: label trend breakeven handoff as 趋势回调 across four exchanges
Set order monitor and trade record source to trend pullback after handoff; unify hub and instance display; add migration script for legacy rows. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -748,7 +748,7 @@ def _insert_trend_handoff_order_monitor(
|
||||
if not trading_day and callable(getattr(m, "get_trading_day", None)):
|
||||
trading_day = m.get_trading_day()
|
||||
notional = margin_cap * lev if margin_cap and lev else None
|
||||
monitor_type = _order_monitor_manual_type(m)
|
||||
monitor_type = MONITOR_TYPE_TREND_PULLBACK
|
||||
conn.execute(
|
||||
"INSERT INTO order_monitors "
|
||||
"(symbol, exchange_symbol, direction, trigger_price, stop_loss, initial_stop_loss, take_profit, "
|
||||
|
||||
Reference in New Issue
Block a user