PriceFunction

Documentation for eth_defi.price_oracle.oracle.PriceFunction Python class.

class PriceFunction[source]

A callable for calcualte

You can give different function for

  • Volume weighted average

  • Time weighted average

Methods summary

__init__(*args, **kwargs)

__init__(*args, **kwargs)