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 error_on_submit_market_order_due_to_reduce_only_order_would_increase_position #6790

Conversation

yancong001
Copy link
Contributor

@yancong001 yancong001 commented Jan 17, 2024

Before submitting this PR, please make sure:

  • Your code builds clean without any errors or warnings
  • You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:

Tests performed by the developer:

Tips for QA testing:

Copy link
Contributor

@rapcmia rapcmia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Setup simple perp-mm with 3 order levels
  • Runtime 3hrs and review:
    • No error related to reduce only orders would increase position
    • Multiple order filled and entry price matched when getting average
    • Open position closed successfully
  • V2 strategy not tested (will test when merged to development for longer runtime)

@cardosofede cardosofede merged commit 0557dc9 into hummingbot:development Jan 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants