fava_investor
fava_investor copied to clipboard
TLH: Detect non-wash sales when *all* positions are sold
If one sells *all * their positions of a ticker across their portfolio, a wash sale does not occur since there is no replacement of sold shares (assuming no repurchase in the future for 30 days). Detect this (when the advise is to sell all owned positions of a ticker) and advise.