DataPeriodTooShort

Documentation for eth_defi.price_oracle.oracle.DataPeriodTooShort exception.

exception DataPeriodTooShort

Bases: eth_defi.price_oracle.oracle.PriceCalculationError

We do not have enough events for a longer period of time.

__init__(*args, **kwargs)
__new__(**kwargs)
add_note(note, /)

Add a note to the exception

with_traceback(tb, /)

Set self.__traceback__ to tb and return self.