← Back to the workshop How and why I built it

Trade Ideator

Trade ideas for my Sleeper redraft leagues that help my lineup and still make sense for the other manager.

LiveTypeScript · React · Sleeper · FantasyCalc · S3 · CloudFront · Lambda · CDKRedraft leagues
Trade Ideator showing two trade ideas for one of my leagues, each with both sides, lineup gains, and the reasons behind it
Two of the ideas for my 10-team PPR league: what I give, what I get, how each lineup changes, and why it might work for them.Try it with your league →

The itch

I play in two redraft leagues on Sleeper, and I already check FantasyCalc to see whether a trade is fair. A trade calculator only answers half the question, though. It tells me two packages are worth about the same, not whether my lineup gets better, or which manager has the hole that my bench can fill. I wanted something that looks at the whole league and brings me the trades worth sending.

What it does

Type a Sleeper username, pick a league, and it looks at every team.

How it works

Your browser does almost everything. It pulls the league's rosters and settings straight from Sleeper, and rest-of-season values from FantasyCalc for that exact format: team count, PPR, and superflex. Then it builds each team's best lineup from the league's real starting slots, and tries the one-for-one and two-for-one swaps between teams whose needs fit together.

A trade only makes the list if my lineup gets better and the other manager gets fair value back. Packages are compared the way trade calculators do it, so two decent players don't automatically buy a star.

  1. Sleeperrosters and league settings
  2. FantasyCalcvalues for this league's format
  3. Best lineupsevery team, real starting slots
  4. Trade searchneeds that fit, fair value back
  5. Ideaswith the reasons why
All of this runs in your browser. AWS serves the app plus one file: the player list, which a Lambda refreshes every evening.

Sleeper asks apps to download its full player list (about 5 MB) at most once a day. So a small Lambda fetches it at 6 pm New York time, after the Friday injury reports, and saves the few hundred KB the app needs. Values and rosters are always live. Anything newer than that evening's list is one click away in the player links.

What's next

Find your next trade

Bring your Sleeper username. Rosters and values are live.

Open Trade Ideator →