moreIndicators.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:Stock-Market-Analysis-and-Prediction 作者: samshara 项目源码 文件源码
def EMA(df, n):  
    EMA = pd.Series(pd.ewma(df['Close'], span = n, min_periods = n - 1), name = 'EMA_' + str(n))  
    df = df.join(EMA)  
    return df

#Momentum
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号