Caplin Trader 4.8.0

Home

Caplin Trader API Documentation

(version: 4.8.0-0-ga8d7350f3)

Use the filter box on the right to limit the view of the API documentation.

Caplin Trader libraries

Developer documentation for Caplin Trader is located on the Caplin developer site.

  • alerts: The alerts library defines interfaces for triggers and notifications services, and includes fixtures and stubs for testing and development of components using these services.
  • chart: The chart library provides classes that can be used to obtain chart series data from a backend system (such as Caplin Liberator).
  • component: Provides the caplin.component.Component interface that must be implemented by any classes that want to be loaded into a Panel or dialog.
  • control: The control library provides various screen controls for use in the Renderer Framework.
  • core: The core library is responsible for providing low level language extensions to JavaScript.
  • dom: Provides low level utility classes that standardize the interaction with the Document Object Model (DOM), hiding away the intricacies and subtleties of the DOM interaction within different browsers.
  • element: The element library provides a flexible means of incorporating screen controls.
  • fx: The FX library provides classes specific to FX applications.
  • grid: Provides all the necessary classes needed to build real-time grids and integration with other systems.
  • i18n: Provides the caplin.i18n.Translator class which is responsible for converting localization tokens into translated text.
  • layout: The layout package provides a service to manage layouts in a single page web application.
  • menu: The menu library provides all the necessary classes to generate a menu along with a PresenterControl and a menu PresentationNode for presenter integration (see live examples).
  • popout: The popout library provides a means for popping out content from the application into a new browser window, and also provides a mechanism for communication between the main application and the popped out content.
  • presenter: The Presenter library enables developers to create screen views using standard HTML templates, and then bind these to business logic that is defined within object-oriented JavaScript classes.
  • security: Provides the necessary classes for extracting current permissions from the Caplin Permission DataSource.
  • services: Provides a service pattern utility class for defining and utilising Services within BladeRunner.
  • sl4badapter: Provides classes and services for loading applications that utilise an SL4B connection.
  • sljsadapter: Provides classes and services for loading applications that utilise a StreamLink JS connection.
  • testing: The Testing library provides the JavaScript infrastructure for executing acceptance tests using the verifier test framework.
  • trading: A simple, event based messaging API for communicating domain specific trade events.
  • watchlist: Defines interfaces for watchlist services, and includes fixtures and stubs for testing and development of components using these services.
  • workbench: The workbench library provides a set of components for building workbench within a BladeRunnerJS application.

BladeRunnerJS micro libraries

BladeRunnerJS makes use of several micro libraries which have their own project documentation. Links for the various documentation can be found below.

  • Topiarist: Provides tree and shape-based type verification for JavaScript and is used for Object Oriented utilities within BRJS.
    View the source on GitHub or read the documentation.
  • Emitr: A simple event emitter used within the default EventHub.
    View the source on GitHub or read the documentation.
  • Fell: A simple logging library.
    View the source on GitHub or read the documentation.

More information on BRJS classes can be found on the BladeRunnerJS docs site.