ApexHistoryPoint
Documentation for eth_defi.apex.vault.ApexHistoryPoint Python class.
- class ApexHistoryPoint
Bases:
objectOne native ApeX historical vault value.
Attributes summary
Exact naive UTC source timestamp.
Native share price.
Native total vault value.
Derive total share supply when division is valid.
Methods summary
__init__(timestamp, net_value, total_value)- timestamp: datetime.datetime
Exact naive UTC source timestamp.
- net_value: float
Native share price.
- total_value: float
Native total vault value.
- property total_supply: Optional[float]
Derive total share supply when division is valid.
- Returns
Total value divided by positive NAV, otherwise
None.
- __init__(timestamp, net_value, total_value)
- Parameters
timestamp (datetime.datetime) –
net_value (float) –
total_value (float) –
- Return type
None