When you buy and sell stocks based on secrets you learned at the office, it could be insider trading.

US Capitol Building

But when a United States Senator does it, it's probably perfectly legal.