ApexHistoryPoint

Documentation for eth_defi.apex.vault.ApexHistoryPoint Python class.

class ApexHistoryPoint

Bases: object

One native ApeX historical vault value.

Attributes summary

timestamp

Exact naive UTC source timestamp.

net_value

Native share price.

total_value

Native total vault value.

total_supply

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
Return type

None