Utils; some fixes. TODO: restructure quotations and orders, think about inverted pairs.