Hi, not sure which fx is being used to calc the 2 values? Are they using same fx value?
It is based on this API → Exchange Rates Data API - APILayer
Both are using the above FX but it depends on the transactions, it will be using the latest if it is an open position or the close date FX if it is closed position.
Evan