We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
昨天弄回测,突然想到,可以写个组合回测啊。 列出各种参数组合传给策略,不是挺好的吗? 可惜水平差,写不出来。 这个功能挺实用的。
如这样 # dict的个数无限,名称未知 d = OrderedDict() d['a'] = [1,2,3] d['b'] = [0.1,0.2,0,3,0.4] d['c'] = [10,20] d['xxxxx'] = [1,2,3,4,5,6] 等等,参数以及值。
# 如 d['a'] = 1 d['b'] = 0.1 d['c'] = 10 # d['a'] = 1 d['b'] = 0.1 d['c'] = 20 # d['a'] = 1 d['b'] = 0.2 d['c'] = 10 # d['a'] = 1 d['b'] = 0.2 d['c'] = 20 # d['a'] = 1 d['b'] = 0.3 d['c'] = 10 等
等等。
The text was updated successfully, but these errors were encountered:
已经在dev里增加了参数优化功能。
Sorry, something went wrong.
No branches or pull requests
昨天弄回测,突然想到,可以写个组合回测啊。
列出各种参数组合传给策略,不是挺好的吗?
可惜水平差,写不出来。
这个功能挺实用的。
如这样
# dict的个数无限,名称未知
d = OrderedDict()
d['a'] = [1,2,3]
d['b'] = [0.1,0.2,0,3,0.4]
d['c'] = [10,20]
d['xxxxx'] = [1,2,3,4,5,6] 等等,参数以及值。
最后得到各种排列。
等等。
The text was updated successfully, but these errors were encountered: