-
Notifications
You must be signed in to change notification settings - Fork 0
Order information
huyaohua edited this page Jan 19, 2020
·
1 revision
Interface address:https://api.bitforex.com/api/v1/trade/orderInfo
Request method:POST
Parameters
parameter name | Types | Is required | Defaults | Description |
---|---|---|---|---|
symbol | String | Yes | - | Transaction pairs such as coin-usd-btc, coin-usd-eth, etc. |
orderId | long | Yes | - | Order ID |
accessKey | String | Yes | - | API access key |
nonce | long | Yes | - | Request timestamp, milliseconds |
signData | String | Yes | - | Signing information |
Example
# request
POST https://api.bitforex.com/api/v1/trade/orderInfo
# Response
{
"success": true,
"data": {
"symbol":"coin-usd-etc",
"avgPrice": 0,
"createTime": 1516691438000,
"lastTime": 1516691438000,
"dealAmount": 0,
"orderAmount": 2,
"orderId": 1,
"orderPrice": 103,
"orderState": 4,
"tradeFee": 0,
"tradeType": 2
}
}
Return value description
Parameter Name | Type | Description |
---|---|---|
symbol | String | Transaction pairs such as coin-usd-btc, coin-usd-eth, etc. |
avgPrice | double | Average transaction price |
createTime | long | Order creation time |
lastTime | long | last update time |
dealAmount | double | The number of transactions |
orderAmount | double | Order quantity |
orderId | long | Order ID |
orderPrice | double | Lower unit price |
orderState | int | Order Status: 0 Not Closed, 1 Part Transaction, 2 All Transaction, 3 Partial Deal Canceled, 4 All Revoked |
tradeFee | double | Fees |
tradeType | double | Trading methods: 1 buy, 2 sell |