Aave conveniently publishes a lot of raw data on their GraphQL database, such as the total liquidity, the total amount being borrowed, and borrow rate information. However, how does one compute the deposit rate? https://v2.aavewatch.com/ displays those rates but haven't shared their source code yet.
Borrow rate