Getting Started with Marketcetera
- Download the installer for your platform
- Run the installer. There are a few choices, but it's OK to just accept the defaults the first time through.
Start DARE
$ cd /opt/Marketcetera-3.2.0 $ ./startServerComponents.sh $ 01 Aug 2019 09:31:18,961 INFO [main] metc.startup (:) - Launching instance 1 of 1
Verify that DARE is running.
$ tail -f dare/logs/dare-instance1.log 01 Aug 2019 09:35:12,329 INFO [main] marketcetera.core.ApplicationContainer (:) - Copyright (c) 2006-2019 Marketcetera, Inc. 01 Aug 2019 09:35:12,377 INFO [main] marketcetera.core.ApplicationContainer (:) - Marketcetera Automated Trading Platform version 3.2.0 (build 1058 17867 20190801T163512377Z) 01 Aug 2019 09:35:12,378 INFO [main] marketcetera.core.ApplicationContainer (:) - Marketcetera Automated Trading Platform is starting ... 01 Aug 2019 09:35:25,017 INFO [ClusterService-0] cluster.service.AbstractClusterService (:) - +-------------------------------------------------------------------------------------------------------------------------------+ ! ClusterData ! +-------------------------------------------------------------------------------------------------------------------------------+ ! Cluster Member UUID ! Host UUID ! Cluster Data ! Active Work Units ! +--------------------------------------+--------------------------------------+--------------+----------------------------------+ ! fa94a0a9-47d0-49ca-8af0-27d0f82985bf ! 86aee1d7-2815-4723-a64d-4f05bf927030 ! host1-1 ! [MATP.DARE-OrderRoutingSystem-1] ! +--------------------------------------+--------------------------------------+--------------+----------------------------------+ ... 01 Aug 2019 09:35:26,106 INFO [QF/J Session dispatcher: FIXT.1.1:dare-colin@marketcetera.com->MRKTC-EXCH] metc.brokers (:) - +------------+-----------+ ! Brokers ! host1-1 ! +------------+-----------+ ! exsim-dare ! available ! +------------+-----------+ 01 Aug 2019 09:35:26,106 INFO [QF/J Session dispatcher: FIXT.1.1:dare-colin@marketcetera.com->MRKTC-EXCH] marketcetera.ors.QuickFIXApplication (:) - Sending logon status 'true' for broker 'ID 'exsim-dare'; name 'Cloud Simulated Exchange'; session 'FIXT.1.1:dare-colin@marketcetera.com->MRKTC-EXCH'' from QuickFIX/J application 01 Aug 2019 09:35:26,112 INFO [OrderMessageProcessingQueue-FIXT.1.1:dare-colin@marketcetera.com->MRKTC-EXCH - FIXT.1.1:dare-colin@marketcetera.com->MRKTC-EXCH] marketcetera.ors.QuickFIXApplication (:) - Sending reply 'FIX Response:{BrokerID=exsim-dare,Originator=Broker,Hierarchy=Flat,FIX Message=8=FIXT.1.19=9935=A34=149=MRKTC-EXCH52=20190801-16:35:26.09356=dare-colin@marketcetera.com98=0108=301137=910=250,ActorUserID=null,ViewerUserID=null}' from QuickFIX/J application 01 Aug 2019 09:35:34,031 INFO [pool-11-thread-1] marketcetera.core.SystemInformationLogger (:) - +-------------------------+ ! Ports in Use ! +-------------------------+ ! Port ! Description ! +------+------------------+ ! 9000 ! DARE Web Service ! +------+------------------+ ! 9100 ! DARE RPC Service ! +------+------------------+ ! 9500 ! STOMP Service ! +------+------------------+ ! 9600 ! DARE JMS Service ! +------+------------------+ ! 9900 ! JMS JMX Service ! +------+------------------+
Start the Strategy Engine. By default, the Strategy Engine is configured to connect to DARE running on the same host.
$ cd strategyengine $ bin/strategyengine.sh 01 Aug 2019 09:35:32,165 INFO [main] marketcetera.core.ApplicationContainer (:) - Copyright (c) 2006-2019 Marketcetera, Inc. 01 Aug 2019 09:35:32,212 INFO [main] marketcetera.core.ApplicationContainer (:) - Marketcetera Automated Trading Platform version 3.2.0 (build 1058 17867 20190801T163532212Z) 01 Aug 2019 09:35:32,212 INFO [main] marketcetera.core.ApplicationContainer (:) - Marketcetera Automated Trading Platform is starting Aug 01, 2019 9:35:33 AM java.util.prefs.FileSystemPreferences$6 run WARNING: Prefs file removed in background /etc/.java/.systemPrefs/prefs.xml 01 Aug 2019 09:35:33,163 INFO [main] marketcetera.strategyagent.JarClassLoader (:) - Initializing module jars loader with module directory 'org.marketcetera.strategyagent.StaticStrategyAgentApplicationInfoProvider@4d178d55'. 01 Aug 2019 09:35:33,163 INFO [main] marketcetera.strategyagent.JarClassLoader (:) - Adding URL 'file:/opt/Marketcetera-3.2.0/strategyengine/modules/conf/' to the module jar loader. 01 Aug 2019 09:35:33,196 INFO [main] marketcetera.strategyagent.StrategyAgent (:) - Strategy Engine version '3.2.0' (build 1058 17867 20190801T163532212Z) ... 01 Aug 2019 09:35:39,964 INFO [main] util.rpc.RpcServer (:) - Starting MATP Marketdata RPC Service 01 Aug 2019 09:35:39,971 INFO [main] util.rpc.RpcServer (:) - Starting MATP Strategy Engine RPC Service 01 Aug 2019 09:35:40,275 INFO [main] eventbus.guava.GuavaEventBusService (:) - Starting Guava Event Bus Service 01 Aug 2019 09:35:40,299 INFO [main] marketcetera.core.ApplicationContainer (:) - Marketcetera Automated Trading Platform started successfully. Ctrl-C to exit
Start Photon, the user interface component. You'll be prompted to log in. User trader/trader as your login credentials.
$ cd /opt/Marketcetera-3.1.0/photon/ $ ./photon &