Files
nofx/trader
tinkle-community 332ddf61ef fix(trader): stop over-attributing entry fees on partial position closes
The FIFO matcher reduced an open trade's remaining quantity but not its
remaining fee, so each subsequent partial close re-attributed entry fee
that earlier closes had already counted (e.g. open 2.0 with fee 0.4,
two 1.0 closes attributed 0.6 total). Deduct the consumed fee portion
alongside the quantity so attributed fees sum to the fee actually paid.
2026-06-11 00:45:06 +08:00
..
2026-01-19 12:07:14 +08:00
2025-12-08 01:43:22 +08:00