public class IntradayTickData extends Object
Constructor and Description |
---|
IntradayTickData(String security) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<org.joda.time.DateTime,TypedObject> |
forField(IntradayTickField 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 IntradayTickData(String security)
public boolean isEmpty()
RequestResult
public String getSecurity()
public com.google.common.collect.Multimap<org.joda.time.DateTime,TypedObject> forField(IntradayTickField field)
field
- the field for which the data is neededpublic 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.