Skip to content

data length in Barstate.ts is wrong? #150

@dcaoyuan

Description

@dcaoyuan

in Barstate.ts, the length of data is determined by this.context.data.close.data.length, but per my debug, this.context.data.close.data.length is always the same as current idx, seems the this.context.data.close.data is gradually added.

I think we should use this.context.length.

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