estimate_4626_profitability
Documentation for eth_defi.erc_4626.profit_and_loss.estimate_4626_profitability function.
- estimate_4626_profitability(vault, start_block, end_block, sample_count=2)
Uses archive node and share price to calculate.
Get N samples of share price data.
Uses archive node to read historiocal share price for profitability calculation.
- Parameters
vault (eth_defi.erc_4626.vault.ERC4626Vault) –
start_block (int) –
end_block (int) –
- Return type