calculate_net_profit

Documentation for eth_defi.research.vault_metrics.calculate_net_profit function.

calculate_net_profit(start, end, share_price_start, share_price_end, management_fee_annual, performance_fee, deposit_fee, withdrawal_fee, seconds_in_year=31557600.0, sample_count=None)

Calculate profit after external fees have been reduced from the share price change.

Parameters
Returns

Net profit as a floating point (0.10 = 10% profit).

Return type

float