Currently, Our client is looking to obtain data on U.S. MBS (Mortgage-Backed Securities), ABS (Asset-Backed Securities), as well as corporate bonds categorized by country or currency.
Until now, he has been using the following method to retrieve government bond data. However, he have not been successful in acquiring MBS and similar data. Would it be possible for you to advise me on the appropriate approach in order to get this list?
result = rd.discovery.search(
view = rd.discovery.Views.GOV_CORP_INSTRUMENTS,
filter = f"RCSCurrencyLeaf eq '{currency}' and RCSTRBC2012Leaf eq 'Government & Government Finance' and AssetState eq 'AC'",
select = "DTSubjectName, RIC, ISIN, RCSAssetCategoryLeaf, AssetState, RCSCurrencyLeaf, DocumentTitle, MaturityDate, Identifier, RCSDomicileGenealogy",
top = 10000,
)
response = search.Definition(
view = search.Views.GOV_CORP_INSTRUMENTS,
top = 10000,
filter = f"(DbType eq 'GOVT' and RCSAssetCategory eq 'A:J' and (RCSDomicileGenealogy in ('{area}')))",
select = "RIC,EJVAssetID,DTSubjectName,BusinessEntity,PI,SearchAllCategoryv3,SearchAllCategoryv2,SearchAllCategory,DBSTicker,CouponRate,MaturityDate,IssueDate,ISIN,RCSCurrencyLeaf,RCSCountryLeaf,DbTypeDescription,InstrumentTypeDescription,RCSCouponTypeGenealogy,FaceIssuedUSD,RCSBondGradeLeaf,RCSDomicileGenealogy"
).get_data()
I tried to do like above, but I can not find the parameters something like country_name or decimile, etc in order to filter by countriy(and currency)