VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 20
声望: 0

想研究自己写指标,不调用talib,有没有哪些可以参考的例子,比如说自己如何写boll,ma,rsi之类的。

Administrator
avatar
加入于:
帖子: 4502
声望: 322
close_array = np.array(close_price)
ma = close_array.mean()
std = close_array.stdev()
boll_up = ma + 2 * std
boll_down = ma - 2 * std

随手写了几行

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】