edit

Edit price and/or quantity of the own order. (Authorization is required).
URI: https://deribit.com/api/v1/private/edit
URI Path: /api/v1/private/edit
Paramerts: shown as JQuery data for POST
{
    "orderId": "994",   // ID of the order returned by "sell" or "buy" request
    "quantity": "1",    // quantity, in contracts ($10 per contract for futures, ฿1 — for options)
    "price": "415"      // float, USD for futures, BTC for options
}
Method: POST
Result is JSON object:
{
    "success": true, // true or false
    "result": {
        "order": {
            "orderId": 994, 	// id of created order if success = true
            "instrument": "BTC-22JAN16", 	//instrument name of the order
            "direction": "buy", 	// direction, buy
            "price": 415, 	// price, 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, 	// commision in btc
            "created": 1453398857489,
            "lastUpdate": 1453398857489,
            "state": "open"
        },
        "trades": []
    },
    "message": "" 	// empty or text message, e.g. error message
}
sell
cancel