用buy函数无法触发onorder,onfill等类似事件么?

用buy函数无法触发onorder,onfill等类似事件么?做回测时打日志看确实没触发.

回测并不能触发 没有成交回报 实盘环境才可以