【发布时间】:2019-08-12 04:15:12
【问题描述】:
我正在使用 coinbase pro api 使用沙盒并测试一个销售案例。
我下的订单是
const sellParams:any = {
'side': 'sell',
'product_id': 'BTC-USD',
'type': 'market',
'size': '0.009'
}
订单状态响应如下
{
"type": "market",
"id": "5846345c-c070-44bf-9d31-ec07a1c9892c",
"product_id": "BTC-USD",
"side": "sell",
"post_only": false,
"created_at": "2019-08-12T04:08:29.845922Z",
"fill_fees": "0.0297509100000000",
"filled_size": "0.00300000",
"executed_value": "9.9169700000000000",
"status": "done",
"settled": true,
"done_at": "2019-08-12T04:08:29.853Z",
"done_reason": "canceled",
"size": "0.00900000"
}
问题在于执行价值,显示 9.9169...不应该在 100 美元左右吗?
【问题讨论】:
标签: coinbase-api