View Source XtbClient.Messages.MarginMode (XtbClient v0.1.1)
Atoms representing margin mode.
Link to this section Summary
Functions
Parse an integer value as a valid atom for margin mode.
Link to this section Types
@type margin_code() :: 101 | 102 | 103 | 104
@type t() :: :forex | :cfd_leveraged | :cfd | :hundred_and_four
Link to this section Functions
@spec parse(margin_code()) :: t()
Parse an integer value as a valid atom for margin mode.