创建交易订单

请求

POST https://custody-example-url/custody/v1/api/projects/{b_id}/integrated/trade/order/create

参数

字段 类型 描述
b_id String 业务线ID
base_coin String base 币种
quote_coin String quote 币种
base_amount Integer base 数量
quote_amount Integer quote 数量
price Integer 价格
price_id String 价格id(询价单必传该参数)
side String 交易方向(BUY-买,SELL-卖)
trade_type String 订单类型(LIMIT-限价单,TOKEN-询价单)

注意:

1. 询价单建议上述参数取询价接口返回的数据

响应

字段 类型 描述
data String 订单号

响应示例

{
  "code": 0,
  "data": "string",
  "message": "string",
  "successful": true
}
Copyright © 2025 Cactus Custody all right reserved,powered by GitbookUpdated: 11-Oct-2023 02:55:06

results matching ""

    No results matching ""

    results matching ""

      No results matching ""