Spot Trading
-
Base URL for all restful interfaces is https://api.coinw.com. The complete URL consists of the base URL and the endpoint. For example, if the endpoint is /api/v1/public?command=returnTicker, the complete URL is: https://api.coinw.com/api/v1/public?command=returnTicker.
-
Currently, there are two methods to establish a spot public WebSocket connection.
Method 1: To establish a public WebSocket connection using the Socket.IO framework, first obtain a valid public token by sending a GET request to the following endpoint: https://www.coinw.com/pusher/public-token.
The response will contain a token, which must be appended to the WebSocket URL as a query parameter: wss://ws.futurescw.info?token={your_token}
Method 2: This method provides a direct connection using the standard WebSocket protocol and does not require a token. In this case, simply use the following base WebSocket URL: wss://ws.futurescw.com. -
Base URL for private websockets is : wss://ws.futurescw.com.