As Major League Baseball's trade deadline looms, the Arizona Diamondbacks and Pittsburgh Pirates find themselves at a critical juncture, each team balancing the prospect of postseason contention with the realities of their current standings.

The Diamondbacks, currently 55-51, are described as being on the bubble between being a buyer and a seller. Speculation has circulated for about a year regarding a potential trade of infielder Ketel Marte. However, the team's winning record could prompt them to add offensive talent, a move they have made in previous seasons.

Arizona's starting pitcher for the upcoming game is Merrill Kelly, who is 8-8 with a 5.12 ERA and a 1.48 WHIP this season. Kelly has shown slightly better performance on the road with a 4.28 ERA. He has been particularly strong in July, allowing only six earned runs over 22 innings, though he has given up a home run in each start this month. Pittsburgh hitters have a combined .202 batting average against Kelly.

The Pirates, holding a 52-50 record, are considered less likely to be active participants in the trade market. Their position slightly above .500 makes selling players seem improbable, while their offensive strength may limit the need for significant acquisitions. The team might look to upgrade its pitching staff.

Mitch Keller is slated to start for the Pirates. He holds a 6-7 record with a 4.90 ERA and a 1.31 WHIP this year. Keller has struggled at home in Pittsburgh, posting a 5.68 ERA, and has allowed at least three earned runs in each of his last six home starts. He is coming off a road outing where he pitched five scoreless innings. Diamondback hitters have a .202 batting average against Keller.

Pittsburgh Pirates starting pitcher Mitch Keller walks in the dugout after pitching in the top of the first inning of a baseball game against the Oakland Athletics in Pittsburgh, Tuesday, June 6, 2023.

Given the starting pitchers' performances and the historical data between the teams, the game is not anticipated to be a high-scoring affair. However, the recent struggles of both pitchers make predicting an under total challenging.

The analysis suggests a lean towards the Diamondbacks, citing Keller's home struggles and Kelly's relatively better road performance. Line movement also appears to favor Arizona. The prediction is for the Diamondbacks to win on the moneyline.