when connecting to the Marketcetera Automated Trading Platform from an external system
The Marketcetera Automated Trading Platform makes its services available via RPC. The MATP build includes Java client JAR files that can be incorporated into a Java application to provide access to MATP services.
MATP services are available via three client APIs:
Download and build the latest source.
Each client is demonstrated in a sample application included in the downloaded source.
To see the Server Client, see samples/client-test/src/main/java/org/marketcetera/clienttest/ClientTest.java
$ cd samples/client-test $ mvn -PexecuteClient exec:java |
To run the Market Data Client and the Strategy Engine Client, first, start a local instance of the Strategy Engine:
$ cd strategyagent $ mvn -Pexecute exec:java |
To see the Market Data Client, see samples/client-test/src/main/java/org/marketcetera/clienttest/MarketDataClientTest.java
for the Market Data Client:
$ cd samples/client-test $ mvn -PexecuteMdClient exec:java |
To see the Market Data Client, see samples/client-test/src/main/java/org/marketcetera/clienttest/SaClientTest.java
for the Strategy Engine Client:
$ cd samples/client-test $ mvn -PexecuteSaClient exec:java |
Each sample client will keep running until you halt it with ^C.
After you've successfully built using Maven, you can find the complete list of necessary JARs to import into your own project in samples/client-test/target/output.
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|