public class IntradayBarData extends Object
Modifier and Type | Class and Description |
---|---|
class |
IntradayBarData.ResultForDate |
class |
IntradayBarData.ResultForField |
Constructor and Description |
---|
IntradayBarData(String security) |
Modifier and Type | Method and Description |
---|---|
IntradayBarData.ResultForDate |
forDate(org.joda.time.DateTime date)
Adds a filter on a specific date (row)
|
IntradayBarData.ResultForField |
forField(IntradayBarField field)
Adds a filter on a specific field (column)
|
com.google.common.collect.Table<org.joda.time.DateTime,IntradayBarField,TypedObject> |
get()
The table contains one security per row, one field per column and the objects are the values of each combination
of security ID / field.
|
Set<String> |
getFieldErrors() |
String |
getSecurity() |
Set<String> |
getSecurityErrors() |
boolean |
hasErrors()
Even if this method returns true, the request might have returned valid data.
|
boolean |
isEmpty()
The main reasons why this might return true:
the structure has not been populated yet
all the information requested returned errors (none of the tickers and/or fields was valid)
the date range was invalid
no data was returned because there was no data available for that ticker/field/date range combination
|
String |
toString() |
public IntradayBarData(String security)
public boolean isEmpty()
RequestResult
public String getSecurity()
public IntradayBarData.ResultForField forField(IntradayBarField field)
public IntradayBarData.ResultForDate forDate(org.joda.time.DateTime date)
public com.google.common.collect.Table<org.joda.time.DateTime,IntradayBarField,TypedObject> get()
public boolean hasErrors()
RequestResult
hasErrors
in interface RequestResult
public Set<String> getFieldErrors()
getFieldErrors
in interface RequestResult
public Set<String> getSecurityErrors()
getSecurityErrors
in interface RequestResult
Copyright © 2013. All Rights Reserved.