quantonex v0.1.0 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: pos_integer()
}
Represents a data point of an instrument.
complete-trueif the data point is complete, otherwisefalse.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.