FinancialSeriesData Interface
A class that provides financial data points should implement this interface.
Declaration
public interface FinancialSeriesData
extends XYSeriesData
Remarks
Note that this interface should be used only for StockSeries and CandleStickSeries.
Implements
Methods
getArgument(int) Method
Returns the data point’s argument at the specified index.
Declaration
public Date getArgument(int index)
Parameters
Name | Type | Description |
---|---|---|
index | int | The series point’s index. |
Returns
Type | Description |
---|---|
Date | The Date object specifying an argument. |
getCloseValue(int) Method
Returns The data point’s close value at the specified index.
Declaration
public double getCloseValue(int index)
Parameters
Name | Type | Description |
---|---|---|
index | int | The series point’s index. |
Returns
Type | Description |
---|---|
double | The double value specifying a close value. |
getDataCount() Method
Declaration
public int getDataCount()
Returns
Type |
---|
int |
getHighValue(int) Method
Returns The data point’s high value at the specified index.
Declaration
public double getHighValue(int index)
Parameters
Name | Type | Description |
---|---|---|
index | int | The series point’s index. |
Returns
Type | Description |
---|---|
double | The double value specifying a high value. |
getLowValue(int) Method
Returns the data point’s low value at the specified index.
Declaration
public double getLowValue(int index)
Parameters
Name | Type | Description |
---|---|---|
index | int | The series point’s index. |
Returns
Type | Description |
---|---|
double | The double value specifying a low value. |
getOpenValue(int) Method
Returns the data point’s open value at the specified index.
Declaration
public double getOpenValue(int index)
Parameters
Name | Type | Description |
---|---|---|
index | int | The series point’s index. |
Returns
Type | Description |
---|---|
double | The double value specifying an open value. |