Quarterly report pursuant to Section 13 or 15(d)

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

v3.23.3
Securities Financing Agreements, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
9 Months Ended 12 Months Ended
Sep. 30, 2023
USD ($)
agreement
Dec. 31, 2022
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 563,117 $ 453,492
Securities loaned 79,674 72,416
Other 8,304 8,427
Total $ 651,095 $ 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 $ 257,669 $ 200,087
Securities loaned 74,247 66,909
Other 8,304 8,427
Total 340,220 275,423
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 167,947 181,632
Securities loaned 152 288
Other 0 0
Total 168,099 181,920
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 78,648 41,666
Securities loaned 971 1,139
Other 0 0
Total 79,619 42,805
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 58,853 30,107
Securities loaned 4,304 4,080
Other 0 0
Total $ 63,157 $ 34,187