How can I get the country of domicle from this page
I search the company name Attis Industries Inc in the top left window and it returns me this results.
How can I get the country of domicile using CODEBOOK. Is this what I can get by using the function like this?
response=search.Definition(
query = f"ATTIS INDUSTRIES INC",
).get_data()
Best Answer
-
Hi @sihan4
As explained in this article -Searching for KungFu Bonds (Chinese-issued U.S. dollars bonds) with RDP Libraries - Search function | Refinitiv Developers - you can export the query from the Eikon/Workspace Search tool into Codebook format.
The format of the above Codebook output is currently using the older RDP Library.
However, if you note from the Search Example Notebooks in Codebook, they are now using the newer RD Library - which requires some changes to the above query e.g.response = search.Definition(
view = search.SearchViews.ORGANISATIONS,
query = "ATTIS INDUSTRIES INC",
filter = "( SearchAllCategoryv2 eq 'Companies/Issuers')",
top = 10,
select = "CommonName,Gics,RCSOriginalAccountsCurrencyLeaf,PrimaryRIC,Orgid,BondsCount,CdsCount,EquitiesCount,FundsCount,FuturesCount,LoanCount,MortgagesCount,OptionsCount,WarrantsCount,OAPermID,OwnershipExists,OrganisationStatus,MktCapCompanyUsd,RCSFilingCountryLeaf,RCSTRBC2012Leaf,UltimateParentOrganisationOrgid,UltimateParentCompanyOAPermID,RatingX1XRatingRank,BusinessEntity,PI,SearchAllCategoryv3,SearchAllCategoryv2,SearchAllCategory,DTSubjectName,UltimateParentOrganisationName,DTSimpleType,RCSOrganisationSubTypeLeaf,RCSCountryHeadquartersLeaf"
).get_data()
response.data.dfI can see from the output that the RCSCountryHeadquartersLeaf value contains the country of domicile value.
1
Answers
-
Thanks very much for your help! That is exactly what I want.
Another trivial question is whether the country of domicile information is static and is there a way of obtaining dynamic country information just like time-series stock price. Thanks in advance!
1 -
Thanks very much for your help, Umer! That is exactly what I want.
Another trivial question is whether the country of domicile information is static and is there a way of obtaining dynamic country information just like time-series stock price. Thanks in advance!
0 -
Hi @sihan4
I am not sure what you mean by time-series stock price data - time-series for me means historical data for an instrument going back days or years etc.
In terms of your country information - are you looking for historical country of domicile data or do you mean getting live updates when the domicile data changes?
Live updating data makes sense for market price data which changes frequently and is delivered by a live streaming feed - which required the consuming application to maintain a constant live connection in order to receive update events as and when there is market movement. This would not be appropriate for something like country of domicile data which does not change that often.
0 -
Thanks very much for your explanation. That basically answers my questions. Thanks.0
Categories
- All Categories
- 6 AHS
- 38 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛