Problems extracting NG-W-HH-SNL via .NET

Using the standard "on-demand intraday extraction" .NET c# code, replacing the IBM.N with NG-W-HH-SNL gives results void of any market data- it appears only the Ric field is returned. Via the datascope web gui, this symbol can't be found in search and can only be imported from an instrument list csv. Is there any way to get data points for this from the .NET service?

Best Answer

  • Robert Gross
    Answer ✓

    This most likely has to do with accounts preference settings. In particular, the "Allow Impor of Open Access Instruments...". You can override the account default preference settings by supplying "ValidationOptions". Here is an example:

    "IdentifierList": {


    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",


    "InstrumentIdentifiers": [{


    "Identifier": "NG-W-HH-SNL",


    "IdentifierType": "Ric"


    }],


    "ValidationOptions": {


    "AllowOpenAccessInstruments":
    true,


    "AllowHistoricalInstruments": false,


    "ExcludeFinrAsPricingSourceForBonds": false,


    "UseExchangeCodeInsteadOfLipper": false,


    "UseUsQuoteInsteadOfCanadian": false,


    "UseConsolidatedQuoteSourceForUsa": false,


    "UseConsolidatedQuoteSourceForCanada": false


    },


    "UseUserPreferencesForValidationOptions":
    false

    }

Answers