How to find entry and exit slippage ?

Created at 13 Sep 2016, 10:21
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!
AD

adheer

Joined 13.05.2014

How to find entry and exit slippage ?
13 Sep 2016, 10:21


How can I find the slippage when a trade is opened and when it is closed in cAlgo ? cTrader provides order price and filled price to calculate the slippage, but I could not find an similar fields in Position or HistoricalTrade objects.

I use Pending Order, so I setthe Comment field to specify the price of the Pending Order. I then compare it with the actual Entry price to calculate the entry slippage.

But, the trades are closed at market (not using SL or TP), so how can I find the exit slippage ?

 


@adheer