simple_to_log_return

qf_lib.common.utils.returns.simple_to_log_return.simple_to_log_return(simple_return: float) float[source]

Converts simple return to the corresponding logarithmic return.

Parameters:

simple_return (float) – simple return

Returns:

logarithmic return

Return type:

float