almost done - orders are generated but not properly consumed by  marketsim - need review!