ccxt: Gateio watch_order_book InvalidNonce error
Operating System
Ubuntu 22.04.1 LTS
Programming Languages
python
CCXT Version
2.5.56
Description
Hi guys,
With the latest version of ccxt, I cannot use “watch_order_book” on gate.
It returns:
InvalidNonce: gateio orderbook update has a nonce bigger than u
I found the error in the source code, but I’ve no idea on how to fix it. Any way to bypass it, until it’s fixed, maybe?
Btx, the fetch_order_book method works fine
Thanks for your great job 🙏
Code
from ccxt import pro as ccxtpro
exchange = ccxtpro.gateio()
i = 0
while i < 5:
i += 1
print(i)
ob = await exchange.watch_order_book("DOGE/USDT", limit=20)
print(ob)
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 1
- Comments: 20 (7 by maintainers)
please update to the latest build this error should be fixed
@KevinBaudin i’ll check the python behaviour