[bug fix]获取策略持仓

This commit is contained in:
msincenselee 2020-02-05 11:29:47 +08:00
parent ec75d5ffc5
commit 7f4c33719f

View File

@ -124,6 +124,7 @@ class CtaTemplate(ABC):
"direction": "short",
"volume": abs(self.pos)
})
return pos_list
@virtual
def on_timer(self):