Websocket API
Description AuthenticationMethods
trade cancelOrder orderInfo getFunds subscribeOrderbook unsubscribeOrderbookReturns information about a specific order.
The example of query:
{
"method": "orderInfo",
"params": {
"order_id":2
}
}
The example of response:
{
"success":1,
"result":{
"2":{
"pair":"btc_usd",
"type":"sell",
"start_volume":3,
"volume":3,
"rate":1000,
"timestamp_created":1436505794,
"status":0
}
}
}
Object key: Order identifier.
pair: The pair on which the order was created.
type: Order type, buy/sell.
start_volume: The initial amount that was when creating the order.
volume: How much is left to buy / sell.
rate: Price of sell/buy.
timestamp_created: The time when the order was created.
status: 0 - active, 1 - executed order, 2 - canceled, 3 - canceled, but partially executed.