Hal Steinbrenner doesn’t seem to favor the idea of selling.

The Yankees owner, enthused by his team’s improved play over the last month, said he expects his club to be a factor in acquiring talent by the trade deadline.

“I believe we’re going to be right smack in the middle of it by the end of July,” he said Monday at Cipriani in Midtown Manhattan at the annual Harlem RBI “Bids for Kids” fundraising dinner. “We’ll have to see at the end of July, like we always do. We’ll take a look at everything.

“We’ll see what injuries, if any, we’ve had from here to then, and where the deficiencies are. We’ll go from there. If we stay healthy, I’ve always believed we have a chance.”

While the Yankees (34-35) are still a game under .500 and in fourth place in the AL East, 6 ¹/₂ games behind the first-place Orioles, they are 10-8 in June after going 17-13 in May.

“The last month has been promising,” Steinbrenner said. “The offense up and down the lineup is starting to produce. [Chase] Headley certainly had a rough start. He’s hitting now, and you’re starting to see other guys contribute, too. So I like what I’ve seen the last month. We just have to stay healthy.”