public interface StockDataset extends BaseDataset
StockForAllRecordsDataset
,
StockForEachRecordDataset
,
StockOneGroupDataset
TOKEN_DATASET
Modifier and Type | Method and Description |
---|---|
SummaryField |
getCloseField()
Returns the data field which provides the close value.
|
SummaryField |
getHighField()
Returns the data field which provides the high value.
|
SummaryField |
getLowField()
Returns the data field which provides the low value.
|
SummaryField |
getOpenField()
Returns the data field which provides the open value.
|
void |
setCloseField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the close value.
|
void |
setHighField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the high value.
|
void |
setLowField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the low value.
|
void |
setOpenField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the open value.
|
getChart, getDataField, getDataFields, getLabelProvider, verify
SummaryField getCloseField()
StockStyle.STOCK_HIGH_LOW_OPEN_CLOSE
only.SummaryField
or null
if this field was not initialized.setCloseField(int, Field, Field, int)
SummaryField getHighField()
SummaryField
or null
if this field was not initialized.setHighField(int, Field, Field, int)
SummaryField getOpenField()
StockStyle.STOCK_HIGH_LOW_OPEN_CLOSE
only.SummaryField
or null
if this field was not initialized.setOpenField(int, Field, Field, int)
SummaryField getLowField()
SummaryField
or null
if this field was not initialized.setLowField(int, Field, Field, int)
void setCloseField(int summaryOperation, Field field, Field field2nd, int nth)
StockStyle.STOCK_HIGH_LOW_OPEN_CLOSE
only.
Creates a new SummaryField
with this field, operation and parameters.SummaryField
.
summaryOperation
- the summary operation. This only supports operations with number results.field
- the data fieldfield2nd
- the second data field, used for example for weights in weighted average SummaryField.WEIGHTED_AVERAGE
.nth
- the nth parameter, used for example by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException
- if the required first or second field are null
or have an unsupported value type.java.lang.IllegalArgumentException
- if nth is less than zero.getCloseField()
,
SummaryField.setSummaryOperation(int)
,
SummaryField.setField(Field)
,
SummaryField.setField2nd(Field)
,
SummaryField.setSummaryNth(int)
void setHighField(int summaryOperation, Field field, Field field2nd, int nth)
SummaryField
with this field, operation and parameters.SummaryField
.
summaryOperation
- the summary operation. This only supports operations with number results.field
- the data fieldfield2nd
- the second data field, used for example for weights in weighted average SummaryField.WEIGHTED_AVERAGE
.nth
- the nth parameter, used for example by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException
- if the required first or second field are null
or have an unsupported value type.java.lang.IllegalArgumentException
- if nth is less than zero.getCloseField()
,
SummaryField.setSummaryOperation(int)
,
SummaryField.setField(Field)
,
SummaryField.setField2nd(Field)
,
SummaryField.setSummaryNth(int)
void setOpenField(int summaryOperation, Field field, Field field2nd, int nth)
StockStyle.STOCK_HIGH_LOW_OPEN_CLOSE
only.
Creates a new SummaryField
with this field, operation and parameters.SummaryField
.
summaryOperation
- the summary operation. This only supports operations with number results.field
- the data fieldfield2nd
- the second data field, used for example for weights in weighted average SummaryField.WEIGHTED_AVERAGE
.nth
- the nth parameter, used for example by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException
- if the required first or second field are null
or have an unsupported value type.java.lang.IllegalArgumentException
- if nth is less than zero.getCloseField()
,
SummaryField.setSummaryOperation(int)
,
SummaryField.setField(Field)
,
SummaryField.setField2nd(Field)
,
SummaryField.setSummaryNth(int)
void setLowField(int summaryOperation, Field field, Field field2nd, int nth)
SummaryField
with this field, operation and parameters.SummaryField
.
summaryOperation
- the summary operation. This only supports operations with number results.field
- the data fieldfield2nd
- the second data field, used for example for weights in weighted average SummaryField.WEIGHTED_AVERAGE
.nth
- the nth parameter, used for example by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException
- if the required first or second field are null
or have an unsupported value type.java.lang.IllegalArgumentException
- if nth is less than zero.getCloseField()
,
SummaryField.setSummaryOperation(int)
,
SummaryField.setField(Field)
,
SummaryField.setField2nd(Field)
,
SummaryField.setSummaryNth(int)
Copyright © 1999-2020 by i-net software GmbH