Setting up the Trading Platform

This course assumes that you have completed the first Caplin Platform course and still have the development environment for that course available. If you have not completed the first Caplin Platform course, follow the instructions on this page to set up a Caplin Platform development environment and install the adapters created in the first Caplin Platform course.

Follow the steps below:

  1. Set up your development environment.
  2. Download the Deployment Framework and use cygwin to unzip it to your hard drive.
  3. Deactivate the OpenPermissioning blade by running the following command in the extracted directory:

    ./dfw deactivate OpenPermissioning
  4. Download Liberator, Transformer, Refiner Service, Permissioning Service and the CMC to the Deployment Framework's kits directory. Deploy these components in the Deployment Framework:

    ./dfw deploy
  5. Activate the LiberatorJMX and TransformerJMX blades:

    ./dfw activate LiberatorJMX TransformerJMX
  6. Implement, export and deploy a Pricing Integration Adapter.
  7. Implement, export and deploy a Trading Integration Adapter.
  8. Implement, export and deploy a Permissioning Integration Adapter.
  9. Configure the CMC:

    ./dfw mon
  10. Start the CMC:

    ./dfw cmc
  11. Start the Caplin Platform:

    ./dfw start
  12. Start the mock pricing and trading server.

When you start up all the components (Liberator, Transformer and the 3 Integration Adapters) you should see each of these become connected in the CMC. You will be able to use Liberator Explorer to subscribe to FX prices as the admin user, or the trading test client page to subscribe as any user and to request FX prices and trade on FX currency pairs.