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/dexalot lost orders fix #370

Closed
wants to merge 8 commits into from

Conversation

petioptrv
Copy link

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:

This PR addresses the issue where Dexalot orders remain stuck (orphaned) on the exchange.

[ch-45141]

Tests performed by the developer:

Unit tests.

Tips for QA testing:

Please ensure the behaviour is no longer reproducible.

# Conflicts:
#	hummingbot/connector/derivative/kucoin_perpetual/kucoin_perpetual_derivative.py
# Conflicts:
#	test/hummingbot/connector/derivative/binance_perpetual/test_binance_perpetual_derivative.py
If the transaction was recently submitted, an order status request could fail to find the transaction data. This was considered as order failure up until now, but it should be considered as "order not found".
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #45141: Dexalot - Stuck on cancelling order.

@petioptrv petioptrv requested review from vic-en and a team October 10, 2023 18:54
@petioptrv petioptrv self-assigned this Oct 10, 2023
@geneuinely07 geneuinely07 added the bug Something isn't working label Oct 11, 2023
Copy link

@vic-en vic-en left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@rxlxrxsx rxlxrxsx left a comment

Choose a reason for hiding this comment

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

Tested and confirmed working by QA.

  • Successfully cloned and installed the branch
  • Successfully setup gateway both on source and docker
  • Connected API keys (valid and invalid key) and confirmed working as expected
  • Confirmed wallet and exchange balances are reflecting correct
  • Created a pure_mm strategy and went through initial prompts successfully
  • Started the strategy without issues, confirmed orders are created and cancelled based on config
  • Confirmed order book prices is in sync with the exchange
  • Trade information are correct based on history command output
  • Compared trades in client and exchange, no discrepancies found
  • Confirmed hanging order/cancellation and multiple order levels works as expected

@petioptrv
Copy link
Author

petioptrv commented Oct 17, 2023

Closing to re-open towards foundation: hummingbot#6611

@petioptrv petioptrv closed this Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants