问答交流

我想问下context.has_unfinished_sell_order这个是什么意思

由iquant创建,最终由iquant 被浏览 36 用户

问题

我想问下context.has_unfinished_sell_order这个是什么意思

解答

context是一个全局变量,这个has_unfinished_sell_order是他的一个属性,我想问下文档哪里能查到context有哪些属性?找半天没找到

help只是使用的介绍,您还需要在回测模块中调用这个函数哈: context.has_unfinished_sell_order(context.symbol(“000001.SZA”)) 返回的bool值就能说明其是否已经撮合

{link}