Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 1.3 KB

File metadata and controls

28 lines (14 loc) · 1.3 KB

English | 中文

API Address Description

Stock WebSocket Interface API Address

/quote-stock-b-ws-api Stock Subscription API

The subscription API uses the WebSocket protocol, and the complete URL is:
wss://quote.tradeswitcher.com/quote-stock-b-ws-api

When establishing a connection, token information needs to be included:
wss://quote.tradeswitcher.com/quote-stock-b-ws-api?token=your_token_here

After establishing the connection, you can subscribe to specific interface data. For specific calling methods, please refer to the WebSocket interface list.

Forex, Cryptocurrency (Digital Currency), Commodity (Precious Metals) WebSocket Interface API Address

/quote-b-ws-api Forex, Cryptocurrency (Digital Currency), Commodity (Precious Metals) WebSocket Subscription API

The subscription API uses the WebSocket protocol, and the complete URL is:

wss://quote.tradeswitcher.com/quote-b-ws-api

When establishing a connection, token information needs to be included:
wss://quote.tradeswitcher.com/quote-b-ws-api?token=your_token_here

After establishing the connection, you can subscribe to specific interface data. For specific calling methods, please refer to the WebSocket interface list.