Annual report pursuant to Section 13 and 15(d)

Securities Financing Agreements, Short-term Borrowings, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)

v3.24.0.1
Securities Financing Agreements, Short-term Borrowings, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
12 Months Ended
Dec. 31, 2023
USD ($)
agreement
Dec. 31, 2022
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 623,797 $ 453,492
Securities loaned 83,107 72,416
Other 10,066 8,427
Total $ 716,970 $ 534,335
Number of contractual agreements | agreement 0 0
Maximum agreement maturity period (less than) 4 years 4 years
Overnight and Continuous    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 234,974 $ 200,087
Securities loaned 76,580 66,909
Other 10,066 8,427
Total 321,620 275,423
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 228,627 181,632
Securities loaned 139 288
Other 0 0
Total 228,766 181,920
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 85,176 41,666
Securities loaned 618 1,139
Other 0 0
Total 85,794 42,805
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 75,020 30,107
Securities loaned 5,770 4,080
Other 0 0
Total $ 80,790 $ 34,187