feat: include time-close result in hub sync and instance trade records

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-11 22:18:12 +08:00
parent 6a1f2608b5
commit 44c3703f07
10 changed files with 59 additions and 8 deletions
+2
View File
@@ -9,6 +9,7 @@ from strategy_trade_labels import (
MONITOR_TYPE_TREND_PULLBACK,
entry_reason_for_monitor_type,
)
from time_close_lib import TIME_CLOSE_RESULT
TRADE_COMPLETED_RESULTS = (
"止盈",
@@ -18,6 +19,7 @@ TRADE_COMPLETED_RESULTS = (
"手动平仓",
"强制清仓",
"外部平仓",
TIME_CLOSE_RESULT,
)