Fix trailing break-even stop loss not linked to CTP positions.
Match pending monitors to filled positions, reconcile pending on fast refresh, and refresh CTP before promote. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ def reconcile_pending_orders(
|
||||
|
||||
match = match_symbol_fn or _match_symbol
|
||||
positions = (
|
||||
list_positions_fn(mode, refresh_if_empty=False, refresh_margin=False)
|
||||
list_positions_fn(mode, refresh_if_empty=True, refresh_margin=False)
|
||||
if list_positions_fn
|
||||
else []
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user