GetAccount

GetAccount - getting a client's trading account.

Example:

{"id": 11, "type":"GetAccount", "body": {}}

Request Body Fields: n/a.

Responce Type - GetAccount.

Responce Body Fields:

Parameter
Always returned
Type
Description

balance

string

current balance of the trading account

equity

float

current equity of the trading account

credit

float

current credit of the trading account

margin

float

margin of the trading account

margin_level

float

margin level of the trading account

free_margin

float

free margin of the account (at the moment of the deal is got from server)

Example:

{
    "type": "GetAccount",
    "id": 11,
    "body": {
        "balance": 1052.450000,
        "equity": 1052.880000,
        "credit": 0.000000,
        "margin": 10.780000,
        "margin_level": 9766.975881,
        "free_margin": 1042.100000
    }
}

Last updated