We record the sale of the token via ‘swap’ contract function and automatically match it.
However, the purchase of the token was done via another contract function 'swapV3MultiHopExactIn' which is not recognised.
So in this case, a user gets a gain because we match a sale but we never record a buy!
Workaround:
Please merge the trades manually while we whitelist this contract operation.