mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-06-06 05:51:19 +08:00
- Create synthetic CLOSED position when close trade has no matching open position - This happens when position was opened before sync window (>24h) but closed during sync - Multiple close trades are merged into same synthetic position - Added GetSyntheticClosedPosition and UpdateSyntheticPosition functions - Synthetic positions marked with close_reason='sync_partial' for identification