bayesline.api.equity.AsyncAssetIdApi

bayesline.api.equity.AsyncAssetIdApi#

class bayesline.api.equity.AsyncAssetIdApi#

Bases: object

Methods

__init__()

lookup_ids(ids[, top_n])

Parameters ids: list[str] The ids to lookup. top_n: int The number of results to return, where 0 denotes all records.

abstract async lookup_ids(ids: list[str], top_n: int = 0) DataFrame#

Parameters#

ids: list[str]

The ids to lookup.

top_n: int

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.