| tiêu đề | GitHub WonderTrader 0.9.9 Expected Behavior Violation |
|---|
| Mô tả | WonderTrader updates _undone_qty with the full strategy signal before ActionPolicy determines the actual order quantity. When ActionPolicy clips or blocks an order, the internal pending-order state can retain phantom volume that does not correspond to any broker-side live order. Execution modules such as TWAP, VWAP, and MinImpact trust this stale pending volume when deciding whether to cancel existing orders or submit new ones. During a later target-position reduction, the executor can treat the phantom volume as an opposite live order, call the cancellation path, and return before generating the required reducing order. This causes internal order state to diverge from actual broker state and prevents the intended position adjustment during that execution cycle. |
|---|
| Nguồn | ⚠️ https://my.feishu.cn/wiki/VbQqwEcrJiYOd0khs0Jchw76nhd?from=from_copylink |
|---|
| Người dùng | sannomiya (UID 98147) |
|---|
| Đệ trình | 21/06/2026 16:38 (cách đây 2 các tháng) |
|---|
| Kiểm duyệt | 07/08/2026 10:39 (2 months later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 386958 [WonderTrader đến 0.9.9 Pending Order TraderAdapter.h _undone_qty getUndoneQty nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|