account

Get user account summary. (Authorization is required)
URI: https://www.deribit.com/api/v1/private/account
URI Path: /api/v1/private/account
Parameters: none
Method: GET
Result is JSON object:
{
    "success": true,       // true or false
    "result": {
        "equity": 1108,48703769  // float, in BTC
        "maintenanceMargin": 9.58764239,  // float, in BTC
        "initialMargin": 52.71196337, // float, in BTC
        "availableFunds": 1055.77507431, // float, in BTC
        "balance": 1103.15356175, // float, in BTC
        "unrealizedProfitLoss": 4.46597751, // float, in BTC
        "realizedProfitLoss": 7.52970166  // float, in BTC
} }
Private API
buy