Downloading all data from a GOVSRCH EIkon panel

Hi,
Is there a way I can download (via python) all the data shown in GOVSRCH? I tried the excel approach, but there's a limitation of 4000 records.
Regards
Sumit
Best Answer
-
@sumit So I think you need to separate things into 2 bits - the first bit is to identify a universe of bonds satisfying some criteria, the second bit is to get some information (such as prices etc) about those instruments. The Search API will help with the first part. The article and its accompanying notebooks contain examples entirely relevant to your bond use case - consider this from the following filter notebook
Example - Search for Brazil global sovereign bonds in USD with a duration greater than 1
rdp.search(
view=rdp.SearchViews.FixedIncomeInstruments,
filter = "RCSIssuerCountryLeaf eq 'Brazil' and \
RCSCurrencyLeaf eq 'US Dollar' and \
RCSTRBC2012Leaf eq 'Government & Government Finance' and \
OptionAdjustedDuration gt 1",
select ="RIC, ISIN, MaturityDate, CouponRate, IndustrySector, FaceOutstandingUSD, OptionAdjustedDuration"
)or this from the same notebook:
Example - Floating Rate Notes
rdp.search(
view = rdp.SearchViews.GovCorpInstruments,
filter = "CouponRate gt 2 and \
RatingsScope(RatingType eq 'MIS' and CurrentRatingRank lt 10) and \
RCSCouponTypeName eq 'Floating Coupon' and \
IsActive eq true and \
RCSTRBC2012Name eq 'Healthcare' and \
RCSCurrencyLeaf xeq 'Euro'",
select = "CouponCurrency, IssuerName, IssueDate, RIC, CouponRate, ISIN, Ticker, RCSTRBC2012Leaf, MaturityDate, AssetState",
)Between these two examples and others in the notebook you should be able to progress sufficiently. Note: maximum results for this API are 10,000 so you may need to build things up by country or sector or type or maturity date buckets in order to get all the instruments you need. A simple check for this is if the length of the return is 10,000, most likely it has been truncated so you need to segment your filter further. I hope this can help.
0
Answers
-
@sumit So you can try to build up universes using various selections using our RDP Search API. A colleague has written an excellent article with accompanying jupyter notebooks. Please note that this API has a limit of 10K rows per query. So you may have to build up larger universes using instrument types or country codes iteratively. If you are looking for larger datasets please ask your account manager about our enterprise offerings which are better placed to handle this from technical and licensing perspective. I hope this can help.
0 -
Hi Jason. Thanks a lot for this. I have set up my rdp to search data. However, the link you've sent looks very equity focussed. Is there anything Bond related which will get me started on replicating <GOVSRCH>?
Ex: to replicated my GOVSRCH settings on Eikon, I have do the following:
filter="'Principal Currency' eq 'EUR' and Maturity geq '07/09/2022' and BondType='Bonds'"
fields = ['BID','ASK','OPEN_PRC','HIGH_1','LOW_1','TRDPRC_1','NUM_MOVES','TRNOVR_UNS']How do I then add something like:
- Search only Active bonds
- Only include "Government" & "Corporate"
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
- 251 ETA
- 556 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
- 648 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
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 916 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 中文论坛