@jackenleu 大佬,我运行了下模拟交易,结果报错了
2024-07-12 09:25:02 - ERROR - Traceback (most recent call last):
File "/tmp/jqcore/jqboson/jqboson/core/loop/loop.py", line 284, in _handle_message
message.callback(**message.callback_data)
File "/tmp/jqcore/jqboson/jqboson/core/dispatcher.py", line 110, in callback
self._event_bus.emit(evt)
File "/tmp/jqcore/jqboson/jqboson/core/bus.py", line 47, in emit
ret.append(call(event))
File "/tmp/jqcore/jqboson/jqboson/core/strategy.py", line 433, in _wrapper
return cb(self._context.strategy_environment.strategy_context, **cb_kwargs)
File "/tmp/strategy/user_code.py", line 85, in buy
for s in g.target_list:
AttributeError: 'StrategyGlobals' object has no attribute 'target_list'