Skip to content

Conversation

@shalev-david
Copy link
Contributor

I've had an issue trying to work with the future's websockets on the testate,
after a quick Look at the code I saw that the endpoints are hardcoded with no testnets options so I've added them. \

at src/futures/websockets.rs there's the FuturesMarket enum
I've added to the enum these values with these endpoints:

  • USDM_Testnet - wss://fstream.binancefuture.com
  • COINM_Testnet - wss://dstream.binancefuture.com
  • Vanilla_Testnet - wss://vstream.binancefuture.com

@carlosmiei
Copy link
Collaborator

@shalev-david thanks for your contribution!

@carlosmiei
Copy link
Collaborator

@shalev-david can you please check the lint?

@shalev-david
Copy link
Contributor Author

the other lint errors are unrelated

@carlosmiei carlosmiei merged commit cc4b206 into ccxt:master Nov 28, 2025
5 of 6 checks passed
@shalev-david shalev-david deleted the feature/futures_testnet_websocket branch November 28, 2025 12:37
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