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

Info about the current user.

parameters

Parameters

  • company_unit unit the account is assigned to,
  • currency account currency,
  • group group name,
  • ib_account indicates whether this account is an IB account,
  • leverage_mult the factor used for margin calculations,
  • spread_type spread type, null if not applicable,
  • trailing_stop indicates whether this account is enabled to use trailing stop.

handled-api-methods

Handled Api methods

  • getCurrentUserData

Link to this section Summary

Link to this section Types

@type t() :: %XtbClient.Messages.UserInfo{
  company_unit: integer(),
  currency: binary(),
  group: binary(),
  ib_account: true | false,
  leverage_mult: float(),
  spread_type: binary() | nil,
  trailing_stop: boolean()
}

Link to this section Functions