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

Atoms representing profit mode.

Link to this section Summary

Functions

Parse an integer value to valid atom of profit mode.

Link to this section Types

@type proft_code() :: 5 | 6
@type t() :: :forex | :cfd

Link to this section Functions

@spec parse(proft_code()) :: t()

Parse an integer value to valid atom of profit mode.