(df)
return out(SETTINGS, df, result)
Stochastic oscillator %K
Stochastic oscillator %K
Stochastic oscillator %K
def STOK(df):
    """
    Stochastic oscillator %K
    """
    result = pd.Series((df['Close'] - df['Low']) / (df['High'] - df['Low']), name='SO%k')
    return out(SETTINGS, df, result)
def STOK ( df ) : result = pd . Series ( ( df [ 'Close' ] - df [ 'Low' ] ) / ( df [ 'High' ] - df [ 'Low' ] ) , name = 'SO%k' ) return out ( SETTINGS , df , result )