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 -1
View File
@@ -1538,9 +1538,10 @@ TRADE_COMPLETED_RESULTS = (
"手动平仓",
"强制清仓",
"外部平仓",
TIME_CLOSE_RESULT,
)
REVIEW_RESULT_OPTIONS = ("止盈", "止损", "保本止盈", "移动止盈", "手动平仓")
REVIEW_RESULT_OPTIONS = ("止盈", "止损", "保本止盈", "移动止盈", "手动平仓", TIME_CLOSE_RESULT)
def parse_dt_for_trading_day(s):