(df, n)
return out(SETTINGS, df, result)
Standard Deviation
Standard Deviation
Standard Deviation
def STDDEV(df, n):
    """
    Standard Deviation
    """
    result = pd.Series(df['Close'].rolling(n).std(), name='STD_' + str(n))
    return out(SETTINGS, df, result)
def STDDEV ( df , n ) : result = pd . Series ( df [ 'Close' ] . rolling ( n ) . std ( ) , name = 'STD_' + str ( n ) ) return out ( SETTINGS , df , result )