Can you please confirm how to add filter to screen the funds via API on Workspace? How to build the screening parts into the filter? For example IA sector = North America using the script below :
import refinitiv.data as rd
import pandas as pd
rd.open_session()
df_universe = rd.discovery.search(
view=rd.discovery.Views.FUND_QUOTES,
top=500,
filter=(
"AssetState ne 'DC' and "
"SearchAllCategoryv2 eq 'Funds'"
),
select="RIC"
)
df_classification = rd.get_data(
universe=df_universe["RIC"].tolist(),
fields=[
"TR.FundName",
"TR.FundClassificationSectorScheme(FundClassification=AUTIFUNITTR)",
"TR.FundClassificationSectorName(FundClassification=AUTIFUNITTR)"
]
)