9 Commits

Author SHA1 Message Date
dekun e6361a7fcc fix(hub): live market PnL and Gate drag SL place
Parse Gate unrealised_pnl in agent; refresh hub market floating PnL from board and trends; clamp Gate TP/SL triggers before place.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 20:02:23 +08:00
dekun 24270944e7 fix(hub,gate): cross-margin TP/SL and dedupe hub conditional orders
Gate hedge position triggers use close=false; stop silent ccxt fallback on cross margin. Hub merges agent and Flask TP/SL by trigger price and labels Gate orders correctly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 19:48:04 +08:00
dekun fac28c402b fix(okx): use OCO algo orders for hub TP/SL to avoid instant close
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-03 21:00:22 +08:00
dekun 01d26e9833 修复趋势回调止盈误显与行情区成交量被裁切的问题
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 13:45:19 +08:00
dekun 480e5b1d20 修改okx挂单 2026-05-27 06:02:19 +08:00
dekun 436d2aef6c 修复okx止盈止损 2026-05-25 11:19:33 +08:00
dekun 4e8498f736 修复okx止盈止损 2026-05-25 11:14:20 +08:00
dekun 3b97a59562 中控增加条件单委托 2026-05-24 08:09:08 +08:00
dekun a3218f4fbd 中控增加条件单 2026-05-24 07:35:48 +08:00