Introduction
Significant Developments provide real-time summaries and categorizations of crucial, market-moving company events – a news analysis and filtering service to help simplify your workflow.
Use Significant Developments (SigDev) information to perform in-depth research on specific topics like mergers, earnings, officer changes, and products.
Our Task "in a Nutshell"
Our primary interest is to absorb programmatically, or to filter, only the news that are marked with NS:SIGDEV code.
Therefore, a query expression in the simplest form could look like this, or this query stanza can also be as part of a more complex query filter:
We plan to go over some of the most common use cases for obtaining Significant Developments:
- From RDP News service
- Python jupyter notebook
- Postman request collection
- Using SQS queues in Python script
- Using realtime streaming service with Refinitiv-Realtime Optimized in python
Integration with Refinitiv Data Platform News Service
1. Request Significant Development headlines, query reflects the required filtering criteria
2. Requesting stories per selected headlines
Let us first examine an ease of use approach, using Refinitiv Data Library Python. The link to learning more about RD Library python is included in References section at the end of this artcile.
Significant Developments with Refinitiv Data Library Python
We include the required modules, setup the credentials, next, we open an RDP session and request significant developments headlines:
in this example we are looking at
- NS:SIGDEV = Significant Developments headlines
- FB.O = on Facebook
- ES:1 = of High Significance only
- Dated between 2021-10-21 and 2022-10-01
and our results in response Pandas dataframe reflect the requested:
next we can request the first story:
and the output will reflect the first story of the result:
however, most commonly, we wish to iterate over the headlines and retrieve all the stories that match the criteria:
Significant Developments with Postman
This is also a very easy and quick retrieval per required criteria.
RDP News Significant Development collection (the link to download it from GitHub is included in References section) consists from just 3 requests:
- Get RDP Access Token
- Get Headlines and Stories For Significant Developments
- Get Story Per StoryId
Postman post-request tests and collection runner are used as a glue between the discrete requests, to enact the continuous run and to retrieve all the stories per criteria.
- Get RDP Access Token request picks up credentials from Postman environment, requests and obtains an access token and stores it back into Postman environment
- Get Headlines and Stories For Significant Developments, as reflected in the name, requests the stories, from RDP news, per required criteria:
while in it's post-request test, we prepare to retrieve stories based on the storyIds contained in the current request's results that we store into Postman environment:
but also in it's post-request test it will help us iterate over to the next StoryId and trigger the same request with it:
As we trigger Run collection on this collection
we see the progress of the collection run on the main pane:
and additionally on Postman console we see and examine every detail of the run:
we continue this discussion with Focusing on Significant Developments in News - Part 2, going over Realtime subscription and RDP with SQS queue.
References
- Article code on GihTub: https://github.com/Refinitiv-API-Samples/Article.RDP.Python.FocusingOnSignificantDevelopmentsInNews
- Refintiv Data Library Python: https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-library-for-python
- Postman Downloads: https://www.postman.com/downloads/
- Part 2 of the article: https://developers.refinitiv.com/en/article-catalog/article/focusing-on-significant-developments-in-news-part-2