move isValidOpenOrder from OrderProvider to OrderManager