The Treasury Secretary said on Sunday he recently shed his holdings to comply with his federal ethics agreement.