public class IntradayTickRequestBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IntradayTickRequestBuilder.IntradayTickEventType
Defines the field to be returned for historical intraday tick requests.
|
Constructor and Description |
---|
IntradayTickRequestBuilder(String ticker,
org.joda.time.DateTime startDateTime,
org.joda.time.DateTime endDateTime)
Creates a RequestBuilder with an event type TRADE.
|
IntradayTickRequestBuilder(String ticker,
IntradayTickRequestBuilder.IntradayTickEventType eventType,
org.joda.time.DateTime startDateTime,
org.joda.time.DateTime endDateTime)
Creates a RequestBuilder with standard options.
|
Modifier and Type | Method and Description |
---|---|
protected void |
buildRequest(com.bloomberglp.blpapi.Request request) |
com.bloomberglp.blpapi.Request |
buildRequest(com.bloomberglp.blpapi.Session session) |
BloombergRequestType |
getRequestType() |
ResultParser<IntradayTickData> |
getResultParser() |
BloombergServiceType |
getServiceType() |
IntradayTickRequestBuilder |
includeBicMicCodes()
Include bank or market identifier code.
|
IntradayTickRequestBuilder |
includeBrokerCodes()
Include the broker code of the trade.
|
IntradayTickRequestBuilder |
includeConditionCodes()
Include any condition codes that may be associated to a tick.
|
IntradayTickRequestBuilder |
includeExchangeCodes()
Include the exchange code where this tick originated.
|
IntradayTickRequestBuilder |
includeNonPlottableEvents()
Include all ticks, including those with condition codes.
|
IntradayTickRequestBuilder |
includeRpsCodes()
Include the Reporting Party Side (RPS) transaction codes.
|
String |
toString() |
public IntradayTickRequestBuilder(String ticker, org.joda.time.DateTime startDateTime, org.joda.time.DateTime endDateTime)
ticker
- a ticker for which data needs to be retrieved - must be valid Bloomberg symbol (for example:
IBM US Equity)startDateTime
- the start of the date range (inclusive) for which to retrieve dataendDateTime
- the end of the date range (inclusive) for which to retrieve dataNullPointerException
- if any of the parameters is nullIllegalArgumentException
- if the ticker is an empty string or if the start date is strictly after the end
datepublic IntradayTickRequestBuilder(String ticker, IntradayTickRequestBuilder.IntradayTickEventType eventType, org.joda.time.DateTime startDateTime, org.joda.time.DateTime endDateTime)
ticker
- a ticker for which data needs to be retrieved - must be valid Bloomberg symbol (for example:
IBM US Equity)eventType
- the eventType to retrieve for the selected tickerstartDateTime
- the start of the date range (inclusive) for which to retrieve dataendDateTime
- the end of the date range (inclusive) for which to retrieve data
NullPointerException
- if any of the parameters is nullIllegalArgumentException
- if the ticker is an empty string or if the start date is strictly after the end
datepublic IntradayTickRequestBuilder includeConditionCodes()
public IntradayTickRequestBuilder includeNonPlottableEvents()
public IntradayTickRequestBuilder includeExchangeCodes()
public IntradayTickRequestBuilder includeBrokerCodes()
public IntradayTickRequestBuilder includeRpsCodes()
public IntradayTickRequestBuilder includeBicMicCodes()
protected void buildRequest(com.bloomberglp.blpapi.Request request)
request
- an empty Request that needs to be populatedpublic BloombergRequestType getRequestType()
public ResultParser<IntradayTickData> getResultParser()
public BloombergServiceType getServiceType()
public com.bloomberglp.blpapi.Request buildRequest(com.bloomberglp.blpapi.Session session)
buildRequest
in interface RequestBuilder<T extends RequestResult>
session
- the session to which the request will be sentCopyright © 2013. All Rights Reserved.