Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Set quantity to zero when initiation order view with open position #2468

Merged
merged 1 commit into from
Apr 25, 2024

Commits on Apr 24, 2024

  1. fix: Set quantity to zero when initiation order view with open position

    If we don't have a position we default the quantity to the max quantity. If we have an open position we default the quantity to zero because the contracts will be defaulted to the open quantity.
    
    The behaviour should be that in case of an open position the default contracts on the opposite direction is to close the position.
    holzeis committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    f3ea8ce View commit details
    Browse the repository at this point in the history