Author |
Topic: FAST Server connection (12 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
Hi, I can't connect to the FAST server (error message in my logs is "Pending connection not established after 11004 ms"). I'm using the following connection values:
[DEFAULT]# Settings which apply to all the Sessions. FileStorePath=C:\Work\sessioninfo\FAST ConnectionType=initiator SenderCompID=MHall4001 TargetCompID=OEC_TEST ReconnectInterval=5 LogonTimeout=30 ResetOnLogon=Y FileLogPath=C:\Work\logs\FAST [SESSION]# Settings specifically for one session BeginString=FIX.4.4 SocketConnectHost=api.openecry.com SocketConnectPort=9304 Username=MHall4001 StartDay=sunday EndDay=friday StartTime=00:00:00 EndTime=00:00:00 HeartBtInt=30 UseDataDictionary=Y DataDictionary=C:\Work\datadictionary\FIX44.xml Any ideas why the connection is not accepted? (I have no problems connecting to the FIX Order Server). Michael Hall |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hi. It looks like you are trying to connect to FAST server with FIX client.
Victor Vins Lead Software Developer |
||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
Yes I was. So I presume I need to start a TCP session then send the Hello handshake and then Logon with the FIX message on p41 of your OECFIXAPI.
Is that correct? Is the TCP connection multicast? If so what group name should use? Thanks. Michael Hall |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
We have two separate servers: FIX for trading and FAST for data feed. First, you need to connect to FIX and perform logon procedure. Logon response from us will contain a hash code that you need to use in FAST session instead of password. After that you need to connect to FAST server starting with Hello handshake.
TCP connection is not a multicast. All what you need to do is to connect to specified host/port. Victor Vins Lead Software Developer |
||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
I can login to the FIX for trading server and I get the hash code.
Do you have a template definition of what you expect the Hello template to be? The OEC API doc has the other templates defined but not the Hello template. BTW the XML Namespace in the template definitions xmlns=http://www.fixprotocol.org/ns/fast/td/1.1 is not longer valid. Michael Hall |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello message is a part of FAST Session Control Protocol 1.1. If you will use some platform like OpenFAST, it can happen that this part of protocol is already implemented inside.
Victor Vins Lead Software Developer |
||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
Yes, I’m using openFAST version 1.1.2 and it doesn’t have a definition of the Hello template in the template definition file. Do you have it?
Michael Hall |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
If you are using OpenFAST, you don't need Hello template in your registry: native implementation of ISessionProtocol handles it.
Victor Vins Lead Software Developer |
||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
After logging onto the FAST server I get Logged out with the message below:
Hello -> {16002, OEC FAST Prices, http://OpenFAST.org/OpenFAST/1.1} Logout -> {61, 5, 20131106120316, SoftwareNotPermitted} Solution ? Michael Hall |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
You need to contact Customer Service to get UUID and have this UUID enabled for your user.
Victor Vins Lead Software Developer |
||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
OK will do.
FYI the FIX api doc says (p5) "UUID(12003) It should be populated with a unique application identifier provided by Customer Service. Optional." Also when I set up the account, customer service said "A UUID is not needed for FIX access." Thanks for your help. Almost there! Michael Hall |
||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
I was able to get market data from the FAST server today. Thank you for help and answering my questions promptly.
BTW the OEC FIX API doc has an inconsistency on p44: NoMDEntryTypes is shown as having a tag ID of 267 when it should be 268 (according to the XML definition and which is what the server returns). Michael Hall |
||||