Skip to content

The SELL side of the grid doesn't reach the maximum possible sell side orders #36

Description

@kinbitz

This check needs to be changed to allow the maximum number of levels for SELL side to reach the full size of the grid because it less than GRID_LEVELS, but to allow this change more code changes are needed.

if 0 <= level < GRID_LEVELS and (grid[level] == "" or grid[level] == "-"):

This line has to be changed to grid = ["-"] * (GRID_LEVELS+1)

grid = ["-"] * GRID_LEVELS

This line has to be changed to for n in range(last_level + 1, GRID_LEVELS+1):

for n in range(last_level + 1, GRID_LEVELS):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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