Michal Kordas
Michal Kordas

Reputation: 10925

Initator and acceptor logout order in Quickfix

When I have a FIX session between acceptor and initiator which side in general should be sending logout message first?

Also, is it fine to set session times on acceptor and initiator side to the same hours? Or maybe initiator should be configured for the shorter period to keep the communication safe and clear from errors?

Upvotes: 0

Views: 862

Answers (1)

Amit Bhati
Amit Bhati

Reputation: 5649

Based on real project experience,

  • The connection was post trade feed, where our post trade gateways used to connect with ECN (Electronic communication networks) like Bloomberg, Tradeweb etc.
  • The ECN used to act as Acceptor and our gateways used to act as initiator.
  • As initiator, its our gateways responsibility to initiate the connection with ECN by sending LOGON message.
  • The gateways used to send LOGON and LOGOUT half an hour before/After the markets open & closes respectively.

But in case there is some problem/error, even ECN used to send a LOGOUT message.

So, there is no hard and fast rule, who should send LOGOUT message.

Upvotes: 1

Related Questions