These are the parts that I am having trouble with:
// Subscribe to static events. Remember to unsubscribe with -= when you are done Account.AccountStatusUpdate += OnAccountStatusUpdate; // Subscribe to events. Remember to unsubscribe with -= when you are done myAccount.AccountItemUpdate += OnAccountItemUpdate; myAccount.ExecutionUpdate += OnExecutionUpdate;
For Context: I am trying to write an indicator that will record any trades made whilst the indicator is in use and print them into a CSV file for ease of tracking them.

Comment