ping 字符串保活wss://rest.vvtr.com/v2/connect?apiKey=abcdefgwss://rest.vvtr.com/v2/connect?apiKey=abcdefg&type=11&symbols=* 该请求示例*表示订阅全部A股# Shell 示例(使用wscat工具)
wscat -c "wss://rest.vvtr.com/v2/connect?apiKey=abcdefg&type=11&symbols=*"| 参数 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| apiKey | string | 是 | 你的 apiKey |
| type | string | 是 | 产品类型代码,多个产品类型用","隔开,如:11,22 |
| symbols | string | 是 | 证券代码,多个用,分隔,"*"表示全部,同时订阅多个type时格式为:[a,b,c],[d,e,f],务必与type的顺序保持一致 |