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. Download the Deployment Framework and use the unzip command in a Bash shell (Cygwin or Git Bash on Windows) to unzip it to your hard drive.

    $ unzip -qoa <filename>
  2. Deactivate the OpenPermissioning blade by running the following command in the extracted directory:

    ./dfw deactivate OpenPermissioning
  3. 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
  4. Activate the LiberatorJMX and TransformerJMX blades:

    ./dfw activate LiberatorJMX TransformerJMX
  5. Implement, export and deploy a Pricing Integration Adapter.

  6. Implement, export and deploy a Trading Integration Adapter.

  7. Implement, export and deploy a Permissioning Integration Adapter.

  8. Configure the CMC:

    ./dfw mon
  9. Start the CMC:

    ./dfw cmc
  10. Start the Caplin Platform:

    ./dfw start
  11. 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.