aave_v3.rates
Documentation for eth_defi.aave_v3.rates Python module.
Aave v3 rate calculation.
Functions
|
Calculate total interest accrued for a given time period. |
Calculate APR and APY columns for Aave v3 DataFrame previously generated from the blockchain events. |
|
|
Calculate mean values for a given time bucket (e.g. |
|
Calculate OHLC (Open, High, Low, Close) values for a given time bucket (e.g. |
|
Filter the DataFrame by date range suitable for interest calculation (loan start to loan end time) The DataFrame must be indexed by timestamp. |
|
Filter the DataFrame by token. |
Classes
AaveAccruedInterest(actual_start_time, actual_end_time, interest) |
|
AaveAccruedInterests(actual_start_time, actual_end_time, deposit_interest, variable_borrow_interest, stable_borrow_interest) |