See the WebSocket API reference for more details.
➊ Install WebSocket Client
The quickest way to open a connection is by using wscat, which runs in the terminal. Using the Python websocket-client package requires a bit of code and the Python shell.- SHELL
- PYTHON
➋ Connect to Sandbox Feed
Open a long-lived connection to the Sandbox USDCUSD stablecoin market price feed.- SHELL
- PYTHON
➌ Review Sandbox Feed
If everything worked, USDCUSD the pricing data streams to the terminal.- SHELL
- PYTHON
Sandbox USDCUSD stablecoin market price feed (wscat)