Исправить attribution native SL/TP к исходной стратегии #503
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/close-strategy-attribution"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #501
Что исправлено
positions.strategy_name).exchange_sl_tp_closeостаётся только fallback, когда владелец действительно неизвестен.syncer_importedдобавлен строгий Radar resolver: exact symbol + short side + qty + bounded lifecycle time.exit_source,exit_reason,close_strategy,reconciled_by, Radar event/time).db_save_trade()получил optional JSON metadata без изменения canonical accounting columns.order_idдо INSERT сохранена; отдельный audit race/dedup вынесен в #502.Проверка
73 passed.7367 passed, 7 skipped(exit 0).py_compile: clean.git diff --check: clean.gitleaks: no leaks.-$9.49, без записи в DB.Риск
Торговая логика, sizing и entry/exit orders не меняются. Меняется только attribution закрытых ghost/native positions и metadata.