def bundle_slice(json_obj, market_name, expiry_date_str):
bundle_dict = config.find_bundle(json_obj, market_name, expiry_date_str)
bundle_assets = list(bundle_dict[config.ASSETS].keys())
return pd.IndexSlice[:, bundle_assets]
评论列表
文章目录