Instrument instr = Cbi.Instrument.GetInstrument("OMXS30YM");
retruns null
Instrument instr = Cbi.Instrument.GetInstrument("AAPL");
does not return null
This code snippet finds the instrument:
var instrList = (from instrument in Instrument.All where instrument.FullName == "OMXS30YM" select instrument).ToList();
Instrument instr = instrList[0];
Do you know why
Cbi.Instrument.GetInstrument("OMXS30YM")
return null when the instrument exists?
Comment