Hello Bernie, first off, my method wasn't meant for tax purposes, but I don't think I fooled anyone with that. It's just a funny calculation, in case you like such things. But then! You throw complexity at our heads and only come up with a program that hides the complexity! That is less than convincing, don't you think? But perhaps I am saying that only because I want to know how the calculation works, even when it is performed for me automatically.
But even Money seems to have a problem, because the three calculation methods leave out Tom's average-cost basis calculation, which seems to be a fourth alternative, also approved by your IRS. (Boy, am I glad that I am not an American ;-)
I think it's Lou's turn now, I hope he has found a solution now. And on another tack: what would be the best way to calculate capital gains for tax purposes with AIM? I think Tom V favors FIFO.
Regards,
Karel