eu90h / mockfighter

Mockfighter is a Stockfighter clone
MIT License
15 stars 1 forks source link

market orders fail if they would clear the book #7

Closed rooklift closed 8 years ago

rooklift commented 8 years ago

Suppose the total bid depth is 100. If I put in a market order to buy 101 shares, nothing happens. It should buy the 100 shares.

eu90h commented 8 years ago

Woops sorry about that one. Fixed.