Imported from previous forum
The FIX Protocol says that the Heartbeat interval is declared by the session initiator using the heartBtInt field in Logon Message. Should the acceptor always set it’s heartbeat inerval to the one that the initiator sent? What if the acceptor acknowledges to the Logon message, with a different heartbeat interval, does the FIX Server need to maintain 2 heartbeat intervals, one for outgoing messages, and one for incoming, or should the heartbeat interval between the initiator & acceptor be synchronized ??
[ original email was from albert schindler - ctci@interactivebrokers.com ]
> The FIX Protocol says that the Heartbeat interval is declared by the session initiator using the heartBtInt field in Logon Message. Should the acceptor always set it’s heartbeat inerval to the one that the initiator sent? What if the acceptor acknowledges to the Logon message, with a different heartbeat interval, does the FIX Server need to maintain 2 heartbeat intervals, one for outgoing messages, and one for incoming, or should the heartbeat interval between the initiator & acceptor be synchronized ??
>In answer to your question regarding - If the acceptor should set or you might say “Honor” the heartbeat interval- Yes, the acceptor should set it’s own heartbeat interval to the initiator’s value.
And usually the acceptor will not acknowledge with a different interval, thus the FIX interface does not need to maintain two different heartbeat interval values.
[ original email was from Brian Northey - bnorthey@capital-mkts.com ]
> > The FIX Protocol says that the Heartbeat interval is declared by the session initiator using the heartBtInt field in Logon Message. Should the acceptor always set it’s heartbeat inerval to the one that the initiator sent? What if the acceptor acknowledges to the Logon message, with a different heartbeat interval, does the FIX Server need to maintain 2 heartbeat intervals, one for outgoing messages, and one for incoming, or should the heartbeat interval between the initiator & acceptor be synchronized ??
> >In answer to your question regarding - If the acceptor should set or you might say “Honor” the heartbeat interval- Yes, the acceptor should set it’s own heartbeat interval to the initiator’s value.
> And usually the acceptor will not acknowledge with a different interval, thus the FIX interface does not need to maintain two different heartbeat interval values.
> Although it is not the norm, I have encountered acceptors that acknowledge with a different interval. The initiator should be prepared to acccept a different interval than the one sent in the logon.