So much for efficient-markets theory.

Shares of two companies with the word “Oculus” in their names soared in the first minutes of trading Wednesday, thanks to some heavy buzz from the big deal Facebook Inc. announced last night. The only problem: neither of them have anything to do with the virtual-reality company Facebook agreed to buy.