Skip to content

on_tick()方法中生成最低价的疑问 #2

@flycocopig

Description

@flycocopig
# low
self.bars[tick.local_symbol][3] = min(self.bars[tick.local_symbol][1], tick.last_price)

我昨天晚上才注意到ctpbee项目的,目前随便看看。
这上面的K线最低价生成是不是错了,应该是用 self.bars[tick.local_symbol][3]tick.last_price 进行比较

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions