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

API Reference: caplin.services.ConfigService

Provided implementations: caplin.services.providers.CaplinConfigService

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

API Reference: caplin.services.PreferencesService

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

caplin.chart-service

API Reference: caplin.chart.services.ChartService

Provided implementations: caplin.chart.services.StreamLinkChartService

Description: A service that retrieves chart data.

Layout

caplin.layout-service

API Reference: caplin.layout.LayoutService

Provided implementations: caplin.layout.testing.LayoutServiceStub

Description: Provides access to the user's layouts.

caplin.user-prompt-service

API Reference: caplin.services.UserPromptService

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

Messaging

caplin.user-service

API Reference: caplin.services.UserService

Provided implementations: caplin.sljsadapter.providers.StreamLinkUserService

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

caplin.message-service

API Reference: caplin.services.messaging.MessageService

Provided implementations: caplin.sljsadapter.providers.StreamLinkMessageService

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

caplin.connection-service

API Reference: caplin.services.ConnectionService

Provided implementations: caplin.caplin.sljsadapter.providers.StreamLinkConnectionService

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

caplin.permission-service

API Reference: services.security.PermissionService

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

Trading

caplin.trade-service

API Reference: caplin.trading.trademodel.CaplinTradeService

Description: Creates trades by delegating to registered Trade Factories

caplin.trade-message-service

API Reference: caplin.trading.trademodel.TradeMessageService

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

caplin.tobo-user-service

API Reference: caplin.trading.service.TOBOUserService

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

API Reference: caplin.trading.service.TradePermissionService

Implements: caplin.services.security.PermissionService

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

Popouts

caplin.window-service

API Reference: caplin.popout.WindowService

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

caplin.popout-service

API Reference: caplin.popout.PopoutService

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