在examples/vn_trader下运行 python3 run.py 出现如下报错
Traceback (most recent call last):
File "/Users/apple/vnpy-master/examples/vn_trader/run.py", line 145, in <module>
main()
File "/Users/apple/vnpy-master/examples/vn_trader/run.py", line 131, in main
main_engine.add_app(DataRecorderApp)
File "/Users/apple/Library/Python/3.7/lib/python/site-packages/vnpy/trader/engine.py", line 96, in add_app
engine = self.add_engine(app.engine_class)
File "/Users/apple/Library/Python/3.7/lib/python/site-packages/vnpy/trader/engine.py", line 71, in add_engine
engine = engine_class(self, self.event_engine)
File "/Users/apple/Library/Python/3.7/lib/python/site-packages/vnpy/app/data_recorder/engine.py", line 56, in init
self.put_event()
File "/Users/apple/Library/Python/3.7/lib/python/site-packages/vnpy/app/data_recorder/engine.py", line 262, in put_event
data
TypeError: init() takes from 1 to 2 positional arguments but 3 were given