Overview
The Order Routing System is responsible for managing sessions with external brokers and exchanges, sending orders, receiving execution reports, and maintaining order history. The Order Routing System has a JMS bus for order and execution report traffic and a web services API for order history and positions.
Running Order Routing System
The Order Routing System is a command-line application with no UI. The Order Routing System acts as the server component in the Marketcetera Automated Trading Platform stack.
Windows
On Windows, the Order Routing System is started from the Start Menu: Marketcetera->Marketcetera-2.4.0->Start Marketcetera Server Components.
03 Jan 2014 06:27:01,218 INFO [main] marketcetera.ors.OrderRoutingSystem (OrderRoutingSystem.java:357) - Copyright (c) 2006-2013 Marketcetera, Inc. 03 Jan 2014 06:27:01,245 INFO [main] marketcetera.ors.OrderRoutingSystem (OrderRoutingSystem.java:358) - ORS version '2.4.0' (build 'cc.build.335') 03 Jan 2014 06:27:01,245 INFO [main] marketcetera.ors.OrderRoutingSystem (OrderRoutingSystem.java:361) - ORS is starting 03 Jan 2014 06:27:10,930 INFO [main] marketcetera.ors.OrderRoutingSystem (OrderRoutingSystem.java:380) - ORS started successfully. Ctrl-C to exit
Linux
$ ./startServerComponents.sh nohup: redirecting stderr to stdout Starting mysqld daemon with databases from /home/colin/marketcetera/marketcetera-2.4.0/mysql/data 06 Jan 2014 10:43:02,401 INFO [main] marketcetera.ors.OrderRoutingSystem (OrderRoutingSystem.java:357) - Copyright (c) 2006-2013 Marketcetera, Inc. 06 Jan 2014 10:43:02,426 INFO [main] marketcetera.ors.OrderRoutingSystem (OrderRoutingSystem.java:358) - ORS version '2.4.0' (build 'cc.build.335') 06 Jan 2014 10:43:02,427 INFO [main] marketcetera.ors.OrderRoutingSystem (OrderRoutingSystem.java:361) - ORS is starting Jan 6, 2014 10:43:03 AM java.util.prefs.FileSystemPreferences$7 run 06 Jan 2014 10:43:12,850 INFO [main] marketcetera.ors.OrderRoutingSystem (OrderRoutingSystem.java:380) - ORS started successfully. Ctrl-C to exit
Broker and Exchange Connections
The Order Routing System maintains connections to one or more brokers and exchanges via FIX (Financial Information eXchange) sessions. It is possible to connect to non-FIX destinations with some custom configuration. Upon start, the Order Routing System attempts to establish connections to all configured order destinations. If connection is lost, Marketcetera Automated Trading Platform client applications are notified of the loss of connectivity and the Order Routing System attempts to reconnect at regular intervals.
Brokers and exchanges are identified in the Order Routing System configuration. Upon installation, the Order Routing System is already configured to connect to the Marketcetera simulated exchange. The configuration files for a broker define the FIX session settings for that broker, gateway host and port, like start of session, end of session, and FIX version. You can also define optional attributes like order modifiers and response modifiers.