Click or drag to resize
Bloomberglp.Blpapi Namespace
The Bloomberg API provides developers with 24x7 programmatic access to data from the Bloomberg Data Center for use in customer applications. The Bloomberg API lets you integrate streaming real-time and delayed data, reference data, historical data, intraday data, and Bloomberg derived data into custom and thirdparty applications. You can choose which data you require down to the individual field level. The Bloomberg API supports run-time downloadable schemas for the services it provides and provides methods to query these schemas at runtime. This means the Bloomberg API can support additional services without additions to the interface. It also makes writing applications that can adapt to changes in services or entirely new services simple. The Bloomberg API object model contains a small number of key objects which applications use to request, receive and interpret data. An application creates a Session object to manage its connection with the Bloomberg infrastructure. (Some applications may choose to create multiple Session objects for redundancy). Using the Session object, an application creates a Service object and then "opens' each Bloomberg service that it will use. For example, Bloomberg provides streaming market data and reference data as services. There are two programming paradigms that can be used with the Service object. The client can make individual requests (via a Request object) for data or the client can start a subscription (managed via a Subscription object) with the service for ongoing data updates. Depending on the services being used, a customer application may be written to handle both paradigms. Whichever paradigm or paradigms are used, the Bloomberg infrastructure replies with events (received at the client as Event objects) which the client must handle asynchronously. Programmatically, the customer application obtains Event objects for the Session and then extracts from those Event objects one or more Message objects containing the Bloomberg data.
Classes
  ClassDescription
Public classAbstractSession
This class provides an abstract session for sharing interfaces between Session and ProviderSession.
Public classAuthApplication
Contains application-specific authorization options.
Public classAuthOptions
Defines the authorization options which the user can set on SessionOptions as the authorization options for the session identity or use to authorize other identities.
Public classAuthToken
Contains manual token authorization options.
Public classAuthUser
Contains user-specific authorization options.
Public classConstant
Represents a constant value in the schema.
Public classConstraint
Contains a single constraint.
Public classCorrelationID
A key used to identify individual subscriptions or requests.
Public classDatetime
Represents a date and/or time.
Public classDuplicateCorrelationIDException
The exception that is thrown when the correlation IDs associated with subscriptions are the same(with equal value).
Public classElement
Elements are used to represent all data sent to/received from API services.
Public classEvent
All data resulting from subscriptions or requests and administrative messages are delivered as Events.
Public classEventDispatcher
Dispatches events from one or more sessions through callbacks.
Public classEventDispatcherStopOption
Enumerations for controlled shutdown of the EventDispatcher.
Public classEventFormatter
EventFormatter is used to format publisher events or responses to certain ProviderSession requests.
Public classEventQueue
Returns the number of definitions of events that can be published by this Service.
Public classInvalidConversionException
The exception that is thrown when a value is converted into a non-compatible data type.
Public classInvalidRequestException
This exception is thrown when an API client attempts to send a request which is not valid by the request schema.
Public classLogging
Provides a way to register a call back for logging
Public classMessage
Message objects are used to represent all outputs from the API.
Public className
Name objects are used to identify and access the classes which define the schema.
Public classNameEnumerationTable Obsolete.
Don't use it. NameEnumerationTable is deprecated.
Public classNames
Provides commonly used Name instances.
Public classNotFoundException
The exception that is thrown when the required entity doesn't exist.
Public classOperation
Operation objects are obtained from a Service object and it represents an Operation that can be executed on a Service.
Public classProviderSession
This class provides a session that can be used for providing services.
Public classRequestQueueOverflowException
The exception that is thrown when the number of queued sending requests is over the limit.
Public classResolutionList
Resolution list is used to resolve a list of topics. Resolve(IResolutionList)ResolveAsync(IResolutionList)
Public classSchema
Contains constants used in the classes which represent the data model.
Public classSchemaElementDefinition
The definition of an item in a data schema.
Public classSchemaTypeDefinition
The definition of a type in the schema.
Public classService
Defines a service which provides access to API data.
Public classServiceRegistrationOptions
Contains the options which the user can specify when registering a service.
Public classServiceRegistrationOptionsRegistrationParts
Constants for specifying which part(s) of a service should be registered
Public classSession
This class provides a session for making requests and subscriptions to services.
Public classSessionOptions
To use non-default options on a Session, create a SessionOptions instance and set the required options and then supply it when creating a Session.
Public classSessionOptionsServerAddress
Represents a server address as a host, a port and/or a Socks5Config.
Public classSocks5Config
Provides a description of Socks5 proxy necessary to reach one or more destination hosts.
Public classSubscription
A Subscription object holds information about a subscription for topic updates and comprises of two primary fields: a 'CorrelationId' associated with the subscription, and a string, called a subscription string, describing the data to be delivered as a part of the subscription.
Public classSubscriptionPreprocessError
Represents the preprocess error for a Subscription entry encountered when making a list of subscriptions.
Public classTlsOptions
TlsOptions instances are sources of client credentials and trust material used by a session to establish secure mutually authenticated connections to endpoints. The client credentials comprise an encrypted private key and a client certificate. Client credentials are in DER encoded PKCS12 format. They are provided by Bloomberg L.P. These credentials can be provided to a BLPAPI application in 3 ways: - file, - byte array(for situations where the BLPAPI application is not able to access a filesystem), - X509Certificate2. The trust material comprises certificates in DER encoded PKCS7 format, provided by Bloomberg L.P. These may be provided in 3 ways: - file, - byte array(for situations where the BLPAPI application is not able to access a filesystem), - X509Certificate2Collection
Public classTopicList
TopicList is used to create a list of topics. CreateTopics(ITopicList)CreateTopicsAsync(ITopicList)
Public classVersionInfo
This class provides a basic primitive version information for the BLPAPI SDK library. It provides a simple way to access the following version information as 4 integers: Major, Minor, Patch, and Build.
Public classZfpUtil
Helper class that provides utilities designed for the Zero Footprint Solution clients that leverage private leased lines to the Bloomberg network.
Interfaces
  InterfaceDescription
Public interfaceConstantsList
Represents a list of Constant objects in the schema. Implements generic IDictionary interface.
Public interfaceConstraintsList
Represents a list of Constraint objects. Implements generic IDictionary interface.
Public interfaceIAbstractSession
An abstract session for sharing methods between ISessionand IProviderSession.

Sessions manage access to services either by requests and responses or subscriptions. A session can dispatch events and replies in either a synchronous or asynchronous mode. The mode of a session is determined when it is constructed and cannot be changed subsequently.

A session must be started with Start or StartAsync before calling on any of its operations.

Public interfaceIdentity
Provides access to the entitlements for a specific user.
Public interfaceIEventQueue
A queue used to handle replies to requests synchronously.

When a request is submitted, an application can either handle the responses asynchronously as they arrive or use an IEventQueue to handle all responses synchronously. The IEventQueue will only deliver responses to the request(s) it is associated with.

Public interfaceIProviderSession
A session that can be used for providing services.
Public interfaceIResolutionList
A list of topics to be resolved.
Public interfaceISession
A session for making requests and subscriptions to services.

Sessions manage access to services either by requests and responses or subscriptions. A Session can dispatch events and replies in either a synchronous or asynchronous mode. The mode of a Session is determined when it is constructed and cannot be changed subsequently.

A session is asynchronous if an EventHandler is supplied when it is constructed. SetEventHandler(EventHandler, EventEventType) may be used to adjust the way events are handled subsequently and NextEvent may not be called. All incoming events are delivered to the event handler(s) supplied on construction or subsequently added with using SetEventHandler(EventHandler, EventEventType).

A session is synchronous if an EventHandler is not supplied when it is constructed. NextEvent must be called to read incoming events and SetEventHandler(EventHandler, EventEventType) may not be called.

When using an asynchronous Session the application must be aware that because the callbacks are generated from another thread they may be processed before the call which generates them has returned. For example, the SESSION_STATUSEvent generated by StartAsync may be processed before StartAsync returns (even though StartAsync itself will not block).

This becomes more significant when session-generated CorrelationID objects are in use. For example, if a call to Subscribe(IListSubscription, Identity, String) which returns a session-generated CorrelationID has not completed before the first events which contain that CorrelationID arrive the application may not be able to interpret those events correctly. For this reason, it is preferable to use a user generated CorrelationID when using an asynchronous Session. This issue does not arise when using a synchronous Session as long as the calls to Subscribe(IListSubscription, Identity, String) etc are made on the same thread as the calls to NextEvent.

Public interfaceITopicList
A list of topics to be created.
Public interfaceLoggingCallback
An interface for a callback that can been registered to get the log messages
Public interfaceNameEnumeration Obsolete.
Don't use it. NameEnumeration is deprecated.
Public interfaceRequest
This class represents a single request to a particular service.
Public interfaceRequestTemplate
This class provides a handle for a request template.
Public interfaceTopic
Represents a topic. CreateTopic(Message)
Public interfaceUserHandle Obsolete.
Provides access to the entitlements for a specific user.
Delegates
  DelegateDescription
Public delegateEventHandler
The delegate to receive Session Events.
Public delegateProviderEventHandler
The delegate to receive Provider Session Events.
Enumerations
  EnumerationDescription
Public enumerationAbstractSessionStopOption
Enumerations for controlled shutdown of the session.
Public enumerationEventEventType
Enumeration of the type of events that can be delivered from Bloomberg services.
Public enumerationMessageFragment
Fragment type of a Message.
Public enumerationMessageRecap
Recap type of a Message.
Public enumerationResolutionStatus
Resolution status
Public enumerationResolveMode
Resolve mode
Public enumerationSchemaDatatype
Enumerations for various data types supported in the schema.
Public enumerationSchemaStatus
Enumeration describing the status of various elements in the schema.
Public enumerationSeatType
Seat type enumeration defines seat type values such as whether this identity is a Bloomberg Professional Service user.
Public enumerationServiceRegistrationOptionsServiceRegistrationPriority
Constants for specifying the priority of registered service.
Public enumerationSessionSubscriptionStatus
SubscriptionStatus lists the possible statuses a Subscription may be in.
Public enumerationSessionOptionsClientModeType
Client mode enumeration.
Public enumerationSubscriptionPreprocessErrorErrorCode
Defines error codes for the subscription preprocess errors.
Public enumerationSubscriptionPreprocessMode
Public enumerationTopicListTopicStatus
The topic status.
Public enumerationZfpUtilRemote
The port the session will be connecting to.