I'm trying to retrieve all the bonds from refinitiv workspace. I want to extract all the 250000+ bonds and actually I don't know how to do this. Here's the code I wrote:
import refinitiv.dataplatform as rdp
import refinitiv.dataplatform.eikon as ek
ek.set_app_key('mykey')
ddf = rdp.
df = rdp.search(
view=rdp.SearchViews.FixedIncomeInstruments,
filter="IsGreenBond eq false",
select='Name, DocumentTitle, RIC, ISIN, AssetTypeDescription, MaturityDate, FaceOutstandingUSD, TrancheAmount, CouponClass, Currency, IssueDate, SeniorityTypeDescription, MaturityCorpModDuration, MaturityCorpYield, Price, SectorDescription',
top=20000,
)
print(df)
I find out that there's a method from the refinitiv API that allows to do this, but only for the first (top) 10000.