backtesting history orders getting back wrong results

 

so i have a question i am trying to understand what is going on with the backtest. lets say we get 1 history order from one signal.

data looks like this: 2021.04.21 13:18:06;Sell;0.05;GBPUSD;1.39409;2021.04.21 13:38:00;1.39308;;;5.05

and i am reading from the csv when the order open and what was the price and the lot. and we close it when the time comes.

from the history the profit from all trades was like 10000$ but from the backtest i get somthing like 3342$

why is tha so much wrong?