Caplin Trader 4 (CT4) is a complete development suite for creating HTML5 trading applications. It is built on top of Caplin’s open-source BladeRunnerJS and provides an HTML layout framework, financial display components and financial domain APIs.
Usually, a completed app will get streaming data and trade services from the Caplin Platform. Here is a typical application built using Caplin Trader.
This would be a good time to point out that if you’re looking to build a typical trading app, such as FX Sales or a corporate treasurer FX application, then you might want to look at our fully featured applications built with CT4. They are called Motifs and offer a ready-made starting point that you can deploy and then extend with your own, specific functionality.
If you would like to find out more about BladeRunnerJS, visit BladeRunnerJS.org.
Here’s the FX Trade Tile from the app above in a workbench - A web page that stubs out any services needed with handy workbench tools so you can poke your component with data and any other events that could happen to your tile.
Here’s the less exciting output from the tile tests that stub out the services with test fixtures. These fixtures verify that the FX Trade Tile is displaying the correct data for the specified input.
Blades are simply a directory on your disk, with a specified directory structure that BladeRunnerJS understands.
Services and Events
Your component may want to access data from a shared resource such as a pricing stream from the the server or get an event from another component, say for example when a global account selection has changed. The Service Registry and Event Hub are provided by BladeRunnerJS for this purpose. Caplin Trader provides additional services used when building trading applications. Your component can access the service registry to start a Trade or pop out a trade tile into another window.
Each display component conforms to a standard Component API and we employ a "layout manager" to organise the components on the screen. You can easily drop in your own or 3rd party components, such as JQuery UI by adapting to our Component API.
The example at the top of the page uses Webcentric, which takes HTML page and makes it behave more like a rich desktop application. It allows the user to completely re-organise the layout by drag/drop, resize and stacking components. This allows the user to make the most of any screen real-estate they have and only show the parts of the application they are interested in. You can, of course, use your own layout manager. If you’re after an even simpler soluiton: just drop the UI components into an HTML page.
We have a number of pre-built generic financial components that you can just add to the layout manager, configure up, and go. The grid library, for example, has been optimised for large fast-updating data sets with infinite scrolling and real-time, server-side filtering and sorting, all provided by the Caplin Platform. The Blotters in the example at the top of the page allow the user to sort and filter the blotter and have sub-second updates to the results. See here for other components.
Included with Caplin Trader are libraries that can provide real-time streaming for prices and other fast-moving data, low-latency stateful messaging for trading and real-time entitlement information to deliver a better user experience.