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

Update websocket.py #186

Closed

Conversation

nodje1z
Copy link

@nodje1z nodje1z commented Jun 24, 2024

Fixes the invalid subscription ID for the v4_candles channel in the dydx_v4_client library.

  • Updated the subscribe and unsubscribe methods in the Candles class to ensure the resolution is converted to its string value before being included in the subscription ID.
  • This resolves the "Invalid subscription id for channel" error when subscribing to the v4_candles channel.

Please review the changes and merge them into the main branch.

Copy link
Contributor

@samtin0x samtin0x left a comment

Choose a reason for hiding this comment

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

@nodje1z can you rebase so CI is fixed?

Fix invalid subscription ID for candles channel
@nodje1z nodje1z force-pushed the fix/candles-subscription-id branch from f128dd0 to 169ebd5 Compare June 27, 2024 02:50
@nodje1z
Copy link
Author

nodje1z commented Jun 27, 2024

@nodje1z can you rebase so CI is fixed?

@samtin0x Done 👍

Copy link
Contributor

@samtin0x samtin0x left a comment

Choose a reason for hiding this comment

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

Looks good to me

@nodje1z please sign your commit so we can merge!

@nodje1z nodje1z requested a review from samtin0x July 9, 2024 14:47
@samtin0x
Copy link
Contributor

Looks good to me

@nodje1z please sign your commit so we can merge!

@nodje1z you have an unverified commit, can you squash them or make sure both are verified ? Thanks!

@samtin0x samtin0x mentioned this pull request Jul 22, 2024
@samtin0x
Copy link
Contributor

Closing in favor of #203

@samtin0x samtin0x closed this Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants