This page will show you how to begin connecting the Adapters to data streamed from RET. You will learn about enabling live RET data capture for all the Adapters by configuring the TrAPI connection properties.
The usernames for the connections are examples and each user may only connect once. You will need to ensure that each environment has its own users set up.
Before you begin...
- Your SCS Relay details including host, port and other configuration details
- TrAPI configuration with connections, users, accounts, etc
- TrAPI and LBN licenses
- RET Applets (Admin, Trader, Order Watch) with login users
To enable live Calendar data, replace the contents of global_config/overrides/CalendarAdapter/etc/trapi-connection.properties with
[common] host=<SCSRelay Host> port=<SCSRelay Port> [CalendarConnection] username=sdp1.ptrader password=
To enable live Execution Blotter and Historic Blotter data, edit the contents of global_config/overrides/LBNAdapter/etc/trapi-connection.properties
[common] host=<SCSRelay Host> port=<SCSRelay Port> [LBNConnection1] username=sdp1.lbn password= order_type=LBN [AdminConnection] username=sdp1.admin password= order_type=admin
To enable live pricing data, edit the contents of global_config/overrides/PricingAdapter/etc/trapi-connection.properties
[common] host=<SCSRelay Host> port=<SCSRelay Port> [RatesConnection] username=sdp2.ptrader password= [AdminConnection] username=sdp2.admin password= order_type=admin
To enable live trading, edit the contents of global_config/overrides/FxTradingAdapter/etc/trapi-connection.properties
[common] host=<SCSRelay Host> port=<SCSRelay Port> [TradingConnection1] username=sdp3.ptrader password= [AdminConnection] username=sdp3.admin password= order_type=admin
To enable the retrieval of One-Click permissions, edit the contents of global_config/overrides/PermissioningAdapter/etc/trapi-connection.properties
[common] host=<SCSRelay Host> port=<SCSRelay Port> [AdminConnection] username=sdp4.admin password= order_type=admin
To enable global_config/overrides/LimitOrderAdapter/etc/trapi-connection.properties
[common] host=<SCSRelay Host> port=<SCSRelay Port> [TradingConnection1] username=sdp5.ptrader password= order_type=limit_trading [MonitorConnection] username=sdp5.lomsProxy password= order_type=limit_monitor [AdminConnection] username=sdp5.admin password= order_type=admin
Now open Cygwin (if using Windows) or your command line tool and navigate to the Deployment Framework’s top-most directory. Enter the following command:
You can check whether the services are all up by going to http://<Liberator>:18080 in your browser and viewing the Status page with the credentials un: admin pw: admin. Everything here should be green.
If it is not possible to view this page, then it is possible there is a problem with the Permissioning Adapter or the Liberator. You should check the logs for any issues, starting with the active_blades/PermissioningAdapter/DataSource/var/java.log to ensure that the Permissioning Adapter started successfully.
You should be able to hook up your front end now and see live data being provided.
Now go to Configuring your Adapters