The trade deadline came and went with a bang on Thursday afternoon. Teams on the fringe were forced to make a decision: Are they good enough to contend this season, or was it time to fold and prepare for the future?

Below are the trades that happened throughout July:

July 4: Oakland Athletics send P Dan Straily, P Addison Russell and OF Billy McKinney to the Chicago Cubs for P Jeff Samardzija and P Jason Hammel.

July 5: Arizona Diamondbacks send P Joe Thatcher and OF Tony Campana to the Los Angeles Angels for OF Zach Borenstein and P Joey Krehbiel.

July 6: New York Yankees send P Vidal Nuno to the Arizona Diamondbacks for P Brandon McCarthy.

July 7: Pittsburgh Pirates send OF Chris Dickerson to the Cleveland Indians for future considerations.

July 16: Texas Rangers send P Jason Frasor to the Kansas City Royals for P Spencer Patton.

July 19: Los Angeles Angels send SS Jose Rondon, SS Taylor Lindsey, P R.J. Alvarez and P Elliot Morris to the San Diego Padres for P Houston Street and P Trevor Gott.

July 22: New York Yankees send 3B Yangervis Solarte and P Rafael De Paula to the San Diego Padres for 3B Chase Headley and cash.

July 23: Detroit Tigers send P Jake Thompson and P Corey Knebel to the Texas Rangers for P Joakim Soria.

July 24: Seattle Mariners send P Stephen Pryor to the Minnesota Twins for 1B Kendrys Morales.

July 26: San Francisco Giants send P Heath Hembree and P Edwin Escobar to the Boston Red Sox for P Jake Peavy.

July 28: Chicago Cubs send 2B Darwin Barney to the Los Angeles Dodgers for a player to be named later.

July 28: Toronto Blue Jays send P Liam Hendriks and C Eric Kratz to the Kansas City Royals for infielder Danny Valencia.

July 30: Boston Red Sox send P Felix Doubront to the Chicago Cubs for a player to be named later.

July 30: St. Louis Cardinals send OF James Ramsey to the Cleveland Indians for P Justin Masterson.

July 31: Oakland Athletics send OF Yoenis Cespedes and a competitive balance pick to the Boston Red Sox for P Jon Lester, OF Jonny Gomes and cash.

July 31: Oakland Athletics send P Tommy Milone to the Minnesota Twins for OF Sam Fuld.

July 31: St. Louis Cardinals sent P Joe Kelly and OF Allen Craig to Boston Red Sox for P John Lackey.

July 31: Milwaukee Brewers send OF Mitch Haniger and P Anthony Banda to the Arizona Diamondbacks for OF Gerardo Parra.

July 31: San Diego Padres send OF Chris Denorfia to the Seattle Mariners for OF Abraham Almonte and P Stephen Kohlscheen.

July 31: Boston Red Sox send P Andrew Miller to the Baltimore Orioles for P Eduardo Rodriguez.

July 31: Cleveland Indians send SS Asdrubal Cabrera and cash to the Washington Nationals for SS Zach Walters.

July 31: Boston Red Sox send SS Stephen Drew to the New York Yankees for 3B Kelly Johnson.

July 31: Detroit Tigers trade OF Austin Jackson to the Seattle Mariners  and P Drew Smyly to the Tampa Bay Rays for P David Price. Seattle sends 2B Nick Franklin to Tampa Bay in the deal.

July 31: Arizona Diamondbacks send infielder Martin Prado to the New York Yankees.

July 31: Houston Astros send P Jarred Cosart to the Miami Marlins.

July 31: Chicago Cubs send P James Russell and 2B Emilio Bonifacio to the Atlanta Braves.