pending and closed orders