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:
-
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>
-
Deactivate the OpenPermissioning blade by running the following command in the extracted directory:
./dfw deactivate OpenPermissioning
-
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
-
Activate the LiberatorJMX and TransformerJMX blades:
./dfw activate LiberatorJMX TransformerJMX
-
Implement, export and deploy a Permissioning Integration Adapter.
-
Configure the CMC:
./dfw mon
-
Start the CMC:
./dfw cmc
-
Start the Caplin Platform:
./dfw start
-
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.