Closed Tidone closed 4 months ago
I'm having the same problem.
I solved it by lowering the version, but hopefully it will be resolved soon.
@smooth-lee May I ask you which version have you downgraded to? I have encountered the same issue. Thanks
Duplicate of https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/347
Its fixed and will be released within the next few hours.
Version of this library.
unicorn_fy: 0.12.2 unicorn_binance_local_depth_cache: not found unicorn_binance_rest_api: 1.9.0 unicorn_binance_trailing_stop_loss: not found unicorn_binance_websocket_api: 1.46.1
Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.
Hardware?
Local server/workstation
Operating System?
Linux
Python version?
Python3.10
Installed packages
Logging output
Processing method?
stream_buffer
Used endpoint?
binance.com-futures-testnet
Issue
Hi,
I noticed that creating a userdata stream on futures-testnet doesn't work on the last few versions of unicorn-binance-websocket-api. Whenever a userdata stream is created, a critical error is thrown (
Received known error code from rest client: {'code': -2015, 'msg': 'Invalid API-key, IP, or permissions for action.'}
) and the program exits.The last working version of unicorn-binance-websocket-api was 1.43.3. (And yes, the API key is valid. The same key which is working on 1.43.3, throws the above error on the newest versions.)
I already tried creating a new API key (and a new account) on testnet, but the error persists.
Here's a simple code to reproduce the error, which is taken from the userdata_stream_new_style example: