The Yankees' pursuit of Athletics starter Sonny Gray spilled into the waning hours, as officials for both teams tried to decide if they're ready to make the compromises needed to bring a trade to fruition before Monday's 4 p.m. deadline.

The teams are "close enough to get over the hump," a source said. But Oakland executive VP Billy Beane has given indications he's prepared to hang onto Gray, who isn't eligible for free agency until 2019. Yankees GM Brian Cashman has thus far been resistant to giving up the prospect package the A's are seeking for Gray.