VeighNa量化社区
你的开源社区量化交易平台 | vn.py | vnpy
Member
avatar
加入于:
帖子: 227
声望: 0

例如用cover()如何区分cover的是今天的仓位还是昨天的仓位

Member
加入于:
帖子: 6145
声望: 383

可参考https://www.vnpy.com/docs/cn/cta_strategy.html#cta-ctatemplate 主动函数部分


Member
avatar
加入于:
帖子: 227
声望: 0

我的理解是stop: bool = False, lock: bool = False, net: bool = False都是默认的情况下,下达交易指令的时候 是不区分平今和平昨的 对吗

Member
avatar
加入于:
帖子: 716
声望: 65

description

description

上期所和能源所会默认优先平昨