org.jquantlib.math
Class IntervalPrice
- java.lang.Object
-
- org.jquantlib.math.IntervalPrice
-
public class IntervalPrice extends java.lang.ObjectInterval Price
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classIntervalPrice.Type
-
Constructor Summary
Constructors Constructor and Description IntervalPrice()IntervalPrice(double open, double close, double high, double low)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleclose()static <K> Series<K,java.lang.Double>extractComponent(java.lang.Class<K> classK, Series<K,IntervalPrice> ts, IntervalPrice.Type type)static <K> double[]extractValues(Series<K,IntervalPrice> ts, IntervalPrice.Type type)doublehigh()doublelow()static <K> Series<K,IntervalPrice>makeSeries(java.lang.Class<K> classK, K[] date, double[] open, double[] close, double[] high, double[] low)doubleopen()voidsetValue(IntervalPrice.Type type, double value)voidsetValues(double open, double close, double high, double low)doublevalue(IntervalPrice.Type type)
-
-
-
Constructor Detail
-
IntervalPrice
public IntervalPrice()
-
IntervalPrice
public IntervalPrice(double open, double close, double high, double low)
-
-
Method Detail
-
open
public double open()
-
close
public double close()
-
high
public double high()
-
low
public double low()
-
value
public double value(IntervalPrice.Type type)
-
setValue
public void setValue(IntervalPrice.Type type, double value)
-
setValues
public void setValues(double open, double close, double high, double low)
-
makeSeries
public static <K> Series<K,IntervalPrice> makeSeries(java.lang.Class<K> classK, K[] date, double[] open, double[] close, double[] high, double[] low)
-
extractValues
public static <K> double[] extractValues(Series<K,IntervalPrice> ts, IntervalPrice.Type type)
-
extractComponent
public static <K> Series<K,java.lang.Double> extractComponent(java.lang.Class<K> classK, Series<K,IntervalPrice> ts, IntervalPrice.Type type)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG