View Source XtbClient.Messages.BalanceInfo (XtbClient v0.1.1)

Info about current account indicators.

parameters

Parameters

  • balance balance in account currency,
  • cash_stock_value value of stock in cash,
  • credit credit,
  • currency user currency,
  • equity sum of balance and all profits in account currency,
  • equity_fx equity FX,
  • margin margin requirements in account currency,
  • margin_free free margin in account currency,
  • margin_level margin level percentage,
  • stock_lock stock lock,
  • stock_value stock value.

handled-api-methods

Handled Api methods

  • getBalance
  • getMarginLevel

Link to this section Summary

Link to this section Types

@type t() :: %XtbClient.Messages.BalanceInfo{
  balance: float(),
  cash_stock_value: float(),
  credit: float(),
  currency: binary(),
  equity: float(),
  equity_fx: float(),
  margin: float(),
  margin_free: float(),
  margin_level: float(),
  stock_lock: float(),
  stock_value: float()
}

Link to this section Functions