企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
## 市场委托 ~~~[api] get:/api/v1/coin/depth/:currency/:type *string:currency#货币对(SWT-CNY) *string:type#类型 normal-获取最新6条 more-获取最新50条 <<< success { "code": 0, "msg": "SUCCESS", "data": { "asks" : [ { "price": 0.00744, "amount": 1251200, "total": 11220112.2, "type": "sell" } ], "bids" : [ { "price": 0.0073, "amount": 1006325, "total": 1006325, "type": "buy" } ] } } <<< errror { "code": 1, "msg": "具体的错误信息", "data": [] } ~~~ ### 参数说明 参数名 | 参数类型 | 说明 -|-|-| bids | Array | 买单 asks | Array | 卖单 price | Number | 价格 amount | Number | 数量 total | Number | 无用字段暂时不用关注 type | String| 类型 sell-卖 buy-买