"There was an error while sharing from the share service {gmail}: "the calling thread must be STA, because many UI components require this"
I do have additional data series in my strategy; I gather that triggers multi threading with NT but at the start of the OnBarUpdate() method I have the following code:
if (BarsInProgress != 0) return;
I note the help page on multi threading makes mention of Dispatcher but after playing around with it a bit I still couldn't get it to work - no emails and the same error message. Help would be much appreciated as it's very disappointing to have an upgrade break something that was working just the day before.
Comment