Also I remember hearing about some Amazon employees buying real estate once the terms were being finalized...
If you overhear someone talking about an impending acquisition in a coffee shop, and you trade on that information, you're quite safe in the US. European countries can and do consider that insider trading, though.
As long as I didn't _take_ that info from anyone (e.g. I can't hack emails, or bribe an accountant, etc. etc.), this is markets behaving exactly as we want them to.
You can read some of them on bloomberg, or get the emails each day for free here: http://link.mail.bloombergbusiness.com/join/4wm/moneystuff-s...
If you manage to discover confidential data in a way that does not compromise such an agreement or duty, you're fine. Obviously you should engage with an attorney instead of taking legal advice from a random HN comment, but there's really no issue with this. Information asymmetry is a fundamental part of the market and not illegal on its own.
Source: I used to work in financial forecasting using significant amounts of alternative data.
I specifically say "illegal insider trading" because insider trading is not intrinsically illegal. The SEC distinguishes between insider trading and illegal insider trading (and by extension, so does the compliance department of every investment firm, bank and hedge fund). If, through your own research, you discover information which is both material and nonpublic, and you proceed to trade on that information, you are insider trading. However it is not illegal unless you have thereby broken an agreement or duty (namely with the company itself, its affiliates or your own clients) at any part of the process.
In practice this usually means the information is tainted if any of the following is true:
1) you have a fiduciary duty to the shareholders of the company in question,
2) you are employed by, or contract for, the company in question,
3) you are employed by, or contract for, an affiliate of the company (such as a vendor),
4) you disobeyed terms and conditions of service related to use of the product related to the information you found.
Obviously the standard disclaimers apply: I am not a lawyer, don't take potential legal advice from a random HN commenter, etc.
Source: I used to work in financial forecasting using alternative data.
Is Spying on Corporate Jets Insider Trading? https://www.cnbc.com/id/100272132