Investors & landlords

Yes. The key in your post is no open position at the end of the year.

 

If you held the stock you bought on June 14th at the end of the year, you could not recognize the $100 loss (that loss would be added to the basis of the June 14th purchase price).