Open Orders

This endpoint returns information on all open orders for all Futures contracts.

Authentication is required.

Endpoint

Request Type Permissible API Keys
/api/v3/openorders
GET Read-only, Read-write, Master
Arguments      
none      
Sample Call
https://futures.kraken.com/derivatives/api/v3/openorders
Sample Return if Successful
{  
   "result":"success",
   "serverTime":"2016-02-25T09:45:53.818Z",
   "openOrders":[  
      {  
         "receivedTime":"2016-02-25T09:45:53.601Z",
         "status":"partiallyFilled",
         "order_id":"c18f0c17-9971-40e6-8e5b-10df05d422f0",
         "cliOrdId":"dd84e375-474a-48df-bc54-a13b02ef6e8e",

         "orderType":"stp",
         "symbol":"fi_xbtusd_180615",
         "side":"buy",
         "unfilledSize":5000,
         "filledSize":5000,
         "limitPrice":4255,
         "stopPrice":4202
      },
      {  
         "receivedTime":"2016-02-24T11:32:01.102Z",
         "status":"untouched",
         "order_id":"e35d61dd-8a30-4d5f-a574-b5593ef0c050",
         "orderType":"lmt",
         "symbol":"fi_xbtusd_180615",
         "side":"sell",
         "unfilledSize":10000,
         "filledSize":0,
         "limitPrice":4301
      }, ...,
   ]
}

Field

Type Description
result
String Always success
serverTime
ISO8601 datetime The server date and time
openOrders
list of structures A list containing structures with information on open orders, see below. The list is sorted descending by receivedTime
receivedTime ISO8601 datetime The date and time the order was received
status string The status of the order, either of:
  • untouched: the entire size of the order is unfilled
  • partiallyFilled: the size of the order is partially but not entirely filled
order_id UUID The unique identifier of the order
cliOrdId UUID The unique client order identifier. This field is returned only if the order has a client order id
orderType string The order type, either lmt for a limit order or stp for a stop
order
symbol string The symbol of the futures the order refers to.
side string The direction of the order, either buy for a buy order or sell for a sell order
unfilledSize positive integer The unfilled size associated with the order
filledSize positive integer The filled size associated with the order
limitPrice positive float The limit price associated with the order
stopPrice positive float
  • If orderType is stp: The stop price associated with the order
  • If orderType is lmt: Not returned because N/A

 

Sample Return if Unsuccessful
 {  
   "result":"error",
   "serverTime":"2016-02-25T09:45:53.818Z",
   "error":"apiLimitExceeded",
}

Field

Type Description
result
String Always error
serverTime
ISO8601 datetime The server date and time
error
string

The reason the API call failed, either of:

  • apiLimitExceeded: the API limit for the calling IP address has been exceeded
  • authenticationError: the request could not be authenticated
  • accountInactive: the Crypto Facilities account the request refers to is inactive 
  • nonceBelowThreshold: <threshold> the provided nonce is below the <threshold>
  • nonceDuplicate: <duplicate> the provided nonce is a duplicate as it has been used in a previous request