You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subscription real-time quote data interface instructions
This interface feature is that for each WebSocket connection, every time this request is sent, the backend will default to overwrite the previous subscription request. After successful subscription, data will be pushed.
Request - Protocol Number: 22002
Data Format: JSON
Data Structure
Definition of data
Field
Name
Type
Required
Description
symbol_list
Product List
array
Yes
Specific format see below symbol definition
Symbol Definition
Field
Name
Type
Required
Description
code
Code
string
Yes
Specific content, please refer to the code list
depth_level
Depth Level
uint32
No
If there is no depth_level field, the backend will only provide one level of quotes. If the requested level is greater than the actual quote level, or if there is no depth_level field, the backend will provide as many levels as there are actual quotes