Imported from previous forum
Does the FIX specification specify whether the Initiator or Acceptor sends heartbeat messages? If both do, how is it possible to tell if a received Heartbeat is a response to one sent to the other side, or if it originated at the other end?
Both sides send heartbeats……
both sides also “expect” to receive heartbeats. If they are missed then a test request is sent to force a heartbeat. If there is still no response then the sender of the test-request will log out and disconnect.
You can find a more detailed explanation in the specs on the site…
cheers
Does the FIX specification specify whether the Initiator or Acceptor
sends heartbeat messages? If both do, how is it possible to tell if a
received Heartbeat is a response to one sent to the other side, or if it
originated at the other end?
[ original email was from James Bywater - jb@cameronsystems.com ]
> > Does the FIX specification specify whether the Initiator or Acceptor
sends heartbeat messages? If both do, how is it possible to tell if a
received Heartbeat is a response to one sent to the other side, or if
it originated at the other end?
I should add that there is no “response” to a heartbeat, although it often looks that way because both parties have the same heartbeat interval, and therefore sometimes send the heartbeats at approximately the same time.
James
I should add that there is no “response” to a heartbeat, although it
often looks that way because both parties have the same heartbeat
interval, and therefore sometimes send the heartbeats at approximately
the same time.
Thanks James. That’s what I needed. I incorrectly assumed that my client should respond to Heartbeat messages from the server.
Cheers,
Richard