It’s trade deadline week in Major League Baseball, and that means endless deliberation over which teams should buy talent to mount a postseason charge, and which should sell their stars with an eye to the future.

To help with that calculus last year, my colleague Nate Silver and I developed what we called the “Doyle Number.” At the trade deadline, a team’s Doyle Number is simply the rate at which it should be willing to trade talent in the future for talent in the current season in order to maximize the franchise’s total World Series wins. (It’s named for the Detroit Tigers’ 1987 trade that sent pitching prospect — and future Hall of Famer — John Smoltz to the Atlanta Braves for veteran Doyle Alexander, one of the most infamous examples in trading history of giving up long-term value for a short-term gain.)

A Doyle Number above 1.00 means the team is a buyer — it should be willing to give up more wins of talent in the future than it’s getting in the present, because a shot at the World Series this season is too good to pass up. (The Cubs, for example, have an MLB-leading Doyle of 2.01, meaning they should be willing to give up double the future wins for each win of talent they acquire in 2016.) Conversely, a Doyle Number under 1.00 means the team should probably be selling; current-season talent becomes less and less important the further a team is from the playoff picture. A Doyle of zero, reserved for hopeless playoff causes, essentially means there’s no amount of current-season talent that would make giving up a future win worth it. (You can read about how we calculate Doyle Numbers in more detail here.)

It’s important to note that our model simplifies the way deadline trades work. For instance, on the short-term side of the talent trade-off, Doyle is looking at the current season only — think of “rental players” in a walk year, rather than those who might stick with the club long-term. Deadline deals usually center around free-agents-to-be, which is why players like Jonathan Lucroy and Josh Reddick will probably be on the move this week — but they don’t always, so it’s something to keep in mind if your team makes a move that runs counter to its Doyle Number.

Here are the Doyle Numbers for all of this year’s teams, as of Monday morning:

TEAM DOYLE WINS LOSSES TALENT/162 GAMES DIVISION SERIES ODDS Cubs 2.01 59 38 94.6 wins 89.2% Nationals 2.00 58 41 94.8 76.0 Dodgers 1.74 56 44 93.5 49.3 Indians 1.57 56 41 87.2 74.4 Giants 1.54 58 40 86.0 77.8 Red Sox 1.49 55 41 90.1 49.4 Astros 1.18 54 44 87.8 41.0 Rangers 0.99 57 42 79.1 68.9 Orioles 0.95 57 40 79.4 64.4 Blue Jays 0.95 55 44 86.0 36.0 Mets 0.89 52 45 87.5 28.5 Cardinals 0.87 52 46 88.9 23.7 Marlins 0.82 53 45 85.1 33.1 Pirates 0.48 51 47 85.2 17.1 Tigers 0.35 51 48 81.2 18.8 White Sox 0.30 48 50 81.5 15.8 Mariners 0.30 50 48 83.6 12.4 Yankees 0.15 50 48 79.4 9.7 Royals 0.08 48 49 75.8 7.7 Rockies 0.04 47 51 75.5 3.8 Athletics 0.02 45 54 78.1 1.1 Angels 0.01 43 55 77.3 0.4 Phillies 0.00 45 55 65.6 0.9 Padres 0.00 43 56 70.6 0.3 Diamondbacks 0.00 41 57 77.8 0.1 Brewers 0.00 41 55 72.4 0.2 Rays 0.00 38 60 80.0 0.0 Twins 0.00 37 61 75.8 0.0 Reds 0.00 38 60 65.4 0.0 Braves 0.00 33 66 64.6 0.0 Who should be buying and selling at the trade deadline? Division Series odds are measured using FanGraphs’ “coin-flip” method. Source: FanGraphs.com

For those curious, the average Doyle Number across MLB is currently 0.62, well below the buy/sell cutoff of 1.00. That’s because our method is focused on winning the championship, which relatively few teams are in the hunt to do; it’s also a particularly top-heavy year in baseball. The implication is that most teams should stand pat, but there are some interesting exceptions — more on them later.

Also, it may seem counterintuitive for already great teams such as the Cubs and Nationals to rank so highly in Doyle, since the common archetype of a trade-deadline buyer is a team teetering on the edge of a playoff berth, desperately in need of an extra boost to join the postseason party. But as Nate and I found last year, that’s a bit of a misconception. If all we cared about was making the playoffs, then the model would indeed emphasize teams on the brink of contention. But since we’re focused on the rings, it’s more important for a top team to load up on firepower in preparation for a near-certain playoff bid than for a middling team to sneak into the postseason. Baseball’s playoffs are incredibly random, but adding more and more talent can help overcome that — long past the point at which it reaches diminishing returns in helping lock down a playoff spot.

Of course, that doesn’t mean we should focus exclusively on the World Series front-runners this week. In fact, some of Doyle’s most interesting deadline inflection points belong to teams on the edge of the playoffs.

A team’s basic Doyle Number is just a starting point — the rate at which a club should be willing to accept or trade away talent can also change depending on how much talent is on the table. For teams caught between buying and selling at the deadline, this can create a U-shaped curve in their expected-championships function: they could ask for more future wins in exchange for giving away talent now, or they could just as easily be willing to give up more future talent in exchange for victories in the present.

The following seven clubs have a pronounced U-shape to their expected championship curve, depending on whether they buy or sell in the next week-plus:

FUTURE PAYMENT (IN WINS) FOR WINS SOLD FUTURE COST (IN WINS) FOR WINS BOUGHT TEAM DOYLE EIGHT FIVE TWO TWO FIVE EIGHT Astros 1.18 10.5 5.6 1.9 2.6 7.8 14.8 Rangers 0.99 13.0 6.8 2.3 2.2 6.8 13.3 Orioles 0.95 13.7 7.1 2.4 2.2 6.6 12.9 Blue Jays 0.95 13.5 7.1 2.4 2.1 6.4 12.5 Mets 0.89 14.4 7.6 2.5 2.0 6.0 11.7 Cardinals 0.87 14.7 7.8 2.6 2.0 5.9 11.4 Marlins 0.82 15.9 8.3 2.8 1.9 5.7 11.1 Decisions, decisions… Source: FanGraphs.com

For teams like these, doing something — in either direction — is better than doing nothing. Standing pat means reaping neither the long-term benefit of selling nor the immediate dividends of buying. But knowing you have to make a move is the easy part; figuring out the best move, given both your own roster and the composition of the trade market, is a far more difficult task facing each team’s general manager this week.

It’s no coincidence that many of these cases involve teams whose division-series odds are mismatched with the talent on their rosters. For instance, the Marlins are one of baseball’s biggest surprise playoff contenders, and although they merely rate as an average team by our Elo rankings — typically the profile of the deadline seller — they’ve mostly been linked to rumors as a buyer this month. By contrast, the Astros, Cardinals, Mets and Blue Jays rank among MLB’s most talented teams, but they’re all in wild-card dogfights right now. None is likely to sell, but Doyle thinks they could be wasting an opportunity to build for the future by chasing a title this season.

At the very least, a method like Doyle can provide a framework for conceptualizing a team’s place on the buyer/seller spectrum. And it tells us that, with the playoffs quickly approaching, the top teams in baseball should spend the week trying to load up on talent for a World Series run. The MLB playoffs may be a crapshoot, but the trade deadline is a place where contenders can shift the odds a bit more in their favor — for a price.