math.log

Natural logarithm.

math.log(x: int/float) -> float

Parameters

Example

logReturn = math.log(close / close[1])