gs_quant.markets.indices_utils.get_my_baskets¶
- get_my_baskets(user_id=None)[source]¶
Retrieve a list of baskets a user is permissioned to
- Parameters:
user_id (
Optional
[str
]) – Marquee user/app ID (default is current application’s id)- Return type:
Optional
[DataFrame
]- Returns:
dataframe of baskets user has access to
Usage
Retrieve a list of baskets a user is permissioned to
Examples
Retrieve a list of baskets the current user is permissioned to
>>> from gs_quant.markets.indices_utils import * >>> >>> get_my_baskets()