VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 60
声望: 2

description

为什么不直接:
self.bar.high_price = max(self.bar_high_price, tick.high_price)
为什么一开始要把tick.last_price放进来计算呢?last_price不能代表这500ms内的最大值呀。

Member
avatar
加入于:
帖子: 1468
声望: 105

tick.high_price是全天到过的最高价,而不是过去1分钟里的

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】