Market bid clearing and market price calculation + crappy test