8000 fix(bybit): unWatch orders/mytrades by carlosmiei · Pull Request #26326 · ccxt/ccxt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(bybit): unWatch orders/mytrades #26326

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

Merged
merged 1 commit into from
Jul 3, 2025

Conversation

carlosmiei
Copy link
Collaborator

No description provided.

@carlosmiei carlosmiei self-assigned this Jul 1, 2025
@@ -7818,16 +7818,34 @@ export default class Exchange {
throw new NotSupported (this.id + ' fetchTransfers () is not supported yet');
}

cleanUnsubscription (client, subHash: string, unsubHash: string) {
cleanUnsubscription (client, subHash: string, unsubHash: string, subHashIsPrefix = false) {
Copy link
Contributor

Choose a reason for hiding this comment

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

In which cases subHashIsPrefix = true?
can we always delete the futures and subscriptions where sub.startsWith (subHash) ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@pcriadoperez When for instance the subHash is orders but the subscriptions are orders:LTC/USDT, orders:BTC/USDT, etc

can we always delete the futures and subscriptions where sub.startsWith (subHash) ?

@pcriadoperez I don't think so, what if the subHash orders:LTC/USDT but in subscriptions you have orders:LTC/USDT:USDT ?

@carlosmiei carlosmiei merged commit f40e5ec into ccxt:master Jul 3, 2025
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0