Skip to main content
Harvesting rules differ a lot in what they save and in how far they pull a book from its index. Ask Itoflow to run several rules on the same lots, prices and tax rates, so the gap between them comes from the rule and not the data. What you’ll get: each rule’s ending value after tax, the tax it saved, its trading costs and its tracking error against the index, with the code that produced them.

Try it

With Itoflow connected to your assistant, paste this into your assistant:

Open in Claude

Start this in Claude with the Itoflow plugin.

Open in ChatGPT

Start this in ChatGPT with the Itoflow plugin.
Using another client? Copy the prompt with the button on the code block.The prompt settles the choices the agent would otherwise ask about: how the account starts, which gains the losses can offset, and which rules the risk budget limits. To use your own lots, attach them as a file in the Itoflow app and name the file in the prompt.

What a result looks like

Finding tax alpha with Itoflow, September 29, 2026, compared eight harvesting approaches and a no-harvest baseline on one modeled $10M account that tracked the S&P MidCap 400 from September 2021 to September 2026. Its assumptions differ from the prompt above: $100,000 of short-term and $50,000 of long-term gains a year outside the account, and a 15% one-way turnover limit.
  • Optimized sales with IJH as the replacement ended $1.08M (7.3%) ahead of no harvesting: 4.85 points from lower modeled tax and 2.49 points from returns after costs.
  • That gain came with more tracking error against the index: 1.56% a year, against 1.19% with no harvesting.
  • In each threshold rule, replacing sold lots with the ETF beat holding the proceeds in cash.
The study measures fixed rules, not an agent’s choices. It uses fills at the close, one period and simplified corporate events. It is not tax advice. We ran the prompt above on October 28, 2026, and it didn’t finish. The agent rebuilt the index’s holdings at the start, then stopped: one change of security in the index had no verified price and identity history. It reported no result rather than drop that security, use today’s members or shorten the period, and it saved the setup for a rerun.

How it’s checked

  • Same inputs for every rule. The research contract fixes the lots, prices, rates and costs before the comparison runs.
  • You get the code. The agent writes the harvesting and wash-sale logic in Python in its sandbox, so you can read the rules it applied and run them again.
  • A second agent reviews it. The independent reviewer reads the files before the answer reaches you.

Limits

  • A replay needs the index’s dated holdings and full price and identity history for every security in them. Itoflow rebuilds past holdings from a fund that tracks the index, and for several funds those start in late 2025. Where history is missing, the agent stops and says so.
  • Results are modeled. Real fills, tax lots and corporate events will differ.
  • Itoflow doesn’t give tax advice or file anything. Check rules for your own account with a tax adviser.
  • A strategy can act on a harvesting rule on a paper portfolio. On a live portfolio, a person approves each list of trades.

Next steps