Исправить attribution native close в futures_engine path #506

Closed
opened 2026-07-21 18:26:31 +00:00 by andrei · 0 comments
Owner

Проблема

Путь futures_engine для disappeared/native SL/TP close может опередить position-sync daemon и сохранить owner из snapshot как syncer_imported, а metadata механизма закрытия не получает контракт PR #503.

Scope

  • owner resolution parity с futures_position_sync_daemon;
  • safe metadata.exit_mechanism для native close;
  • regression на race-ordering, где futures_engine закрывает первым;
  • не смешивать с duplicate order_id race (#502) и Grid behavior (#504).

Acceptance

  • originating strategy сохраняется при обоих close paths;
  • механизм закрытия хранится отдельно в metadata;
  • нет второго trade row;
  • focused и full tests проходят.
## Проблема Путь futures_engine для disappeared/native SL/TP close может опередить position-sync daemon и сохранить owner из snapshot как syncer_imported, а metadata механизма закрытия не получает контракт PR #503. ## Scope - owner resolution parity с futures_position_sync_daemon; - safe metadata.exit_mechanism для native close; - regression на race-ordering, где futures_engine закрывает первым; - не смешивать с duplicate order_id race (#502) и Grid behavior (#504). ## Acceptance - originating strategy сохраняется при обоих close paths; - механизм закрытия хранится отдельно в metadata; - нет второго trade row; - focused и full tests проходят.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
europa-tech-srl/arnold-trader-app#506
No description provided.