backtest_python
backtest_python copied to clipboard
FMZ backtest engine python package
Traceback (most recent call last): File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1664, in main() File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1658, in main globals = debugger.run(setup['file'], None, None, is_module) File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1068, in run pydev_imports.execfile(file,...
我要在本地获取参数,args: [["_Count",1],["_ContractNum",400],["_Profit":1]] 要怎么获取呢?
solve #10
把原来的json_loads function改为如下即可。 def json_loads(s): if s.decode('utf-8') == '': return {} if isPython3: return json.loads(s.decode('utf-8')) return json.loads(s)
Must we use it within fmz.com's strategy page? Or can we use it in our custom no-dependency engine?
是否只支持模拟级别回测不支持实盘级别回测?
HTTPError Traceback (most recent call last) in () 9 10 from botvs import * # 引用 botvs 库 ---> 11 task = VCtx(__doc__) # initialize backtest engine from __doc__ #...
没看到定义exchange的地方,但初始化VCtx之后 exchange变量就能用了