Strategy Monitor: "Object reference not set to an instance of an object" error
Author: piter99
Creation Date: 6/21/2017 1:24 PM
profile picture


During initial strategy activation in SM, after data set updated, I get sometimes "(Error3)OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT" in "Action" column.
Update data on demand disabled, Fidelity provider selected.
I think it's related to specific symbol, but hard to figure out what symbol create the problem.
Is any way to figure out wrong symbol, any log file...
Thank you
profile picture



Hooray, it's 1593th topic dedicated to "Object reference not set to an instance of an object" error since 2008! Just kidding. If you type in the keyword in our forum's search box you'll see it. On a serious note, there's a dedicated section in this KB article (at the bottom):

Errors | Strategy > Object reference not set to an instance of an object

Like the previous posters were advised, you can right-click on your Strategy and "Enable logging for selected item(s)". With regard to your SM setup that might give you some clues for troubleshooting. May be a specific symbol, or Strategy code error, or something else (like those 9-minute bars that probably no one had been using until you discovered that SM bug). You could copy/paste or attach respective parts of the log here for our review.