Shorthand for to_log_returns
(returns, rf=0.0, nperiods=None)
| 78 | |
| 79 | |
| 80 | def log_returns(returns, rf=0.0, nperiods=None): |
| 81 | """Shorthand for to_log_returns""" |
| 82 | return to_log_returns(returns, rf, nperiods) |
| 83 | |
| 84 | |
| 85 | def to_log_returns(returns, rf=0.0, nperiods=None): |
nothing calls this directly
no test coverage detected