求教,为什么绑定实盘交易在交易状态下会出错?

新手专区
标签: #<Tag:0x00007fc071078558>

(telefar) #1

[2018-05-09 20:33:42.523632] INFO: bigquant: instruments.v2 开始运行…
[2018-05-09 20:33:42.530403] INFO: bigquant: 命中缓存
[2018-05-09 20:33:42.531975] INFO: bigquant: instruments.v2 运行完成[0.008393s].
[2018-05-09 20:33:42.754904] INFO: bigquant: advanced_auto_labeler.v2 开始运行…
[2018-05-09 20:33:42.761250] INFO: bigquant: 命中缓存
[2018-05-09 20:33:42.764415] INFO: bigquant: advanced_auto_labeler.v2 运行完成[0.009524s].
[2018-05-09 20:33:42.776376] INFO: bigquant: input_features.v1 开始运行…
[2018-05-09 20:33:42.781326] INFO: bigquant: 命中缓存
[2018-05-09 20:33:42.782712] INFO: bigquant: input_features.v1 运行完成[0.006371s].
[2018-05-09 20:33:42.842871] INFO: bigquant: general_feature_extractor.v6 开始运行…

TypeError Traceback (most recent call last)
in ()
87 start_date=T.live_run_param(‘trading_date’, ‘’),
88 end_date=T.live_run_param(‘trading_date’, ‘’),
—> 89 before_start_days=T.live_run_param(‘trading_date’, 0)
90 )
91

/var/app/enabled/biglearning/module2/common/modulemanagerv2.py in call(self, **kwargs)

/var/app/enabled/biglearning/module2/common/moduleinvoker.py in module_invoke(name, version, kwargs)

/var/app/enabled/biglearning/module2/common/moduleinvoker.py in _invoke_with_cache(module, kwargs, module_cache_key, name, version)

/var/app/enabled/biglearning/module2/common/moduleinvoker.py in _module_run(module, kwargs)

/var/app/enabled/biglearning/module2/modules/general_feature_extractor/v6/init.py in run(self)

TypeError: unsupported type for timedelta days component: str

=============================================================================
[2018-05-07 18:01:33.561598] INFO: bigquant: instruments.v2 开始运行…

TypeError Traceback (most recent call last)
in ()
8 market=‘CN_STOCK_A’,
9 instrument_list=‘000651.SZA,300667.SZA,300168.SZA,300124.SZA,300474.SZA,002008.SZA,000513.SZA,603444.SHA,300613.SZA,002415.SZA,002130.SZA,600570.SHA,600036.SHA,601939.SHA,600660.SHA,600383.SHA,601318.SHA,300496.SZA,002456.SZA,300618.SZA,600309.SHA’,
—> 10 max_count=T.live_run_param(‘trading_date’, 0)
11 )
12

/var/app/enabled/biglearning/module2/common/modulemanagerv2.py in call(self, **kwargs)

/var/app/enabled/biglearning/module2/common/moduleinvoker.py in module_invoke(name, version, kwargs)

/var/app/enabled/biglearning/module2/common/moduleinvoker.py in _invoke_with_cache(module, kwargs, module_cache_key, name, version)

/var/app/enabled/biglearning/module2/common/moduleinvoker.py in _module_run(module, kwargs)

/var/app/enabled/biglearning/module2/modules/instruments/v2/init.py in bigquant_run(rolling_conf, start_date, end_date, market, instrument_list, max_count)

TypeError: slice indices must be integers or None or have an index method


(iQuant) #2

应该是您绑定实盘交易参数有点小问题,建议添加客服小Q帮你解决,微信号:bigq100