from gs_quant.markets.indices_utils import *
from gs_quant.session import Environment, GsSession
client = 'CLIENT ID'
secret = 'CLIENT SECRET'
GsSession.use(Environment.PROD, client_id=client, client_secret=secret, scopes=('read_product_data',))
You may choose any combination of the following basket types:
These options will work with any of the following functions:
get_flagship_baskets(basket_type=[BasketType.CUSTOM_BASKET])
get_flagships_with_assets(identifiers=['AAPL UW'], basket_type=[BasketType.CUSTOM_BASKET])
get_flagships_performance(basket_type=[BasketType.RESEARCH_BASKET])
get_flagships_constituents(basket_type=[BasketType.RESEARCH_BASKET])