optimze openorder