Update on "Bitshares Taker Orders Working as Expected"
GitHub / bitshares-core Issue #342: Rounding issue when matching orders
The goal is that fills should match as closely as possible to the actual price of each order matched on the book, and for a total size that does not exceed the quantity requested for a particular buy/sell pair, as illustrated below (I wanted 1 whalehole, why'd I get 10?!):
This solution attempts to address both these issues over multiple orders sitting on the book.