hickeng / financial

Repository containing financial spreadsheets
Other
207 stars 24 forks source link

Refinement of per-lot selection to consider factors in addition to adj basis #49

Closed hickeng closed 9 months ago

hickeng commented 9 months ago

There are two other factors to consider during lot selection:

  1. if the lot is ESPP, there's an ordinary income part
  2. if the RSU is short term or long term gain

Planning to add:

hickeng commented 9 months ago

New thought - if I instead of selecting for cash based on lowest pre-merger basis, I can instead select for stock based on highest future basis. The future basis already has the ordinary income baked into it, and we're attempting to maximizedeferred tax so using the future value is legit.

hickeng commented 9 months ago

The ordinary income part was noise for the shares that get selected for lots as it's massively outweighed by the actual basis.

Another thing to consider is construction of a synthetic basis considering the changing tax liability over time for STG, LTG, and qualified/disqualified. It's most academic for this merger but is interesting.

This could be done by reducing the basis by the amortized reduction in tax between two points in time. The mechanism to experiment with sale dates is already there, so this would likely be a walk through the outputs to generate an intermediate dataset.