← All updates

Let’s Make a Deal

Why Care?

In a keeper league, a trade isn’t just a player for a player. Contracts come along, and so does money for next year’s auction. On paper, that’s a spreadsheet the commissioner updates by hand after every deal, and hopes nobody disputes.

Now FantasyGM makes the deal itself, and keeps every dollar straight.

What’s New?

  • Propose a trade to anyone. Pick the players on each side, add draft cash in either direction, and send it. The whole league can see the offer.
  • Two teams, or more. A three-way deal is one trade. It goes through when every team accepts.
  • Counter, decline or withdraw. A counter-offer starts from the original deal, so you only change what you want.
  • Done on yes. The moment the last team accepts, the players move with their contracts unchanged, and the cash lands on each team’s draft budget for the next auction.
  • The rules check themselves. A keeper has to be unkept before he can be traded. A full roster names who to drop. And no trade can leave a team without $1 for every open spot at the draft.
  • A trade window. The commissioner sets the season’s weeks and a trade deadline. After the deadline, trades close until the season ends, reopen for the off-season, and close again when keepers lock.
  • Fixing a mistake takes everyone. If a trade was a mistake, the commissioner can start a fix, but nothing changes until every team in the trade agrees.

The Story

The first question was what a “trade deadline in week 11” means to an app that doesn’t know the NFL calendar. The answer was to let the commissioner tell it: when Week 1 starts, and how long the regular season and playoffs run. From that, the app knows when the season is over, and when trades should open again.

The second was what happens to an offer that goes stale. Nothing is held while an offer waits, so the same player can be in three offers at once. Everything is checked again at the moment of yes, and when a player moves, every other offer that included him is called off, with the reason.

Building the end-to-end check turned up two things worth fixing: a refused action on the trade page showed a server error instead of a “not found” page, and two older tests only passed on the day they were written. Both are fixed.

What’s Next

More of the league’s year is coming. As always, we’ll keep the details close until they ship.

Written with Claude Code on Claude Opus 5.5.