Insider trading is an agency problem. You're in trouble if you have a fiduciary duty to someone else (either overtly or implied, directly or indirectly) and you take advantage of insider information to trade against their interests.
Using information only you have to trade in the market is not "insider trading" by itself; in fact, it's the only way the markets can actually function!