quantonex v0.1.0 Quantonex.DataPoint View Source

Contains the Quantonex.DataPoint type.

Link to this section Summary

Types

t()

Represents a data point of an instrument.

Link to this section Types

Link to this type

t()

View Source
t() :: %Quantonex.DataPoint{
  close: Decimal.t(),
  complete: boolean(),
  datetime: DateTime.t(),
  granularity: String.t(),
  high: Decimal.t(),
  instrument: String.t(),
  low: Decimal.t(),
  open: Decimal.t(),
  volume: pos_integer()
}

Represents a data point of an instrument.

  • complete - true if the data point is complete, otherwise false.
  • close - the close price.
  • granularity - the granularity of the data point e.g. H4.
  • instrument - an instrument e.g. EURUSD.
  • high - the highest price.
  • low - the lowest price.
  • open - the open price.
  • datetime - the datetime.
  • volume - the volume.