/// <summary> /// Convert a FRED series to a QDMS instrument. /// Datasource needs to be set externally to FRED. /// </summary> public static Instrument SeriesToInstrument(FredSeries series) { return(new Instrument { Symbol = series.ID, DatasourceSymbol = series.ID, Name = series.Title, Multiplier = 1, Type = InstrumentType.Index }); }
/// <summary> /// Convert a FRED series to a QDMS instrument. /// Datasource needs to be set externally to FRED. /// </summary> public static Instrument SeriesToInstrument(FredSeries series) { return new Instrument { Symbol = series.ID, DatasourceSymbol = series.ID, Name = series.Title, Multiplier = 1, Type = InstrumentType.Index }; }