OnTrade() details

 

Hi,


I am looking for a reliable way to know why OnTrade() is called:

1.       How do I know (for particular call of OnTrade()) what list is changed (orders, deals, etc)?

2.       How do I know which entry was added, removed or updated?

 

Is it possible to add an additional API that can be called from OnTrade() and will return a type and an ID of updated entry?

 

Thanks

Reason: