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',))
tickers = ['GSTHHVIP', 'GSCBLMOM '] # Insert list of basket tickers
get_flagship_baskets(ticker=tickers)
get_flagships_with_assets(identifiers=['AAPL UW'], ticker=tickers)
get_flagships_performance(ticker=tickers)
get_flagships_constituents(ticker=tickers)