filter_vaults_by_stablecoin
Documentation for eth_defi.research.wrangle_vault_prices.filter_vaults_by_stablecoin function.
- filter_vaults_by_stablecoin(rows, prices_df, logger=<built-in function print>)
Reduce vaults to stablecoin vaults only.
In this notebooks, we focus on stablecoin yield
Do not consider WETH, other native token vaults, as their returns calculation would need to match the appreciation of underlying assets
[is_stablecoin_like](https://web3-ethereum-defi.readthedocs.io/api/core/_autosummary/eth_defi.token.is_stablecoin_like.html?highlight=is_stablecoin_like#eth_defi.token.is_stablecoin_like) supports GHO, crvUSD and other DeFi/algorithmic stablecoins
Note that this picks up very few EUR and other fiat-nominated vaults
- Parameters
rows (dict[eth_typing.evm.HexAddress, eth_defi.vault.vaultdb.VaultRow]) –
prices_df (pandas.DataFrame) –
- Return type