fetch_vault_performance

Documentation for eth_defi.hibachi.vault.fetch_vault_performance function.

fetch_vault_performance(session, vault_id, timeout=30.0)

Fetch daily share price history for a single Hibachi vault.

Calls GET /vault/performance?vaultId={vault_id}&timeRange=All on the public data API.

Only timeRange=All is supported; other values return HTTP 400.

Parameters
Returns

List of daily price snapshots, sorted by date ascending.

Return type

list[eth_defi.hibachi.vault.HibachiVaultDailyPrice]