fixes few several market bugs; changes cover_order to margin_order