我正在通过沙盒使用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 USD左右吗?
答案 0 :(得分:0)
因此,沙盒价格基本上与实际价格有所不同,这就是混乱所在。