Skip to content

Metatrader account information#

About#

Contains account information for a MetaTrader account

Fields#

Name Type Required Description
platform string Yes platform id, enum: mt4, mt5
broker string Yes broker name
currency string Yes account base currency
server string Yes broker server name
balance number Yes account balance
equity number Yes account liquidation value
margin number Yes margin used
freeMargin number Yes free margin
leverage number Yes account leverage
marginLevel number margin level calculated as % of equity/margin

Example#

{
  "broker": "True ECN Trading Ltd",
  "currency": "USD",
  "server": "ICMarketsSC-Demo",
  "balance": 7319.9,
  "equity": 7306.649913200001,
  "margin": 184.1,
  "freeMargin": 7120.22,
  "leverage": 100,
  "marginLevel": 3967.58283542
}

Usages#