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 styles:
These options will work with any of the following functions:
get_flagship_baskets(styles=[CustomBasketStyles.FACTORS, ResearchBasketStyles.WAVEFRONTS])
get_flagships_with_assets(identifiers=['AAPL UW'], region=[Region.AMERICAS], styles=[CustomBasketStyles.FACTORS, ResearchBasketStyles.WAVEFRONTS])
get_flagships_performance(region=[Region.EUROPE, Region.GLOBAL], styles=[CustomBasketStyles.FACTORS, ResearchBasketStyles.WAVEFRONTS])
get_flagships_constituents(region=[Region.EM], styles=[CustomBasketStyles.FACTORS, ResearchBasketStyles.WAVEFRONTS])