fetch_asseto_price_history

Documentation for eth_defi.tokenised_fund.asseto.offchain_api.fetch_asseto_price_history function.

fetch_asseto_price_history(product_id, days=365, api_base_url='https://asseto.finance', timeout=20.0)

Fetch Asseto’s public display-price history for one product.

This feed is informational and can be incomplete; callers must not use it in place of the on-chain NAV source used by AssetoVault.

Parameters
  • product_id (int) – Asseto registry product identifier.

  • days (int) – Requested lookback period. Asseto currently serves a one-year history for AoABT.

  • api_base_url (str) – Asseto application API origin. Override in tests only.

  • timeout (float) – HTTP request timeout in seconds.

Returns

Iterator over parseable price observations, sorted by API response order.

Raises

AssetoAPIError – If the public endpoint returns an invalid response envelope.

Return type

collections.abc.Iterator[eth_defi.tokenised_fund.asseto.offchain_api.AssetoPricePoint]