Improve Positions.Modified event

Created at 09 May 2019, 09:06
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!
Waxy's avatar

Waxy

Joined 12.05.2015

Improve Positions.Modified event
09 May 2019, 09:06


Currently the Positions.Modified event handler is helpful, however, I'd like to know:

  1. The reason (PositionModifyReason), like the one we have in the Positions.Closed event, the PositionCloseReason enum which is very helpful too.
  2. The old values that have been modified:
    1. TradeType
    2. EntryPrice
    3. EntryTime
    4. SL
    5. TP
    6. Quantity
    7. Others if apply

I was able to implement some code to monitor the changes, however, I think this event handler can be improved this way.


Thanks for your hard work.


@Waxy