Skip to content

Invalid return statement #662

Open
Open
@rando128

Description

@rando128

I came across this small but nasty error while reusing @habibalkhabbaz ATH candles implementation for a new feature.

The loop over the symbols doesn't loop at all if buyATHRestrictionEnabled is not true for all symbols. The return statement should be a continue statement:

Unfortunately I can't submit a PR now since my codeline is too far from master.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions