Improve Positions.Modified event
Created at 09 May 2019, 09:06
Improve Positions.Modified event
09 May 2019, 09:06
Currently the Positions.Modified event handler is helpful, however, I'd like to know:
- The reason (PositionModifyReason), like the one we have in the Positions.Closed event, the PositionCloseReason enum which is very helpful too.
- The old values that have been modified:
- TradeType
- EntryPrice
- EntryTime
- SL
- TP
- Quantity
- 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.