public class OHLCItem extends ComparableObjectItem
(time-period, open, high, low,
close)
.Constructor and Description |
---|
OHLCItem(RegularTimePeriod period,
double open,
double high,
double low,
double close)
Creates a new instance of
OHLCItem . |
Modifier and Type | Method and Description |
---|---|
double |
getCloseValue()
Returns the close value.
|
double |
getHighValue()
Returns the high value.
|
double |
getLowValue()
Returns the low value.
|
double |
getOpenValue()
Returns the open value.
|
RegularTimePeriod |
getPeriod()
Returns the period.
|
double |
getYValue()
Returns the y-value.
|
clone, compareTo, equals, hashCode
public OHLCItem(RegularTimePeriod period, double open, double high, double low, double close)
OHLCItem
.period
- the time period.open
- the open-value.high
- the high-value.low
- the low-value.close
- the close-value.public RegularTimePeriod getPeriod()
null
).public double getYValue()
public double getOpenValue()
public double getHighValue()
public double getLowValue()
public double getCloseValue()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics