quantonex v0.1.2 Quantonex.DataPoint View Source
Contains the Quantonex.DataPoint type.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Sourcet() :: %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: non_neg_integer()
}
Represents a data point of an instrument.
complete-trueif the data point is complete, otherwisefalse
A data point is considered incomplete if not all data is known or final.
This usually occurs if the current interval defined by granularity has not yet finished.
close- the close pricegranularity- the granularity of the data point e.g.H4instrument- an instrument e.g.EURUSDhigh- the highest pricelow- the lowest priceopen- the open pricedatetime- the datetimevolume- the volume