Closed avatar-92 closed 3 years ago
AddOrder
, CancelOrder
and CancelExpiredOrder
are not thread safe and must be called sequentially.
Is the matcher ready for a production environment? Do you use it in your projects?
@avatar-92 I don't have any projects related to exchange/matching engine, so we are not using it. I have not found any bug at the moment. Feel free to raise issue if you find any.
Code in this repository is distributed under MIT license. Please read the license at MIT license
I found MatchingEngineTests. Will see it for clearify,
Is it correct to execute AddOrder from multiple threads in parallel or I should use locks for single thread work (execute AddOrder successively)?