Architectural Overview

An overview of the Caplin stack and its typical deployment.

The Caplin stack

The FX Professional Motif 2 front-end and back-end systems are powered by Caplin Trader 4 and Caplin Platform technology. The Caplin Integration Suite (CIS) and the FX integration API layers provide powerful connectivity tools for integrating the FX Professional Motif 2 with your existing systems. Here is how the end-to-end technology stacks up:

Motif Architecture professional2

Presentation layer

The FX Professional Motif 2 front-end system delivers an advanced browser-based web trading application that is built entirely using HTML5, CSS and JavaScript. The application implements many of the tools, libraries and components available with Caplin Trader, and utilises a modular framework comprised of components known as blades.

A blade encapsulates a slice of business functionality. An assortment of blades and associated libraries are grouped into Motifs; in the case of the FX Professional Motif 2, an assortment is grouped to address the requirements of professional traders performing FX execution. Each blade is designed to facilitate the underlying functions and protocols associated with the slice of business functionality, such as providing the interaction controllers, GUI/ UX and workflow. As an example, the FX Professional Motif 2 includes blades that allow users to perform one-click trading on an executable streaming FX rate using quick trade tiles:

ESPTile blade

Here, a quick trade tile blade provides users with a set of functionality that includes facilities for: editing currency pairs and amounts, launching RFS trade tickets, or switching the trade type with calendar controls for specifying tenors in the case of forwards and swaps. Under the hood, a blade will efficiently handle all the resources required for implementing the particular slice of functionality (JavaScript, CSS, XML, HTML, Images). Blades are fully customisable and extensible and are also used to implement: Block Trading, Notifications mechanism, Trade blotters, Post-trade allocations and more. See here for further reading on blades.

This framework of blades is run and managed by BladeRunnerJS, which is a development toolkit and framework that you can use to construct enterprise-scale HTML5 web apps. It can be used to build, test and maintain each blade separately. It provides you with an internationalisation and localisation framework along with a Workbench facility that allows you to view and modify individual blades, so that you can develop and debug each blade in isolation from the rest of your web application.

Workbenches provide a development environment where you can run blades in a standalone web-page using a Jetty development web server. From here you can make quick modifications and see the effects by refreshing your build. You can then run tests at a fine-grained level e.g. all app tests or just unit tests belonging to a blade before exporting your web app from the BladeRunner development environment, to your production environment.

Export your app to run in production by creating a WAR file (Web Application Archive) that can be deployed on to a standard application server like JBoss or WebSphere. Once you deploy your war - your web app will then work in the same way as it did in the development environment. For more information, visit the BladeRunnerJS website.

Webcentric is supplied as part of Caplin Trader, a dynamic layout management tool that delivers a dynamic drag and drop GUI. It provides automatic optimisation in the browser view, using all available screen space for content and enables users to create custom layouts for components in the FX Professional Motif 2 web application.

The FX Professional Motif 2 now has pop-out support. You can view various trading components from the Motif web application in separate, pop-out windows. Support is available for: ESP tiles, trade blotters, forward/swap ladders and much more. You can even pop-out workbenches too, see the Popouts component page for more detailed information.

Distribution and Web trading services layer

These layers represent the back-end systems for the FX Professional Motif 2. Here, Caplin Platform technology is utilised to handle trading, and stream financial data and messages over the internet to the Presentation Layer using Liberator and StreamLink. The back-end components provided by the Caplin Platform include Transformer - a high-speed data transformation engine for filtering and managing data streamed from external FX pricing systems, as well as components to handle streaming, permissioning and user-authentication.

Integration layer

The FX Integration API along with the Caplin Integration Suite provide a rich set of connectivity tools and APIs for easily creating adapters that integrate the FX Professional Motif 2 with your existing back-end systems. Caplin offers standard trading adapters for Refinitiv Electronic Trading - Automated Dealing™ (RET-AD).

Deployment Architecture

The following diagram represents a typical deployment architecture for the FX Professional Motif 2 and internal banking systems:

Motif Network Diagram

Of course deployment topologies vary in complexity, and the FX Professional Motif 2 is equipped with the versatility for deployment into any type of banking system structure.