admin管理员组

文章数量:1558098

FIX Protocol Session Connectivity

Hi guys, in this post I would like share my experience with  financial information exchange (FIX) Connections which is essential to setup FIX connectivity for trading purposes. Financial information exchange (FIX) Connections used in both Client Connectivity and Exchange connectivity space (in case exchange supports financial information exchange (FIX) Protocol or you are connecting to any broker via FINANCIAL INFORMATION EXCHANGE (FIX) Protocol).


So whenever a new client comes on board a new  Fix Session will be needed for him who will be identified by host, port and comp ids e.g. SenderCompID and TargetCompID. Before you setup a new financial information exchange (FIX) session in your fix engine you will need to require network connectivity between client's network and your network, this usually done by network team and for security reasons some firewall rules also needs to be setup. While working on this part you may face several network connectivity issue based on what are you choosing e.g. Radianz, VPN or internet.

 

-->


Once network connection gets established you are ready to connect to client. Now client will send logon request (MessagType=A) with sequence no 1, 1 (At start of day) and with SenderCompID and TargetCompID agreed upon. On TCP layer first of all socket connection gets established in client IP and your IP and your Fix Engine listens on port specified. once your Fix Engine gets logon request its validate content and authenticity of client and if all is OK it replies with another logon request message. Now your financial information exchange (FIX) session is established and you are ready to send orders via this connection.
Some important points to remember while troubleshooting FINANCIAL INFORMATION EXCHANGE (FIX) connectivity issues:

1)      Which FINANCIAL INFORMATION EXCHANGE (FIX) Protocol versions are you using for connectivity? Both counterparties must use same version of FINANCIAL INFORMATION EXCHANGE (FIX) Protocol to establish FIX Connectivity. 2)      Are you sending Correct SenderCompID (FIX Tag 49) and TargetCompID (FIX tag 50)? CompIDs must be configured on FIX Acceptor side. 3)      Are you using correct IP and Port? 4)      Are yor FIX Engine is sending correct sequence number which brokers FIX Engine is expecting? 5)      Are you handling Resend request correctly?


Related post:

Top 20 FIX Protocol Interview Questions FIX Protocol Tutorial for beginners FIX Protocol Session or Admin messages tutorial Fix Session is not connecting how to diagnose it?
Basics of FIX Protocol and FIX Engine
Repeating groups in FIX Replaying messages in FIX protocol Difference between Session Level and Business message Reject Difference between FIX 4.2 vs FIX 4.4  Writing your own FIX Engine



Read more: http://javarevisited.blogspot/2010/12/common-issue-on-fix-connections.html#ixzz2pmr2dBwv

转载于:https://wwwblogs/jjj250/p/3510642.html

本文标签: FinancialIssuecommoninformationConnectivity