5
tomoon | BINANCE API 的对接
source link: https://benpaodewoniu.github.io/2022/09/22/tomoon40/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
- RestFul
- Websocket
Websocket
服务地址输入
wss://stream.binance.com:9443/stream?streams=
{"method": "SUBSCRIBE","params":["btcusdt@depth5@100ms","ethusdt@depth5@100ms"],"id": 1}
这里有几个需要注意的点。
- 内容全部是小写
- 内容不能用单引号,必须全是双引号
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK