https://www.sec.gov/fast-answers/answersinsiderhtm.html
You can trade all you want on material non-public information if you're not an insider (or got your info from one under certain circumstances).
https://www.thoughtco.com/martha-stewarts-insider-trading-ca...
https://www.sec.gov/fast-answers/answersinsiderhtm.html