Entry Price looks to not work correctly after Modify Position action

Created at 12 Aug 2022, 19:04
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
LS

lsheytanov

Joined 24.02.2017

Entry Price looks to not work correctly after Modify Position action
12 Aug 2022, 19:04


Hi,
can you please advise if I got something wrong on my side or there is indeed a bug.

After modifying position multiple times, the Entry Price looks to not update to the "VWAP of deals that were filled to create this Position":

As you can see during the back test I am net Short 5 Lots, current Price is higher then the listed Entry Price. Note that P&L is positive number:

What I observed is that the Entry Price is not the VWAP as described above, but simply the Entry price of only the very first trade before all the Modify Order actions performed.



@lsheytanov