wondertrader/wtpy

WtWrapper的register_extended_data_loader调用异常

muxingtouzi opened this issue · 1 comments

按照下面方式给WtEngine添加 extended data loader 后会抛出异常

engine = WtEngine(eType = EngineType.ET_CTA, logCfg = 'logcfg.yaml')
engine.set_extended_data_loader(loader)

异常

AttributeError: 'WtWrapper' object has no attribute 'on_load_his_bars'

从代码来看 WtWrapper 没有 on_load_his_bars 方法

dev已修复