Gary Gensler, chairman of the SEC, will formalize his resignation on January 20, the same day Donald Trump will take power in the U.S.