HibachiVaultDailyPrice
Documentation for eth_defi.hibachi.vault.HibachiVaultDailyPrice Python class.
- class HibachiVaultDailyPrice
Bases:
objectOne daily price snapshot for a Hibachi vault.
Parsed from the
/vault/performanceendpoint response.Attributes summary
Vault ID
Date of the snapshot (UTC)
Share price in USDT at this snapshot
TVL in USDT at this snapshot
Daily return as a decimal fraction, or
Nonefor the first data pointMethods summary
__init__(vault_id, date, per_share_price, ...)- vault_id: int
Vault ID
- date: datetime.date
Date of the snapshot (UTC)
- per_share_price: float
Share price in USDT at this snapshot
- tvl: float
TVL in USDT at this snapshot
- daily_return: Optional[float]
Daily return as a decimal fraction, or
Nonefor the first data point