You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
To be compatible with the bitget API v2, there is a little change to do.
Indeed, we have already the possibility to set the websocket url to 'wss://ws.bitget.com/v2/ws/private' in this way:
The only problem is when we subscribe SPOT is transformed in spot (lowercase) which generate the error 30016 Param error.
Could you change the line : chanel.inst_type = str(chanel.inst_type).lower()
by chanel.inst_type = str(chanel.inst_type)
in the file stream.py in order to solve this problem.
Thanks,
Yann
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
To be compatible with the bitget API v2, there is a little change to do.
Indeed, we have already the possibility to set the websocket url to 'wss://ws.bitget.com/v2/ws/private' in this way:
The only problem is when we subscribe SPOT is transformed in spot (lowercase) which generate the error 30016 Param error.
Could you change the line :
chanel.inst_type = str(chanel.inst_type).lower()by
chanel.inst_type = str(chanel.inst_type)in the file stream.py in order to solve this problem.
Thanks,
Yann
Beta Was this translation helpful? Give feedback.
All reactions