[bug fix]获取策略持仓
This commit is contained in:
parent
ec75d5ffc5
commit
7f4c33719f
@ -124,6 +124,7 @@ class CtaTemplate(ABC):
|
||||
"direction": "short",
|
||||
"volume": abs(self.pos)
|
||||
})
|
||||
return pos_list
|
||||
|
||||
@virtual
|
||||
def on_timer(self):
|
||||
|
Loading…
Reference in New Issue
Block a user