I'm using
barsRequest.Request(new Action<BarsRequest, ErrorCode, string>((bars, errorCode, errorMessage)
"Error on requesting bars series: 'The instrument for which you requested data is invalid: NU'"
and then
"Unhanded exception: object reference not to to an instance of an object"
This is even when using a try catch block.
Is there a way to disable these errors within Ninjascript or alternately is there a method to check whether an instrument is valid?
Thanks
Comment