IF_macd.py 文件源码

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

项目:InplusTrader_Linux 作者: zhengwsh 项目源码 文件源码
def init(context):
    # context???????s1?????????
    context.s1 = 'IF1606'

    # ??MACD?????????macd??????
    context.SHORTPERIOD = 12
    context.LONGPERIOD = 26
    context.SMOOTHPERIOD = 9
    context.OBSERVATION = 50

    # ??????????????????????handle_bar?????
    subscribe(context.s1)


# ?????????????????????????????
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号