get_daily_returns#

get_daily_returns(state)[source]#

Used for advanced statistics

Returns:

If valid state provided, returns are returned as calendar day (D) frequency, else None

Parameters:

state (State) –

Return type:

pandas.core.series.Series | None