Why do you think this is illegal when everything was publicly known?
I could have timed the market just as well as he did based simply on news stories talking about when a vote might take place. Anybody paying attention knew this bill was coming up this week. He didn't need his wife to tell him anything.