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