#!/usr/bin/env python # coding: utf-8 # In[9]: from gs_quant.markets.indices_utils import AssetClass, BasketType, get_constituents_dataset_coverage 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',)) # In[13]: # Equity Custom Baskets GSBASKETCONSTITUENTS_COVERAGE = get_constituents_dataset_coverage() # Equity Research Baskets GIRBASKETCONSTITUENTS_COVERAGE = get_constituents_dataset_coverage(basket_type=BasketType.RESEARCH_BASKET) # Credit Custom Baskets GSCREDITBASKETCONSTITUENTS_COVERAGE = get_constituents_dataset_coverage(asset_class=AssetClass.Credit)