Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • DSS /

For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

avatar image
Question by V · Dec 11, 2017 at 10:51 PM · dss-rest-apidssdatascope-selectsymbologyon-demand-extraction

How to perform on-demand Terms and Conditions extract using IdentifierType.Ticker

Is it possible to use IdentifierType.Ticker when performing an on-demand extraction? I'm using the following code:

var ExtractionsContext = new ExtractionsContext(new Uri("https://hosted.datascopeapi.reuters.com/RestApi/v1/"), "<your user id>", "<your password>");
            //Create new report template with conditions
            var extractionRequest = new TermsAndConditionsExtractionRequest {
                IdentifierList = InstrumentIdentifierList.Create(
                    new[] { new InstrumentIdentifier { Identifier = "MSFT", IdentifierType = IdentifierType.Ticker } }, null, false),
                ContentFieldNames = new[] 
                {
                    "Ticker",
                    "Asset Type Description",
                    "Security Description",
                    "Issue Date",
                    "RIC",
                    "Asset Status Description",
                    "Asset SubType Description",
                    "Currency Code Description",},
            };
            //Extract - NOTE: If the extraction request takes more than 30 seconds the async mechansim will be used.  See Key Mechanisms 
            var extractionResult = ExtractionsContext.ExtractWithNotes(extractionRequest);
            var extractedRows = extractionResult.Contents;
            //Output
            if (!extractedRows.Any())
                Debug.WriteLine("No rows returned");
            else {
                foreach (var row in extractedRows)
                    Debug.WriteLine(
                        row.Identifier + " (" + row.IdentifierType + ") " +
                        String.Join(", ", row.DynamicProperties.Select(dp => dp.Key + "=" + dp.Value)));
            }
            //Output Notes
            Debug.WriteLine("NOTES:");
            foreach (var note in extractionResult.Notes)
                Debug.WriteLine(note);

The results come back with the following message: MSFT (Ticker) NOTES: All identifiers were invalid. No extraction performed.

Is it not possible? If not, any alternate approach would be most welcome.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Jirapongse · Dec 13, 2017 at 11:29 PM

I have used Search/InstrumentSearch with Postman and it works fine with Ticker.

{
  "SearchRequest": {
    "InstrumentTypeGroups": [
      "CollatetizedMortgageObligations",
      "Commodities",
      "Equities",
      "FuturesAndOptions",
      "GovCorp",
      "MortgageBackedSecurities",
      "Money",
      "Municipals",
      "Funds"
    ],
    "IdentifierType": "Ticker",
    "Identifier": "MSFT",
    "PreferredIdentifierType": "Ric"
  }
}

The response is:

  {
            "Identifier": "MSFT.MW",
            "IdentifierType": "Ric",
            "Source": "GSM",
            "Key": "VjF8MHgwMDAzZGQwMDEzNWZiNzI1fDB4MDAwM2RjMDAzNDdiYjgyOHxHU018RVFRVXxFUVRZfE9EU0h8RXx8TVNGVC5NV3wxMTcw",
            "Description": "MICROSOFT ORD",
            "InstrumentType": "EquityQuote",
            "Status": "Valid"
        },
        {
            "Identifier": "MSFT.OQ",
            "IdentifierType": "Ric",
            "Source": "NSM",
            "Key": "VjF8MHgwMDAzZGQwMDEzNWZiNzI1fDB4MDAwM2RjMDAzOGRlMmIxMnxOU018RVFRVXxFUVRZfE9EU0h8RXx8TVNGVC5PUXwxMzAz",
            "Description": "MICROSOFT ORD",
            "InstrumentType": "EquityQuote",
            "Status": "Valid"
        },
...

Please share your code for search.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by Jirapongse · Dec 12, 2017 at 10:57 PM

I got the same result as yours. It returned "Not found".

{
    "@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#Collection(ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ExtractionRow)",
    "value": [
        {
            "IdentifierType": "Ticker",
            "Identifier": "MSFT",
            "Error": "Not found"
        }
    ]
}

Please directly contact DSS support team via Contact Us to verify the problem.

You may use search to find RICs for MSFT and then use those RICs with TermsAndConditionsExtractionRequest.

Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
V · Dec 13, 2017 at 10:27 AM 0
Share

Thanks for your reply @jiraponse.phuriphanvchai. With large dynamic lists of securities it would be great to avoid search. I understand tickers are used differently based on exchange and asset type. It would be great to extract based on a combination of exchange, type and ticker. I'll reach out to support.

avatar image
V · Dec 13, 2017 at 11:10 PM 0
Share

I tried search and no luck. "The identifier Type TICKER is not supported..."

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
13 People are following this question.

Related Questions

how to get OrgId for given Ric in Python

Mapping Datascope symbologies- RIC CUSIP -> PermID

Convert or map TICKER to RIC using the DSS API

Query Bond Schedule Table Error:

On demand extraction via HTTP requests with list and template ids?

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges