c++ - how do i run quickfix examples? -
i have installed quickfix on mac , keen understand examples come described here http://www.quickfixengine.org/quickfix/doc/html/examples.html. trouble documentation poor , gives no instructions on 1) process start first 2) how start 3 applications. know find instructions this? here configurations, when attempting run apps see "configuration failed: no sessions defined acceptor" on ordermatch side:
executor.cfg:
[default] connectiontype=acceptor reconnectinterval=5 sendercompid=* defaultapplverid=fix.5.0 [session] beginstring=fixt.1.1 targetcompid=* heartbtint=5 socketacceptport=56156 socketconnecthost=127.0.0.1 transportdatadictionary=/users/asifshaikh/downloads/quickfix/spec/fix50.xml starttime=07:00:00 endtime=23:00:00 filestorepath=store
ordermatch.cfg
[default] connectiontype=initiator reconnectinterval=5 sendercompid=sender defaultapplverid=fix.5.0 [session] beginstring=fixt.1.1 targetcompid=exec heartbtint=5 socketconnectport=56156 socketconnecthost=127.0.0.1 transportdatadictionary=/users/asifshaikh/downloads/quickfix/spec/fix50.xml starttime=07:00:00 endtime=23:00:00 filelogpath=log filestorepath=store
thanks in advance
ah! should have noticed sooner.
executor , ordermatch both server-side applications, won't talk each other, both defined acceptors. when run ordermatch, it's acceptor, it's looking acceptor entry in config (which configures initiator).
the tradeclient example app initiator. use instead either executor or ordermatch.
Comments
Post a Comment