Available services

Here you can find details of pre-defined services and their default implementations

BladeRunnerJS Services

BladeRunnerJS provides a number of services. They are listed on the Available Services page on BladeRunnerJS.org.

Caplin Trader Services

General:

Layout:

Messaging:

Trading:

Popouts:

General

caplin.config-service

Description: Provides information specific to this application instance. Examples of this information are lists of available locales, application versions, URLs for web services etc.

caplin.preference-service

Description: A service that manages saving and retrieving of a user’s preferences.

caplin.chart-service

Description: A service that retrieves chart data.

Layout

caplin.layout-service

Provided implementations: caplin.layout.testing.LayoutService

Description: Provides access to the user’s layouts.

caplin.user-prompt-service

Description: A service that manages how prompts are displayed to the user.

Messaging

caplin.user-service

Description: A service that provides the login name of the user that is currently logged in.

caplin.message-service

Description: Provides access to publish/subscriber asynchronous messaging services, usually coupled with the ConnectionService.

caplin.connection-service

Description: Provides information about the status of a connection to a streaming server

caplin.permission-service

Description: Provides a set of permissions and entitlements for the logged in user.

Trading

caplin.trade-service

Description: Creates trades by delegating to registered Trade Factories

caplin.trade-message-service

Description: Provides an API for sending trade messages to the underlying trading system.

caplin.tobo-user-service

Description: A service designed for managing the activities of a client user who is permissioned to trade on behalf of other (TOBO) users.

caplin.trade-permission-service

Description: Provides high level trade permissioning information that can be used in trading applications that require tickets and tiles.

Popouts

caplin.window-service

Description: Service used to create popout windows and communicate between windows

caplin.popout-service

Description: Service used inside a popout window to enable communication with its opener