Files
nofx/store
tinkle-community 9c57134dfb fix(sync): handle close trades without matching open position
- 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
2026-01-19 15:33:29 +08:00
..
2026-01-19 12:07:14 +08:00
2026-01-19 12:07:14 +08:00
2026-01-19 12:07:14 +08:00
2026-01-19 12:07:14 +08:00