Fetch Instruments and Quotes through PermID.org

Hi, I'm exploring the public API on permid.org. I do have a list of LEI's for a bunch of companies. My task is to get all traded instruments (if there is more than one) and their respective trading venues.
I managed to map the entity to my LEI and I also get the primary instrument and quote of said entity.
Where I do not have a solution is the identification of other instruments and quotes related to that entitiy. Is there a way to achieve this?
Best Answer
-
According to the document, the table doesn't have the issuer field. I have tested it and it doesn't work.
You may need to use other APIs instead, such as Data Platfrom Search API. It is more flexible and powerful than the OpenPermID APIs.
You can contact your local LSEG account team or Sales team direclty via Contact Us regarding this Search API.
1
Answers
-
Thank you for reaching out to us.
I assumed that you are using the OpenPerm APIs.
You can use the Recording Matching to match LEIs to organization PermIDs.
organization=""" LocalID,Standard Identifier,Name,Country,Street,City,PostalCode,State,Website 1,LEI:549300QOGMPTKB6W7G56,,,,,,, 2,LEI:VGRQXHF3J8VDLUA7XE92,,,,,,, """ output,err = opid.match(organization,dataType="Organization", raw_output=False) output
Then, for each match OpenPermID, you can use the Look Up to get the hasOrganizationPrimaryQuote.
output,err = opid.lookup("1-4295893306", orient="column", format='dataframe') output
Finally, use the Look Up with the Quote PermIDs to get a primary RIC.
output,err = opid.lookup("1-55838847808", orient="column", format='dataframe') output
I am using the OpemPermID Python library.
0 -
@Jirapongse thank you very much for your detailed answer. Also I didn't know there is an library available.
It seems though I was not very clear.
What I CAN do:
- Get entity through LEI
- Get primary instrument
- Get primary quote
What I CAN NOT do:
- Get other instruments for entity (let's say there are more than one share class I can not search for the second). I tried the API search endpoint searching explicitly for instruments (entityType=instrument). But it seems one can only search with names and not with the parents permID.
- The same is true for quotes. For example: if we search for Logitech International I can't find their listing in the US through search. Again: I can search with the instrument name but they are not identical for all instruments and I'm missing a way (as with instruments) to refer to the quotes parent permID which in this case would be the instruments permID.
The problem with the name search is (if we stay with Logitech International S.A.) that I will find the instruments and quotes if I shorten the search term to "Logitech". Unfortunately this will also return a bunch of unrelated results. I like to be able to explicitly seach for childs / parents.
Any idea how to solve this?
Kind regards
Raphael
PS: are there any information on rate limits?
0 -
Please check the PermID API User Guide regarding how to use the entity search API.
For the limitations, please check the FAQ page.
0 -
Dear @Jirapongse
I read the API User guide before posting here but some things are still unclear to me.
For example: On page 13 we see a list of search fields that we can pass into the query. A few lines below we see an example where the mic code is used (while the mic iteself is not in the table above). So i scrolled down to page 40, where I see the mic as well as other fields that (based on the given example) are searchable.
So by assuming, that the same is true for instruments I checked on page 39 and learned, that the fieldname must be "issuer".
So i put together this request (to get all instruments for logitech, which has PermID 4295890536.import requests permIdParams = {'entityType': 'instrument', 'q': 'issuer:https://permid.org/1-4295890536', 'access-token': <my-token>, 'format': 'JSON'} permIdResponse = requests.get('https://api-eit.refinitiv.com/permid/search', params=permIdParams)
But unfortunately, nothing is returned. I also tried 1-4295890536 and 4295890536 as lookup, but without success so far.
I'm wondering if the PermID API allows for traversing from entiity to all instruments and all of the related quotes and vice versa (which I understand is one of it's goals).
I'm wondering if "issuer" is the right field to use, or if it even allows for quering? Any help would be appreciated. KR
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛