calculate_investment_flow#

calculate_investment_flow(state)[source]#

Calculate deposit/redemption i nflows/outflows of a strategy.

See Profitability calculations for more information.

Returns:

Pandas series (DatetimeIndex by the timestamp when the strategy treasury included the flow event, usd deposits/redemption amount)

Parameters:

state (State) –

Return type:

Series