Get Market Depth
1. Request Url
https://{host}/marketApi/depth
2. Request Param
Parameter name | Is it necessary | description |
channelId | Y | Channel number |
timestamp | Y | Millisecond timestamp(UTC+8) |
sign | Y | See "Signature Generation" |
tradePair | Y | Trade pair |
depth | Y | Deep polymerization, 1,2,3,4,5,6 |
3.Request Example
4.Response Data
5.Response Data Explanation
Description | Is Array | Parameter name | Data type | Length | Is it necessary | Remark |
Buy orders | Y | buyOrders | Array | - | Y | eg: array |
Sell orders | Y | sellOrders | Array | - | Y | eg: array |
Latest price | N | latestPrice | String | 20 | Y | eg: 10392.33 |
Latest type | N | latestType | String | 20 | Y | eg: sell/buy |