getopenorders

Retrieve openorders. (Authorization is required).
URI: https://deribit.com/api/v1/private/getopenorders
URI Path: /api/v1/private/getopenorders
Parameters: instrument – string [optional], instrument name, example “BTC-19DEC14”.
Method: GET
Result is JSON object:
{
    "success": true,  // true or false
    "message": "",    // empty or text message, e.g. error message
    "result": [       // list of open orders
		{
            "orderId": 30,  // ID of the order
            "instrument": "BTC-22JAN16-270-C",
            "direction": "buy",
            "price": 0.5, // float, USD for futures, BTC for options
            "quantity": 1, // quantity, in contracts ($10 per contract for futures, ฿1 — for options)
            "filledQuantity": 0, // filled quantity, in contracts ($10 per contract for futures, ฿1 — for options)
            "commision": 0,
            "created": 1453397825239,
            "lastUpdate": 1453397825239,
            "state": "open"
        }
    ]
}
cancelall
positions