Logging PositionModifiedEvent details
Logging PositionModifiedEvent details
16 Jul 2020, 03:14
I want to log my operations to a database (SQLite in this case, although it could be any other DB). When processing the PositionModifiedEventArgs in the handler assigned to the Positions.Modified option/hook/trigger, is there any way to know what operation was performed? ie: can I, for example, determine which position parameter was modified and what value it was modified with/to?
I've checked the docs, but they're a bit sparse on the details of what the PositionModifiedEventArgs exactly contains.
Thanks for any hints
Replies
rgasch
16 Jul 2020, 12:27
RE:
Thank you for your clarification ...
PanagiotisCharalampous said:
Hi rgasch,
PositionModifiedEventArgs contains a reference to the position that was modified. If you want to know what was modified exactly, you will need to track this information yourself.
Best Regards,
Panagiotis
@rgasch
PanagiotisCharalampous
16 Jul 2020, 08:44
Hi rgasch,
PositionModifiedEventArgs contains a reference to the position that was modified. If you want to know what was modified exactly, you will need to track this information yourself.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous