Open centny opened 3 years ago
Message that will be displayed on users' first issue
the code is panic when parralel running in server.go
var pairBook *engine.OrderBook
if val, ok := e.book[req.GetPair()]; ok {
pairBook = val
} else {
pairBook = engine.NewOrderBook()
e.book[req.GetPair()] = pairBook
}
@centny order matching for every one pair currency or stock share should running in one goroutine/thread
@centny order matching for every one pair currency or stock share should running in one goroutine/thread
Hi @roman-wb ,
can you be more specific? would you share the code?
regards
@ianeinser : you can check the following link to test the engine: https://github.com/Pantelwar/matching-engine/issues/13#issuecomment-882188281
Also there are test files associated with each order type.
Will update the README soon.