I have a question regarding listening for events from two different accounts and I cannot find the answer in the help neither in the forum.
I am subscribed to two different accounts, Account1 and Account2 and I listen for say Execution events coming from these, but instead using OnExecutionUpdate(object sender, ExecutionEventArgs e), I am using a different name of the method so for example:
For Account1 I subscribe OnExecutionUpdateAcc1(object sender, ExecutionEventArgs e)
and to listening to Account2 I subscribe to OnExecutionUpdateAcc2(object sender, ExecutionEventArgs e)
So my question is if I can use the above modified method names to subscribe to each account, or the name must be always be kept to OnExecutionUpdate? I assumed being a private method called from a subscription event I could name it whatever I want?
Thank you

Comment