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

Info representing aggregated price & volume values for candle.

Default interval for one candle is one minute.

parameters

Parameters

  • open open price in base currency,
  • high highest value in the given period in base currency,
  • low lowest value in the given period in base currency,
  • close close price in base currency,
  • vol volume in lots,
  • ctm candle start time in CET time zone (Central European Time),
  • ctm_string string representation of the ctm field,
  • quote_id source of price, see XtbClient.Messages.QuoteId,
  • symbol symbol name.

Link to this section Summary

Link to this section Types

@type t() :: %XtbClient.Messages.Candle{
  close: float(),
  ctm: DateTime.t(),
  ctm_string: binary(),
  high: float(),
  low: float(),
  open: float(),
  quote_id: XtbClient.Messages.QuoteId.t(),
  symbol: binary(),
  vol: float()
}

Link to this section Functions