Bloomberg API for .NET
Bloomberglp.Blpapi Namespace
NamespacesBloomberglp.Blpapi
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.
Types
All TypesClassesInterfacesEnumerationsDelegates
IconTypeDescription
AbstractSession
This class provides an abstract session for sharing interfaces between Session and ProviderSession.

Logging..::..Callback
An interface for a callback that can been registered to get the log messages

SessionOptions..::..ClientModeType
Client mode enumeration.

Constant
Represents a constant value in the schema.

ConstantsList
Represents a list of Constant objects in the schema. Implements generic IDictionary interface.

Constraint
Contains a single constraint.

ConstraintsList
Represents a list of Constraint objects. Implements generic IDictionary interface.

CorrelationID
A key used to identify individual subscriptions or requests.

Schema..::..Datatype
Enumerations for various data types supported in the schema.

Datetime
Represents a date and/or time.

DuplicateCorrelationIDException
The exception that is thrown when the correlation IDs associated with subscriptions are the same(with equal value).

Element
Elements are used to represent all data sent to/received from API services.

Event
All data resulting from subscriptions or requests and administrative messages are delivered as Events.

EventDispatcher
Dispatches events from one or more sessions through callbacks.

EventFormatter
EventFormatter is used to format publisher events or responses to certain ProviderSession requests.

EventHandler
The delegate to receive Session Events.

EventQueue
Returns the number of definitions of events that can be published by this Service.

Event..::..EventType
Enumeration of the type of events that can be delivered from Bloomberg services.

Message..::..Fragment
Fragment type of a Message.

Identity
Provides access to the entitlements for a specific user.

InvalidConversionException
The exception that is thrown when a value is converted into a non-compatible data type.

InvalidRequestException
This exception is thrown when an API client attempts to send a request which is not valid by the request schema.

Logging
Provides a way to register a call back for logging

Message
Message objects are used to represent all outputs from the API.

Name
Name objects are used to identify and access the classes which define the schema.

NameEnumeration Obsolete.
NameEnumerationTable Obsolete.
NotFoundException
The exception that is thrown when the required entity doesn't exist.

Operation
Operation objects are obtained from a Service object and it represents an Operation that can be executed on a Service.

ProviderEventHandler
The delegate to receive Provider Session Events.

ProviderSession
This class provides a session that can be used for providing services.

ServiceRegistrationOptions..::..RegistrationParts
Constants for specifying which part(s) of a service should be registered

Request
This class represents a single request to a particular service.

RequestQueueOverflowException
The exception that is thrown when the number of queued sending requests is over the limit.

ResolutionList
ResolutionStatus
ResolveMode
Schema
Contains constants used in the classes which represent the data model.

SchemaElementDefinition
The definition of an item in a data schema.

SchemaTypeDefinition
The definition of a type in the schema.

SeatType
Seat type enumeration defines seat type values such as whether this identity is a Bloomberg Professional Service user.

SessionOptions..::..ServerAddress
Service
Defines a service which provides access to API data.

ServiceRegistrationOptions
Contains the options which the user can specify when registering a service.

ServiceRegistrationOptions..::..ServiceRegistrationPriority
Constants for specifying the priority of registered service.

Session
This class provides a session for making requests and subscriptions to services.

SessionOptions
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.

Schema..::..Status
Enumeration describing the status of various elements in the schema.

AbstractSession..::..StopOption
Enumerations for controlled shutdown of the session.

EventDispatcher..::..StopOption
Enumerations for controlled shutdown of the EventDispatcher.

Subscription
A Subscription object holds information about a subscription for topic updates.

Session..::..SubscriptionStatus
SubscriptionStatus lists the possible statuses a Subscription may be in.

Topic
TopicList
TopicList..::..TopicStatus
UserHandle Obsolete.
Provides access to the entitlements for a specific user.

VersionInfo
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.