微信扫一扫,快速登录
16
45
55
等级: 专业版
def filter(close, filter_t): a = xx1 b = xx2 c = xx3 d = xx4 return a*close[-1] + b*close[-2] + c*filter_t[-1] + d*filter_t[-2]
context.filter = np.append(close, context.filter)
使用道具 举报
2
4853
等级: 超级版主
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|上海金之塔信息技术有限公司 ( 沪ICP备13035422号 )
GMT+8, 2025-4-19 16:01 , Processed in 0.141979 second(s), 21 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.