-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi @sudhanshu-pantelwar ,
first of all, i would like to thank you for this wonderful library. I have a question regarding modification to support multiple markets.
Can you point where i should start to call go func() {}() ? I suppose I should embed here but got no clue how to do so. Can you help?
`var pairBook *engine.OrderBook
if val, ok := e.book[req.GetPair()]; ok {
pairBook = val
} else {
pairBook = engine.NewOrderBook()
e.book[req.GetPair()] = pairBook
}
ordersProcessed, partialOrder := pairBook.Process(order)
ordersProcessedString, err := json.Marshal(ordersProcessed)`
regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels