Contains extension classes.

class AKShare[source]

Bases: DataSource

Retrieves data from AKShare.


Column name of adjusted close prices.

query(symbols: str | Iterable[str], start_date: str | datetime, end_date: str | datetime, _: str | None = '', adjust: str | None = 'hfq') DataFrame[source]

Queries data from AKShare. The timeframe of the data is limited to per day only.

  • symbols – Ticker symbols of the data to query.

  • start_date – Start date of the data to query (inclusive).

  • end_date – End date of the data to query (inclusive).

  • adjust – The type of adjustment to make.


pandas.DataFrame containing the queried data.