orderhistory

Get history. (Authorization is required).
URI: https://deribit.com/api/v1/private/orderhistory
URI Path: /api/v1/private/orderhistory
Parameters: none
Method: GET
Result is JSON object:
{
    "success": true,
    "result": [ // list of orders from history, filled quantity > 0 
        {
            "orderId": 1000,   // ID of the order
            "instrument": "BTC-22JAN16-360-C", // name of the instrument
            "direction": "sell", // direction of the order
            "price": 0.5,  // float, USD for futures, BTC for options
            "quantity": 1,  // quantity, in contracts ($10 per contract for futures, ฿1 — for options)
            "filledQuantity": 1, // filled quantity, in contracts ($10 per contract for futures, ฿1 — for options)
            "state": "filled",   // state of the order
            "created": 1453411118214,
            "tstamp": 1453411118214,
            "commission": 0.0005,
            "modified": 1453411118215
        } ....
    ]
}
positions
General