Quarterly report pursuant to Section 13 or 15(d)

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

v3.24.2
Securities Financing Agreements, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2024
USD ($)
agreement
Dec. 31, 2023
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 696,646 $ 623,797
Securities loaned 89,090 83,107
Other 12,773 10,066
Total $ 798,509 $ 716,970
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 $ 259,817 $ 234,974
Securities loaned 79,861 76,580
Other 12,773 10,066
Total 352,451 321,620
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 232,017 228,627
Securities loaned 284 139
Other 0 0
Total 232,301 228,766
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 95,737 85,176
Securities loaned 1,005 618
Other 0 0
Total 96,742 85,794
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 109,075 75,020
Securities loaned 7,940 5,770
Other 0 0
Total $ 117,015 $ 80,790