Despite a horrendous season with players and fans, the Miami Marlins approach Opening Day worth more than ever, according to Forbes.

The financial magazine on Wednesday released its annual estimates on the financials of Major League Baseball, and the Marlins recorded a 16 percent gain to be worth $520 million.

The boost came thanks to the gains that a team gets with a new stadium. But the bulk of the gain came from a rising tide generally lifting all teams. That includes a richer revenue stream from MLB’s television contracts, increasing dollars from MLB’s online ventures, and even an investment windfall from an endowment set up with proceeds from the league’s 2006 sale of the Washington Nationals, according to Forbes.

Still, last season was a money-loser for the Marlins, Forbes said.

According to Forbes, the Marlins now are ranked 26th out of 30 teams in the league in terms of franchise value. The best: the New York Yankees, with an estimated value of $2.3 billion. The worst: the Tampa Bay Rays, worth $451 million.

The Forbes list probably comes at an unwelcome time for the Marlins, who are grappling with fan ire over owner Jeffrey Loria jettisoning star players after the team’s first season in a tax-funded ballpark. According to the Forbes list, just as Loria cut more than $60 million from the payroll, his team’s value shot up about $70 million.