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

user data stream in futures #1359

Open
crotestnet opened this issue Sep 28, 2023 · 1 comment
Open

user data stream in futures #1359

crotestnet opened this issue Sep 28, 2023 · 1 comment

Comments

@crotestnet
Copy link

Hello

I am using this library, and works no problem with Websocket connections, trading etc. I am however unable to get a stream of user data (ie. when order is chaged, closed etc). When using futures_user_socket , if this is the rights one to use, I get API error, which is strange as API works fine everywhere else. Could you please advise how to do connect correctly?

Thanks

@PJV0043
Copy link

PJV0043 commented Oct 11, 2023

If you're facing issues specifically with the futures_user_socket and not with other WebSockets in the Binance library, it's usually due to one of the following reasons:

API Permissions: Ensure that your API key has the necessary permissions. Sometimes, the API key might need different permissions for futures trading.

Using the Right Endpoint: Make sure that you're connecting to the correct WebSocket endpoint. The standard spot market and the futures market have different endpoints.

Listening Key: User data streams typically require a listening key. Ensure you're obtaining the correct listening key for futures and not for the spot market.

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

No branches or pull requests

2 participants