By Sam Bush

The Phillies are 47-43, in third place in NL East, 6 1/2 games behind the Atlanta Braves.

That’s good enough for the second wild card in NL East.

So with the trade deadline approaching on July 31 they have to decide now whether to sell players and shoot for next year or buy a piece or two for the playoffs push now.

The Phillies committed big bucks over the offseason:

Bryce Harper ($330 million), Jean Segura ($58 million), Andrew McCutchen ($50 million), Aaron Nola ($45 milllion), David Robertson ($23 million), Juan Nicasio ($9 million) and J.T. Realmuto ($5.9 million).

Then they got Jay Bruce in June, paying him $2.75 million.

Even though the Phils have not played well since late May, they remain in the hunt for their first postseason berth since 2011. There are expectations, from the fan base and from the players in the clubhouse, to make changes.

The Phillies are not pitching anywhere near as well as last season. Their strikeout rate (21.7 percent) as a staff is second lowest in the NL, and their strikeout-to-walk rate (13.1 percent) is 12th. They are averaging 1.72 home runs per nine innings, which is easily the highest mark in the NL. The Rockies are second in the league, averaging 1.47 home runs per nine innings. The league is averaging 1.33 home runs per nine innings.

Last season, the Phillies ranked second in strikeout rate (23.9 percent), second in strikeout-to-walk rate (15.7 percent) and 11th in homers per nine innings (1.06).

The Phillies could use some help offensively, too. They are in a unique position because of Scott Kingery’s defensive versatility. He can play center field, where he is becoming more and more comfortable, and third base. If the Phils could find a center fielder or a third baseman, they could move Kingery to the other position to round out the lineup.

The Phillies’ farm system is not regarded as highly as it has been in the past, which might make it difficult for them to outbid another team for the player it wants. The Phillies have two players in MLB Pipeline’s Top 100 Prospects list. One is Double-A Reading right-hander Adonis Medina, who has not pitched as expected (his strikeouts are down and his walks are up). Double-A third baseman Alec Bohm also is in the top 100, but it is difficult to see the Phils trading him unless they get an impact arm under team control through at least the 2020 season. He could be their everyday third baseman as early as next season.

One name to watch is Triple-A outfielder Nick Williams (above). He is blocked in left field by Bruce and in right field by Harper.