Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.2
Securities Financing Agreements, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2022
USD ($)
agreement
Dec. 31, 2021
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 404,362 $ 416,427
Securities loaned 61,453 52,236
Other 6,761 11,391
Total $ 472,576 $ 480,054
Number of contractual agreements | agreement 0 0
Maximum agreement maturity period (less than) 3 years 3 years
Overnight and Continuous    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 185,699 $ 148,023
Securities loaned 55,681 46,231
Other 6,761 11,391
Total 248,141 205,645
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 154,162 194,964
Securities loaned 404 466
Other 0 0
Total 154,566 195,430
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 37,718 36,939
Securities loaned 888 1,428
Other 0 0
Total 38,606 38,367
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 26,783 36,501
Securities loaned 4,480 4,111
Other 0 0
Total $ 31,263 $ 40,612