def _cumulative_returns_less_costs(returns, costs):
if costs is None:<EOL><INDENT>return ep.cum_returns(returns)<EOL><DEDENT>return ep.cum_returns(returns - costs)<EOL>
Compute cumulative returns, less costs.