XML 155 R135.htm IDEA: XBRL DOCUMENT v3.22.2
FAIR VALUE MEASUREMENT - Level 3 Fair Value Rollforward (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Trading derivatives, net        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net $ (703) $ (930) $ (112) $ (1,207)
Net realized/unrealized gains (losses) included in principal transactions 2,606 421 4,326 664
Other 0 0 0 0
Transfers into Level 3 (56) (616) (585) (392)
Transfers out of Level 3 (170) 531 (1,162) 535
Purchases 367 226 709 339
Issuances 26 0 26 (84)
Sales (742) (421) (1,076) (569)
Settlements (486) (80) (1,284) (155)
Balance at end of period, asset (liability), net 842 (869) 842 (869)
Unrealized gains (losses) still held 2,001 (50) 2,834 41
Trading derivatives, net | Interest rate contracts        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net 779 1,229 1,726 1,614
Net realized/unrealized gains (losses) included in principal transactions 434 (126) 600 (298)
Other 0 0 0 0
Transfers into Level 3 141 218 73 173
Transfers out of Level 3 (272) 321 (803) 321
Purchases 7 2 9 2
Issuances 6 0 6 (84)
Sales (6) 0 (6) 0
Settlements (208) 120 (724) 36
Balance at end of period, asset (liability), net 881 1,764 881 1,764
Unrealized gains (losses) still held 473 (70) 650 (197)
Trading derivatives, net | Foreign exchange contracts        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net (131) (86) (89) 52
Net realized/unrealized gains (losses) included in principal transactions 769 59 1,164 (79)
Other 0 0 0 0
Transfers into Level 3 34 0 (475) 8
Transfers out of Level 3 (50) 4 (6) 4
Purchases 73 111 175 134
Issuances 20 0 20 0
Sales (547) (282) (611) (297)
Settlements (12) 10 (22) (6)
Balance at end of period, asset (liability), net 156 (184) 156 (184)
Unrealized gains (losses) still held 126 (28) 235 (57)
Trading derivatives, net | Equity contracts        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net (1,564) (2,876) (2,140) (3,213)
Net realized/unrealized gains (losses) included in principal transactions 1,189 309 1,997 612
Other 0 0 0 0
Transfers into Level 3 (60) (634) (73) (598)
Transfers out of Level 3 232 892 207 898
Purchases 220 85 405 109
Issuances 0 0 0 0
Sales (91) (94) (316) (117)
Settlements (27) (232) (181) (241)
Balance at end of period, asset (liability), net (101) (2,550) (101) (2,550)
Unrealized gains (losses) still held 1,182 349 1,634 213
Trading derivatives, net | Commodity contracts        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net 217 732 422 292
Net realized/unrealized gains (losses) included in principal transactions 208 236 622 550
Other 0 0 0 0
Transfers into Level 3 (74) (148) (45) 10
Transfers out of Level 3 84 (612) (409) (617)
Purchases 67 28 120 94
Issuances 0 0 0 0
Sales (98) (45) (142) (155)
Settlements (149) (49) (313) (32)
Balance at end of period, asset (liability), net 255 142 255 142
Unrealized gains (losses) still held 246 (194) 410 280
Trading derivatives, net | Credit derivatives        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net (4) 71 (31) 48
Net realized/unrealized gains (losses) included in principal transactions 6 (57) (57) (121)
Other 0 0 0 0
Transfers into Level 3 (97) (52) (65) 15
Transfers out of Level 3 (164) (74) (151) (71)
Purchases 0 0 0 0
Issuances 0 0 0 0
Sales 0 0 (1) 0
Settlements (90) 71 (44) 88
Balance at end of period, asset (liability), net (349) (41) (349) (41)
Unrealized gains (losses) still held (26) (107) (95) (198)
Interest-bearing deposits        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 191 199 183 206
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 7 2 3 18
Transfers into Level 3, liabilities 0 0 7 0
Transfers out of Level 3, liabilities (122) (44) (122) (44)
Purchases, liability 0 0 0 0
Issuance, liability 17 11 18 20
Sales, liability 0 0 0 0
Settlements, liability (61) (10) (65) (10)
Balance at end of period, liability 18 154 18 154
Unrealized gains (losses) still held, liabilities 0 0 0 (45)
Securities loaned and sold under agreements to repurchase        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 612 977 643 631
Net realized/unrealized gains (losses) included in principal transactions, liabilities 24 22 50 7
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 0 0 0 0
Transfers out of Level 3, liabilities (3) (483) (3) (483)
Purchases, liability 16 80 16 488
Issuance, liability 0 0 0 0
Sales, liability 0 0 0 0
Settlements, liability (8) (64) (13) (141)
Balance at end of period, liability 593 488 593 488
Unrealized gains (losses) still held, liabilities 10 0 28 19
Trading account liabilities | Securities sold, not yet purchased        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 38 167 65 214
Net realized/unrealized gains (losses) included in principal transactions, liabilities (8) 7 21 61
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 10 54 35 62
Transfers out of Level 3, liabilities (4) (21) (19) (25)
Purchases, liability 30 10 83 20
Issuance, liability 0 0 0 0
Sales, liability 1 0 1 0
Settlements, liability (11) (35) (72) (42)
Balance at end of period, liability 72 168 72 168
Unrealized gains (losses) still held, liabilities (12) 26 (2) (2)
Trading account liabilities | Other trading liabilities        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability   6   26
Net realized/unrealized gains (losses) included in principal transactions, liabilities   5   25
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities   0   0
Transfers into Level 3, liabilities   0   0
Transfers out of Level 3, liabilities   0   0
Purchases, liability   0   0
Issuance, liability   0   0
Sales, liability   0   0
Settlements, liability   0   0
Balance at end of period, liability   1   1
Unrealized gains (losses) still held, liabilities   4   0
Short-term borrowings        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 36 49 105 219
Net realized/unrealized gains (losses) included in principal transactions, liabilities 1 33 89 32
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 12 40 40 42
Transfers out of Level 3, liabilities (12) (32) (21) (44)
Purchases, liability 0 0 0 0
Issuance, liability 69 17 76 25
Sales, liability 0 0 0 0
Settlements, liability (23) 0 (30) (169)
Balance at end of period, liability 81 41 81 41
Unrealized gains (losses) still held, liabilities 2 17 1 17
Long-term debt        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Transfers out of Level 3 2,600 6,000 3,500 6,000
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 27,432 26,337 25,509 25,210
Net realized/unrealized gains (losses) included in principal transactions, liabilities 4,719 (849) 8,245 1,773
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 3,335 3,937 6,743 4,869
Transfers out of Level 3, liabilities (2,634) (5,966) (3,507) (5,968)
Purchases, liability 0 0 0 0
Issuance, liability 6,527 1,825 9,699 7,545
Sales, liability 0 0 0 0
Settlements, liability (163) (1,914) (421) (4,815)
Balance at end of period, liability 29,778 25,068 29,778 25,068
Unrealized gains (losses) still held, liabilities 4,232 (699) (4,197) 791
Other financial liabilities        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability   8 1 1
Net realized/unrealized gains (losses) included in principal transactions, liabilities   0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities   0 1 (3)
Transfers into Level 3, liabilities   0 0 0
Transfers out of Level 3, liabilities   (4) 0 (4)
Purchases, liability   0 0 0
Issuance, liability   0 0 14
Sales, liability   0 0
Settlements, liability   0 0 (10)
Balance at end of period, liability 0 4 0 4
Unrealized gains (losses) still held, liabilities   0 0 0
Securities borrowed and purchased under agreements to resell        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 202 262 231 320
Net realized/unrealized gains (losses) included in principal transactions (12) (2) (1) (11)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 (49) 0 (49)
Purchases, assets 36 43 124 276
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets (43) (43) (171) (325)
Balance at end of period, asset 183 211 183 211
Unrealized gains (losses) still held, assets (10) 1 (7) 1
Trading non-derivative assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 2,940 2,698 2,520 3,647
Net realized/unrealized gains (losses) included in principal transactions 64 279 118 437
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 1,045 904 1,455 1,031
Transfers out of Level 3, assets (545) (496) (870) (711)
Purchases, assets 1,044 1,184 2,361 2,207
Issuance, assets 6 0 16 4
Sales, assets (1,066) (1,583) (2,108) (3,625)
Settlements, assets (4) 0 (8) (4)
Balance at end of period, asset 3,484 2,986 3,484 2,986
Unrealized gains (losses) still held, assets 2 (1) (43) 59
Trading non-derivative assets | U.S. government-sponsored agency guaranteed        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 498 38 496  
Net realized/unrealized gains (losses) included in principal transactions (15) 2 (13)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 80 238 127  
Transfers out of Level 3, assets (89) (7) (158)  
Purchases, assets 318 113 484  
Issuance, assets 0 0 0  
Sales, assets (84) (8) (228)  
Settlements, assets 0 0 0  
Balance at end of period, asset 708 376 708 376
Unrealized gains (losses) still held, assets (19) (12) (21)  
Trading non-derivative assets | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 118 268 104  
Net realized/unrealized gains (losses) included in principal transactions 0 (1) 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 28 41 61  
Transfers out of Level 3, assets (11) (65) (32)  
Purchases, assets 47 57 85  
Issuance, assets 0 0 0  
Sales, assets (29) (205) (65)  
Settlements, assets 0 0 0  
Balance at end of period, asset 153 95 153 95
Unrealized gains (losses) still held, assets (4) 2 (5)  
Trading non-derivative assets | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 52 59 81  
Net realized/unrealized gains (losses) included in principal transactions (3) 16 (5)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 96 60 97  
Transfers out of Level 3, assets (8) (8) (34)  
Purchases, assets 4 11 9  
Issuance, assets 0 0 0  
Sales, assets (3) (51) (10)  
Settlements, assets 0 0 0  
Balance at end of period, asset 138 87 138 87
Unrealized gains (losses) still held, assets (3) 3 (2)  
Trading non-derivative assets | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 668 365 681  
Net realized/unrealized gains (losses) included in principal transactions (18) 17 (18)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 204 339 285  
Transfers out of Level 3, assets (108) (80) (224)  
Purchases, assets 369 181 578  
Issuance, assets 0 0 0  
Sales, assets (116) (264) (303)  
Settlements, assets 0 0 0  
Balance at end of period, asset 999 558 999 558
Unrealized gains (losses) still held, assets (26) (7) (28)  
Trading non-derivative assets | U.S. Treasury and federal agency securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 2 0 4  
Net realized/unrealized gains (losses) included in principal transactions 0 0 (4)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 0 0 2  
Transfers out of Level 3, assets (1) 0 (1)  
Purchases, assets 0 0 0  
Issuance, assets 0 0 0  
Sales, assets 0 0 0  
Settlements, assets 0 0 0  
Balance at end of period, asset 1 0 1 0
Unrealized gains (losses) still held, assets 0 0 0  
Trading non-derivative assets | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 6 94 37  
Net realized/unrealized gains (losses) included in principal transactions 4 0 5  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 71 0 71  
Transfers out of Level 3, assets 0 (29) (20)  
Purchases, assets 0 5 1  
Issuance, assets 0 0 0  
Sales, assets (1) 0 (14)  
Settlements, assets 0 0 0  
Balance at end of period, asset 80 70 80 70
Unrealized gains (losses) still held, assets (3) 0 (5)  
Trading non-derivative assets | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 94 81 23  
Net realized/unrealized gains (losses) included in principal transactions (27) 4 (26)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 249 125 299  
Transfers out of Level 3, assets (1) (28) (1)  
Purchases, assets 57 14 87  
Issuance, assets 0 0 0  
Sales, assets (8) (55) (18)  
Settlements, assets 0 0 0  
Balance at end of period, asset 364 141 364 141
Unrealized gains (losses) still held, assets (12) 1 (18)  
Trading non-derivative assets | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1,013 290 412  
Net realized/unrealized gains (losses) included in principal transactions 59 (15) 68  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 120 312 262  
Transfers out of Level 3, assets (244) (50) (278)  
Purchases, assets 181 408 828  
Issuance, assets 0 0 0  
Sales, assets (592) (122) (755)  
Settlements, assets 0 0 0  
Balance at end of period, asset 537 823 537 823
Unrealized gains (losses) still held, assets 38 (36) 18  
Trading non-derivative assets | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 199 89 174  
Net realized/unrealized gains (losses) included in principal transactions (9) 2 (14)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 14 80 63  
Transfers out of Level 3, assets (61) (40) (87)  
Purchases, assets 58 23 108  
Issuance, assets 0 0 0  
Sales, assets (68) (7) (111)  
Settlements, assets 0 0 0  
Balance at end of period, asset 133 147 133 147
Unrealized gains (losses) still held, assets (23) 15 (40)  
Trading non-derivative assets | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 466 1,208 613  
Net realized/unrealized gains (losses) included in principal transactions (24) 209 (19)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 82 17 140  
Transfers out of Level 3, assets (100) (148) (167)  
Purchases, assets 262 352 393  
Issuance, assets 0 0 0  
Sales, assets (132) (946) (406)  
Settlements, assets 0 0 0  
Balance at end of period, asset 554 692 554 692
Unrealized gains (losses) still held, assets (26) 22 (45)  
Trading non-derivative assets | Other trading assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 492 571 576  
Net realized/unrealized gains (losses) included in principal transactions 79 62 126  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 305 31 333  
Transfers out of Level 3, assets (30) (121) (92)  
Purchases, assets 117 201 366  
Issuance, assets 6 0 16  
Sales, assets (149) (189) (501)  
Settlements, assets (4) 0 (8)  
Balance at end of period, asset 816 555 816 555
Unrealized gains (losses) still held, assets 54 4 75  
Trading non-derivative assets | U.S. government-sponsored agency guaranteed        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       27
Net realized/unrealized gains (losses) included in principal transactions       1
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       252
Transfers out of Level 3, assets       (8)
Purchases, assets       114
Issuance, assets       0
Sales, assets       (10)
Settlements, assets       0
Balance at end of period, asset   376   376
Unrealized gains (losses) still held, assets       16
Trading non-derivative assets | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       340
Net realized/unrealized gains (losses) included in principal transactions       22
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       69
Transfers out of Level 3, assets       (68)
Purchases, assets       201
Issuance, assets       0
Sales, assets       (469)
Settlements, assets       0
Balance at end of period, asset   95   95
Unrealized gains (losses) still held, assets       18
Trading non-derivative assets | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       136
Net realized/unrealized gains (losses) included in principal transactions       21
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       76
Transfers out of Level 3, assets       (41)
Purchases, assets       24
Issuance, assets       0
Sales, assets       (129)
Settlements, assets       0
Balance at end of period, asset   87   87
Unrealized gains (losses) still held, assets       2
Trading non-derivative assets | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       503
Net realized/unrealized gains (losses) included in principal transactions       44
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       397
Transfers out of Level 3, assets       (117)
Purchases, assets       339
Issuance, assets       0
Sales, assets       (608)
Settlements, assets       0
Balance at end of period, asset   558   558
Unrealized gains (losses) still held, assets       36
Trading non-derivative assets | U.S. Treasury and federal agency securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       0
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       0
Transfers out of Level 3, assets       0
Purchases, assets       0
Issuance, assets       0
Sales, assets       0
Settlements, assets       0
Balance at end of period, asset   0   0
Unrealized gains (losses) still held, assets       0
Trading non-derivative assets | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       94
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       0
Transfers out of Level 3, assets       (29)
Purchases, assets       5
Issuance, assets       0
Sales, assets       0
Settlements, assets       0
Balance at end of period, asset   70   70
Unrealized gains (losses) still held, assets       1
Trading non-derivative assets | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       51
Net realized/unrealized gains (losses) included in principal transactions       5
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       136
Transfers out of Level 3, assets       (28)
Purchases, assets       71
Issuance, assets       0
Sales, assets       (94)
Settlements, assets       0
Balance at end of period, asset   141   141
Unrealized gains (losses) still held, assets       (6)
Trading non-derivative assets | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       375
Net realized/unrealized gains (losses) included in principal transactions       75
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       318
Transfers out of Level 3, assets       (168)
Purchases, assets       475
Issuance, assets       0
Sales, assets       (252)
Settlements, assets       0
Balance at end of period, asset   823   823
Unrealized gains (losses) still held, assets       (7)
Trading non-derivative assets | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       73
Net realized/unrealized gains (losses) included in principal transactions       47
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       84
Transfers out of Level 3, assets       (42)
Purchases, assets       35
Issuance, assets       0
Sales, assets       (50)
Settlements, assets       0
Balance at end of period, asset   147   147
Unrealized gains (losses) still held, assets       32
Trading non-derivative assets | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       1,606
Net realized/unrealized gains (losses) included in principal transactions       248
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       35
Transfers out of Level 3, assets       (198)
Purchases, assets       934
Issuance, assets       0
Sales, assets       (1,933)
Settlements, assets       0
Balance at end of period, asset   692   692
Unrealized gains (losses) still held, assets       8
Trading non-derivative assets | Other Trading Assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       945
Net realized/unrealized gains (losses) included in principal transactions       18
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       61
Transfers out of Level 3, assets       (129)
Purchases, assets       348
Issuance, assets       4
Sales, assets       (688)
Settlements, assets       (4)
Balance at end of period, asset   555   555
Unrealized gains (losses) still held, assets       (5)
Investments        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 2,378 1,759 2,227 1,542
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (64) 15 (147) 1
Transfers into Level 3 100 581 415 589
Transfers out of Level 3, assets (195) (397) (304) (397)
Purchases, assets 223 350 410 681
Issuance, assets 0 0 0 0
Sales, assets (179) (62) (338) (170)
Settlements, assets 0 0 0 0
Balance at end of period, asset 2,263 2,246 2,263 2,246
Unrealized gains (losses) still held, assets (45) (10) (85) (83)
Investments | U.S. government-sponsored agency guaranteed        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 46 30 51  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (2) 2 (9)  
Transfers into Level 3 0 22 1  
Transfers out of Level 3, assets (10) 0 (10)  
Purchases, assets 0 3 4  
Issuance, assets 0 0 0  
Sales, assets (6) (5) (9)  
Settlements, assets 0 0 0  
Balance at end of period, asset 28 52 28 52
Unrealized gains (losses) still held, assets (2) (21) (4)  
Investments | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 44   94  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (4)   (6)  
Transfers into Level 3 0   0  
Transfers out of Level 3, assets 0   (39)  
Purchases, assets 0   0  
Issuance, assets 0   0  
Sales, assets 0   (9)  
Settlements, assets 0   0  
Balance at end of period, asset 40   40  
Unrealized gains (losses) still held, assets (4)   (5)  
Investments | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 90 30 145  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (6) 2 (15)  
Transfers into Level 3 0 22 1  
Transfers out of Level 3, assets (10) 0 (49)  
Purchases, assets 0 3 4  
Issuance, assets 0 0 0  
Sales, assets (6) (5) (18)  
Settlements, assets 0 0 0  
Balance at end of period, asset 68 52 68 52
Unrealized gains (losses) still held, assets (6) (21) (9)  
Investments | U.S. Treasury and federal agency securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1 0 1  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (1) 0 (1)  
Transfers into Level 3 0 0 0  
Transfers out of Level 3, assets 0 0 0  
Purchases, assets 0 0 0  
Issuance, assets 0 0 0  
Sales, assets 0 0 0  
Settlements, assets 0 0 0  
Balance at end of period, asset 0 0 0 0
Unrealized gains (losses) still held, assets 0 0 0  
Investments | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 705 794 772  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (34) 8 (78)  
Transfers into Level 3 0 54 0  
Transfers out of Level 3, assets (131) (108) (142)  
Purchases, assets 1 2 1  
Issuance, assets 0 0 0  
Sales, assets (2) (2) (14)  
Settlements, assets 0 0 0  
Balance at end of period, asset 539 748 539 748
Unrealized gains (losses) still held, assets (14) 6 (47)  
Investments | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1,029 523 786  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (15) 3 (39)  
Transfers into Level 3 0 440 250  
Transfers out of Level 3, assets (54) (289) (113)  
Purchases, assets 202 315 385  
Issuance, assets 0 0 0  
Sales, assets (161) (35) (268)  
Settlements, assets 0 0 0  
Balance at end of period, asset 1,001 957 1,001 957
Unrealized gains (losses) still held, assets (16) 3 (19)  
Investments | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 237 56 188  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (3) (7) (7)  
Transfers into Level 3 100 32 153  
Transfers out of Level 3, assets 0 0 0  
Purchases, assets 0 30 0  
Issuance, assets 0 0 0  
Sales, assets 0 (7) 0  
Settlements, assets 0 0 0  
Balance at end of period, asset 334 104 334 104
Unrealized gains (losses) still held, assets (1) (1) (2)  
Investments | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 16   16  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (6)   (6)  
Transfers into Level 3 0   0  
Transfers out of Level 3, assets 0   0  
Purchases, assets 0   0  
Issuance, assets 0   0  
Sales, assets 0   0  
Settlements, assets 0   0  
Balance at end of period, asset 10   10  
Unrealized gains (losses) still held, assets (7)   (7)  
Investments | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 2 4 3  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (1) (21) 11  
Transfers into Level 3 0 33 0  
Transfers out of Level 3, assets 0 0 0  
Purchases, assets 0 0 0  
Issuance, assets 0 0 0  
Sales, assets 0 (13) (13)  
Settlements, assets 0 0 0  
Balance at end of period, asset 1 3 1 3
Unrealized gains (losses) still held, assets 0 1 0  
Investments | Non-marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 298 352 316  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 2 30 (12)  
Transfers into Level 3 0 0 11  
Transfers out of Level 3, assets 0 0 0  
Purchases, assets 20 0 20  
Issuance, assets 0 0 0  
Sales, assets (10) 0 (25)  
Settlements, assets 0 0 0  
Balance at end of period, asset 310 382 310 382
Unrealized gains (losses) still held, assets (1) 2 (1)  
Investments | U.S. government-sponsored agency guaranteed        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       30
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       2
Transfers into Level 3       22
Transfers out of Level 3, assets       0
Purchases, assets       3
Issuance, assets       0
Sales, assets       (5)
Settlements, assets       0
Balance at end of period, asset   52   52
Unrealized gains (losses) still held, assets       (42)
Investments | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       30
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       2
Transfers into Level 3       22
Transfers out of Level 3, assets       0
Purchases, assets       3
Issuance, assets       0
Sales, assets       (5)
Settlements, assets       0
Balance at end of period, asset   52   52
Unrealized gains (losses) still held, assets       (42)
Investments | U.S. Treasury and federal agency securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       0
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       0
Transfers out of Level 3, assets       0
Purchases, assets       0
Issuance, assets       0
Sales, assets       0
Settlements, assets       0
Balance at end of period, asset   0   0
Unrealized gains (losses) still held, assets       0
Investments | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       834
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       (10)
Transfers into Level 3       58
Transfers out of Level 3, assets       (108)
Purchases, assets       3
Issuance, assets       0
Sales, assets       (29)
Settlements, assets       0
Balance at end of period, asset   748   748
Unrealized gains (losses) still held, assets       (8)
Investments | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       268
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       1
Transfers into Level 3       440
Transfers out of Level 3, assets       (289)
Purchases, assets       645
Issuance, assets       0
Sales, assets       (108)
Settlements, assets       0
Balance at end of period, asset   957   957
Unrealized gains (losses) still held, assets       3
Investments | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       60
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       (11)
Transfers into Level 3       32
Transfers out of Level 3, assets       0
Purchases, assets       30
Issuance, assets       0
Sales, assets       (7)
Settlements, assets       0
Balance at end of period, asset   104   104
Unrealized gains (losses) still held, assets       (1)
Investments | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       1
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       (21)
Transfers into Level 3       36
Transfers out of Level 3, assets       0
Purchases, assets       0
Issuance, assets       0
Sales, assets       (13)
Settlements, assets       0
Balance at end of period, asset   3   3
Unrealized gains (losses) still held, assets       (37)
Investments | Non-marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       349
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       40
Transfers into Level 3       1
Transfers out of Level 3, assets       0
Purchases, assets       0
Issuance, assets       0
Sales, assets       (8)
Settlements, assets       0
Balance at end of period, asset   382   382
Unrealized gains (losses) still held, assets       2
Loans        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 622 1,944 711 1,985
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (105) 476 (190) 348
Transfers into Level 3 1 60 1 271
Transfers out of Level 3, assets (193) (2,051) (195) (2,051)
Purchases, assets 0 0 0 0
Issuance, assets 1 0 1 1
Sales, assets 0 0 0 0
Settlements, assets (1) 0 (3) (125)
Balance at end of period, asset 325 429 325 429
Unrealized gains (losses) still held, assets (7) 169 166 100
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Transfers out of Level 3   (2,100)   (2,100)
Mortgage servicing rights        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 520 433 404 336
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 59 (21) 158 52
Transfers into Level 3 0 0 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 0
Issuance, assets 35 25 69 68
Sales, assets 0 0 0
Settlements, assets (14) (18) (31) (37)
Balance at end of period, asset 600 419 600 419
Unrealized gains (losses) still held, assets 59 (21) 157 59
Other financial assets measured on a recurring basis        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 68 0 73 0
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 4 0 7 0
Transfers into Level 3 7 55 7 55
Transfers out of Level 3, assets (12) 0 (16) 0
Purchases, assets 13 0 14 0
Issuance, assets 15 0 40 0
Sales, assets 0 0 (1) 0
Settlements, assets (32) 0 (61) 0
Balance at end of period, asset 63 55 63 55
Unrealized gains (losses) still held, assets $ 7 $ 0 $ 48 $ 0