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

Kucoin perpetual - Client shows an error while you place order manually on exchange #6182

Closed
nikspz opened this issue Mar 29, 2023 · 5 comments · Fixed by #6235
Closed

Kucoin perpetual - Client shows an error while you place order manually on exchange #6182

nikspz opened this issue Mar 29, 2023 · 5 comments · Fixed by #6235

Comments

@nikspz
Copy link
Contributor

nikspz commented Mar 29, 2023

Client shows an error while you place order manually on exchange

Steps To Reproduce

  1. create bot using kucoin perpetual
  2. start the bot
  3. place order manually on exchange
  4. pay attention to log pane

Actual:
Log pane showed an Unexpected error in user stream listener loop.

Expected:
No error showed in the Client

2023-03-29 11:25:44,343 - 2654008 - hummingbot.connector.derivative.kucoin_perpetual.kucoin_perpetual_derivative.KucoinPerpetualDerivative - ERROR - Unexpected error in user stream listener loop.
Traceback (most recent call last):
  File "/home/ubuntu/staging/hummingbot/connector/derivative/kucoin_perpetual/kucoin_perpetual_derivative.py", line 519, in _user_stream_event_listener
    self._process_trade_event_message(payload)
  File "/home/ubuntu/staging/hummingbot/connector/derivative/kucoin_perpetual/kucoin_perpetual_derivative.py", line 580, in _process_trade_event_message
    client_order_id = str(trade_msg["tradeId"])
KeyError: 'tradeId'

kucpinperp.zip
logs_kucoinperp.log

image

@cardosofede
Copy link
Contributor

@MementoRC do you want to work on this issue?

@MementoRC
Copy link
Sponsor Contributor

Unfortunately, i don't have access to KuCoin perpetuals as a US person. Thanks for the thought

@nikspz nikspz added the P3 label Apr 14, 2023
@nikspz
Copy link
Contributor Author

nikspz commented Apr 14, 2023

Severity: P3
Bounty: 10,000 (https://hummingbot.org/maintenance/bugs/)
Rationale: Bug related to Kucoin perpetual connector

@nikspz
Copy link
Contributor Author

nikspz commented Apr 14, 2023

Asssiging this issue to https://github.com/yancong001 @yancong001

@rapcmia rapcmia linked a pull request Apr 19, 2023 that will close this issue
2 tasks
@nikspz
Copy link
Contributor Author

nikspz commented Apr 24, 2023

Closing issue as paid, thank you @yancong001 for contribution

@nikspz nikspz closed this as completed Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Paid
Development

Successfully merging a pull request may close this issue.

3 participants