[Quickfix-developers] Network disconnect recovery testing
Brought to you by:
orenmnero
From: <daw...@ya...> - 2017-04-13 14:38:00
|
Hi Guys, I've been doing some recovery testing and I have a couple of questions. Firstly, my setup is pretty simple - my trading application (initiator) and sell-side simulator (acceptor) are set up on two different networked machines, both are quickfix apps. Here's what I'm doing:- 1. Establish a connection between initiator and acceptor. 2. Send some orders and ack them on the acceptor side. 2. Break the network connection on the initiator side. 3. Send some more orders from the initiator. 4. Fill existing orders on acceptor side. 5. Reconnect the initiator to the network. At this point quickfix handles the reconnect and all the executions flow back to the initiator. However the new orders I sent from the initiator during the downtime are not resent to the executor [they are gap filled instead]. Is this the correct behaviour? Actually this is exactly the behaviour I want but I thought quickfix would resend them. So that's my first question. My second question is what is the best way to determine a connection problem before sending any order? Thanks! Dermot |