Hi 

I am new to Quantconnect and is testing a forex pairs trading strategy and puzzalling about profit calculation. I have two groups of trade -- Opening trade: long USDJPY, short GBPUSD. closing trade: short USDJPY, long GBPUSD. See orders log below:

TimeSymbolPriceQuantityTypeStatusValueTag2020-03-08T23:00:00ZGBPUSD1.30955-853MarketFilled-1117.04615 2020-03-08T23:00:00ZUSDJPY103.94718MarketFilled1871.046 2020-03-14T00:00:00ZGBPUSD1.22847853Market On OpenFilled1047.88491Liquidated2020-03-14T00:00:00ZUSDJPY107.837-18Market On OpenFilled-1941.066Liquidated
 

 

Quantconnect backtest shows a net profit of $69.82, no fees. However, the "Value" in log gives me $139.18 profit (GBPUSD:1117.04615-1047.88491 + USDJPY:1941.066-1871.046)  Am I missing something?RegardsWei

Author