-
Notifications
You must be signed in to change notification settings - Fork 0
Order
huyaohua edited this page Jan 19, 2020
·
2 revisions
Interface address:https://api.bitforex.com/api/v1/trade/placeOrder
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. |
price | double | Yes | - | Lower unit price |
amount | double | Yes | - | Order quantity |
tradeType | int | Yes | - | Order type, 1, buy, 2, sell |
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/placeOrder
# Response
{
"success": true,
"data": {
"orderId": 1
}
}
Return value description
Parameter Name | Type | Description |
---|---|---|
orderId | String | Order ID |