-
Notifications
You must be signed in to change notification settings - Fork 1
Create Order (V2)
CoinTiger-API edited this page Dec 20, 2019
·
3 revisions
request parameter
name of parameter | whether necessary | type | description | default | data range |
---|---|---|---|---|---|
api_key | true | string | apikey distributed by platfrom | ||
symbol | true | string | trading pairs | tchbtc,ltcbtc,ethbitcny ... | |
price | true | string | order price | ||
volume | true | string | order amount | ||
side | true | string | Business direction BUY SELL | ||
type | true | string | 1 :limit trading,2:market trading | ||
sign | true | string | signature | ||
time | true | string | current timestamp |
request parameter: for example (submit the parameter in "from-data" way)
https://api.cointiger.com/exchange/trading/api/v2/order?api_key=c9a97adf-7909-444a-bf9e-1471210c4770&time=1533548203304&sign=74d7439c
c46211e925f0dcdd97fa000e75372e87a12e0804989ca575422e8935f68201c47f5d74ba3b1d1d6e39f984c787be3b2f237de12522386f987e27d67f
{
"symbol": "tchbtc",
"price": "10.1",
"volume": "100.1",
"side": "BUY",
"type": "1",
"time":"1538041898320"
}
response data
parameter name | whether necessary | type | description | data range |
---|---|---|---|---|
order_id | true | string | ID |
response example
{
"code": "0",
"msg": "suc",
"data": {
"order_id": 481
}
}