When used in an AddOn, Instrument.GetInstrument(symbol) will return null if the instrument is not in the Ninja Trader local database (i.e. has never been used before). Some graph, Market Analyzer or other Ninja Trader window needs to be opened for that instrument to be downloaded to the local database.
Is there any safe undocumented way that you can provide me that would allow my AddOn to initiate the instrument download to the database programmatically?
Instrument instrument = Instrument.GetInstrument(symbol);
If (instrument == null)
"download the instrument information from DataProvider (in my case Kinetick) servers to the database"
Thank you!
jmneto
Comment