XML 134 R57.htm IDEA: XBRL DOCUMENT v3.22.4
Investments in Securities - Schedule of Trading Securities Gains (Losses), Net (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Investments, Debt and Equity Securities [Abstract]      
Net trading gains (losses) $ (3,504) $ (1,060) $ 513
Net trading gains (losses) recognized in the period related to securities still held at period end $ (2,865) $ (997) $ 252