Seeing metadata error when subscribing to streaming summaries for specific instruments

In the HistoricalPricing - TSInterday project we're subscribing to streaming summaries with a Daily interval and are receiving the following error: "Error: Failed to load meta data. Failed to load Instrument Metadata for item: AUA04000524=WPAC". The same error is returned for US1DCP=. Here is the code that can duplicate the problem...

    // Create the platform session.
    using ISession session = Sessions.GetSession();

    // Open the session
    session.Open();

    var stream = Summaries.Definition("AUA04000524=WPAC")
        .Interval(Summaries.Interval.P1D)
        .GetStream();

    // Specify the TSI lambda expressions to capture 'Insert' and 'Update' events
    stream.OnInsert((data, stream) => Common.DisplayTable($"INSERT: {DateTime.Now}", data.Table))
          .OnUpdate((data, stream) => Common.DisplayTable($"UPDATE: {DateTime.Now}", data.Table))
          .OnStatus((status, stream) => Console.WriteLine($"Status: {status}"))
          .OnError((error, stream) => Console.WriteLine($"Error: {error}"))
          .Open();

    Console.ReadLine();
}
catch (Exception e)
{
    Console.WriteLine($"\n**************\nFailed to execute: {e.Message}\n{e.InnerException}\n***************");
}


Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi @cory.schmidt.1

    Based on my initial investigation, there doesn't appear to be any metadata associated with the instruments you highlighted. The library is simply reacting and reporting it is unable proceed because metadata rules are at the heart of the processing.

    We'll need to follow-up with the server team to report this issue. You did note 2 instruments, if you have any others, please share and we'll provide the team these details.

    thanks.

Answers