This is already the law. Since the "Stop Trading on Congressional Knowledge Act of 2012", they already have to disclose any stock trades made by themselves, a spouse or a dependent.
Because this hasn't fixed the issue, and most don't seem to have any shame, these recent laws (originally coming from Ds but Rs have their own version) prevent them from trading individual stocks while in office.