US Constitution protects you if you can cheat legally...such as insider trading, market manipulation through software etc. As long as you stay within the rules like Goldman, Lehman and all did, you could easily escape prosecution. Govt normally allows you to get away with insider trading and other 'perceived' fraud by the public as long as you admit that you played the rules and not by the rules. They are even willing to compensate if you are honest about admitting your 'mistake' and show them that you profited only X amount through insider trading at all.
If you cheat well in the US, you will go to high places !