My RICS are available in a dynamic Array => string[] ArrRICS = RICs.Split('|');
==> usual code: manually if I create hardcoded each line as follows giving me output
InstrumentIdentifiers = new[]
{
InstrumentIdentifier.Create(IdentifierType.Ric, "IDFR0044="),
InstrumentIdentifier.Create(IdentifierType.Ric, "05968LAH5="),
InstrumentIdentifier.Create(IdentifierType.Ric, "IDFR0076="),
InstrumentIdentifier.Create(IdentifierType.Ric, "IDFR0077="),
InstrumentIdentifier.Create(IdentifierType.Ric, "IDFR0078="),
}
But this snippet to be replaced with a dynamic array ArrRICS[] to IdenterfierIntruments create highlighted in Bold <ArrayOfRics>
//***************************************************
var extractionRequest = new ElektronTimeseriesExtractionRequest()
{
IdentifierList = new InstrumentIdentifierList
{
InstrumentIdentifiers = new[]
{
InstrumentIdentifier.Create(IdentifierType.Ric, <ArrayOfRics>),
}
},
Condition = new ElektronTimeseriesCondition
{
ReportDateRangeType = ReportDateRangeType.Range,
QueryStartDate = new DateTimeOffset(new DateTime(sdate.Year, sdate.Month, sdate.Day)),
QueryEndDate = new DateTimeOffset(new DateTime(edate.Year, edate.Month, edate.Day)),
},
ContentFieldNames = new[]
{
"Ask", "Bid", "High", "Last", "Low", "Trade Date","Volume"}
};
var extractionResult = ExtractionsContext.ExtractWithNotes(extractionRequest);
var extractedRows = extractionResult.Contents;