bayesline.api.equity.AsyncAssetIdApi#
- class bayesline.api.equity.AsyncAssetIdApi#
Abstract base class for asset ID API operations.
- __init__()#
Methods
__init__()lookup_ids(ids[, top_n])Look up asset IDs and return matching records.
- abstract async lookup_ids(ids: list[str], top_n: int = 0) DataFrame#
Look up asset IDs and return matching records.
Parameters#
- idslist[str]
The ids to lookup.
- top_nint, default=0
The number of results to return, where 0 denotes all records.
Returns#
- pl.DataFrame
A dataframe with all identifiers that could be matched, sorted by id and start_date.