Topics
Replies
mattshome
14 Apr 2017, 19:30
This is not an answer but a tool to help you decode fix messages. You have to change how you're copying the msg to have a different delimiter, the | works
http://fixdecoder.com/fix_decoder.html
@mattshome
mattshome
08 Apr 2017, 13:54
Are there additional benefits to starting two quickfix instances? Seems threading would be more difficult, but it would be easier to shut down the data connection.
I did find that adding SessionQualifier makes the sessions unique.
[SESSION] BeginString=FIX.4.4 SenderCompID=fxpig.xxx SenderSubID=xxxx TargetCompID=cServer PosMaintRptID=N SocketConnectHost=h23.p.ctrader.com Password=xxxx SocketConnectPort=5201 TargetSubID=QUOTE SessionQualifier=fxpigQuote
@mattshome
mattshome
06 Apr 2017, 23:25
RE:
I really wish I could update past posts. My solution doesn't work as I mistakenly changed the TargetCompID = TRADE which makes it unique, and worthless.
@mattshome
mattshome
06 Apr 2017, 22:29
I think the cleaner solution would be to have 1 connection and use different ports for trade and quote, however what is working for me as of now is changing the SenderSubID. This is enough to create unique sessions and avoid the duplicate sessions error.
I will then have to track which data sessions go w/ each trade session.
# icMarkets demo trade # [SESSION] BeginString=FIX.4.4 SenderCompID=icmarkets.xxxx SenderSubID=trade TargetCompID=TRADE PosMaintRptID=N SocketConnectHost=h43.p.ctrader.com Password=xxxx SocketConnectPort=5202 TargetSubID=TRADE # icMarkets demo data [SESSION] BeginString=FIX.4.4 SenderCompID=icmarkets.xxxx SenderSubID=quote TargetCompID=cServer PosMaintRptID=N SocketConnectHost=h43.p.ctrader.com Password=xxxx SocketConnectPort=5201 TargetSubID=QUOTE
@mattshome
mattshome
19 Apr 2017, 17:12
Thanks for the tips. I had forgotten about the log files stored in the log directory.
@mattshome