sneilan / stock-exchange

Personal stock exchange on your laptop!
Other
39 stars 7 forks source link

Refactor order_book.cpp #23

Open sneilan opened 10 months ago

sneilan commented 10 months ago

The code for handling bid and ask is very similar. There's a gang of four pattern that would help merge the logic for handling bid and ask.