Add close price order function