Closed JohnGreenan closed 9 months ago
Linked to kill-switch. Connection drops, so fire the kill switch for the connection.
Same comment about collection of orders from a counterparty. Collection of OrderIds rather than the actual order.
Implement a mass-cancel interface?
Implemented in https://github.com/AlignmentSystems/MatchingEngine/pull/38 #38
This is something a proper matching engine must have. The challenge is to implement the logic at a scale that fits the use-case – consider the logic in an institutional equity exchange versus an institutional options exchange. The throughput requirement is quite different in each case. Do you “spoof” incoming FIX cancel messages or iterate through an orderbook in-memory and remove affected messages?