"I think i broke the rule!!!
all the same stock
Bought 100 june 16
Bought 100 july 16
Bought 100 Oct 7
sold 300 Nov 2 at a loss ( i guess i should have waited 30 days from the oct 7th buy??)"
There is definitely no superficial loss. If you had sold less than 300 shares on Nov 2, there would have been a superficial loss.
This is from the CRA link that Potato sent. Read noting the "and" between the two conditions.
superficial loss can occur when you dispose of capital property for a loss and:
you, or a person affiliated with you, buys, or has a right to buy, the same or identical property (called "substituted property") during the period starting 30 calendar days before the sale and ending 30 calendar days after the sale; and
you, or a person affiliated with you, still owns, or has a right to buy, the substituted property 30 calendar days after the sale.