XML 171 R151.htm IDEA: XBRL DOCUMENT v3.23.2
FAIR VALUE MEASUREMENT - Level 3 Fair Value Rollforward (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
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 $ (1,037) $ (703) $ (578) $ (112)
Net realized/unrealized gains (losses) included in principal transactions (1,499) 2,606 (2,304) 4,326
Other 0 0 0 0
Transfers into Level 3 (8) (56) 6 (585)
Transfers out of Level 3 (94) (170) 571 (1,162)
Purchases 12 367 (220) 709
Issuances 0 26 0 26
Sales (59) (742) (124) (1,076)
Settlements 35 (486) (1) (1,284)
Balance at end of period, asset (liability), net (2,650) 842 (2,650) 842
Unrealized gains (losses) still held (1,739) 2,001 (2,191) 2,834
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 260 779 355 1,726
Net realized/unrealized gains (losses) included in principal transactions (1,550) 434 (1,689) 600
Other 0 0 0 0
Transfers into Level 3 (167) 141 (202) 73
Transfers out of Level 3 (669) (272) (659) (803)
Purchases (17) 7 (13) 9
Issuances 0 6 0 6
Sales 13 (6) 13 (6)
Settlements 168 (208) 233 (724)
Balance at end of period, asset (liability), net (1,962) 881 (1,962) 881
Unrealized gains (losses) still held (1,486) 473 (1,713) 650
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 76 (131) 50 (89)
Net realized/unrealized gains (losses) included in principal transactions 503 769 546 1,164
Other 0 0 0 0
Transfers into Level 3 121 34 104 (475)
Transfers out of Level 3 50 (50) 48 (6)
Purchases 27 73 102 175
Issuances 0 20 0 20
Sales (42) (547) (81) (611)
Settlements (35) (12) (69) (22)
Balance at end of period, asset (liability), net 700 156 700 156
Unrealized gains (losses) still held 438 126 497 235
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,582) (1,564) (1,104) (2,140)
Net realized/unrealized gains (losses) included in principal transactions (486) 1,189 (878) 1,997
Other 0 0 0 0
Transfers into Level 3 (16) (60) (67) (73)
Transfers out of Level 3 572 232 806 207
Purchases (7) 220 (253) 405
Issuances 0 0 0 0
Sales (21) (91) (44) (316)
Settlements (23) (27) (23) (181)
Balance at end of period, asset (liability), net (1,563) (101) (1,563) (101)
Unrealized gains (losses) still held (494) 1,182 (624) 1,634
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 230 217 278 422
Net realized/unrealized gains (losses) included in principal transactions 188 208 (137) 622
Other 0 0 0 0
Transfers into Level 3 74 (74) 174 (45)
Transfers out of Level 3 (83) 84 240 (409)
Purchases 9 67 (58) 120
Issuances 0 0 0 0
Sales (9) (98) (12) (142)
Settlements (79) (149) (155) (313)
Balance at end of period, asset (liability), net 330 255 330 255
Unrealized gains (losses) still held 18 246 (148) 410
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 (21) (4) (157) (31)
Net realized/unrealized gains (losses) included in principal transactions (154) 6 (146) (57)
Other 0 0 0 0
Transfers into Level 3 (20) (97) (3) (65)
Transfers out of Level 3 36 (164) 136 (151)
Purchases 0 0 2 0
Issuances 0 0 0 0
Sales 0 0 0 (1)
Settlements 4 (90) 13 (44)
Balance at end of period, asset (liability), net (155) (349) (155) (349)
Unrealized gains (losses) still held (215) (26) (203) (95)
Other financial liabilities measured on a recurring basis        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 20      
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0      
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities (1)      
Transfers into Level 3, liabilities 0      
Transfers out of Level 3, liabilities (1)      
Purchases, liability 0      
Issuance, liability 3      
Sales, liability 0      
Settlements, liability 0      
Balance at end of period, liability 23   23  
Unrealized gains (losses) still held, liabilities (1)      
Interest-bearing deposits        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 16 191 15 183
Net realized/unrealized gains (losses) included in principal transactions, liabilities (7) 0 (7) 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 7 (2) 3
Transfers into Level 3, liabilities 0 0 0 7
Transfers out of Level 3, liabilities 0 (122) (1) (122)
Purchases, liability 0 0 0 0
Issuance, liability 13 17 13 18
Sales, liability 0 0 0 0
Settlements, liability (10) (61) (10) (65)
Balance at end of period, liability 26 18 26 18
Unrealized gains (losses) still held, liabilities (7) 0 (7) 0
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 809 612 1,031 643
Net realized/unrealized gains (losses) included in principal transactions, liabilities 1 24 (6) 50
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 (24) (3) (24) (3)
Purchases, liability 511 16 1,335 16
Issuance, liability 0 0 0 0
Sales, liability 0 0 0 0
Settlements, liability (668) (8) (1,721) (13)
Balance at end of period, liability 627 593 627 593
Unrealized gains (losses) still held, liabilities 1 10 0 28
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 72 38 50 65
Net realized/unrealized gains (losses) included in principal transactions, liabilities 2 (8) (13) 21
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 5 10 11 35
Transfers out of Level 3, liabilities (15) (4) (31) (19)
Purchases, liability 33 30 64 83
Issuance, liability 0 0 0 0
Sales, liability 0 1 0 1
Settlements, liability (31) (11) (45) (72)
Balance at end of period, liability 62 72 62 72
Unrealized gains (losses) still held, liabilities 4 (12) 6 (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 1   3  
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0   2  
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0   0  
Transfers into Level 3, liabilities 3   3  
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 4   4  
Unrealized gains (losses) still held, liabilities (1)   0  
Short-term borrowings        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 281 36 38 105
Net realized/unrealized gains (losses) included in principal transactions, liabilities 13 1 40 89
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 19 12 19 40
Transfers out of Level 3, liabilities (11) (12) (16) (21)
Purchases, liability 0 0 0 0
Issuance, liability 21 69 297 76
Sales, liability 0 0 0 0
Settlements, liability (1) (23) (2) (30)
Balance at end of period, liability 296 81 296 81
Unrealized gains (losses) still held, liabilities (4) 2 (9) 1
Long-term debt        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Transfers out of Level 3 (1,300)   (6,100)  
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 36,581 27,432 36,117 25,509
Net realized/unrealized gains (losses) included in principal transactions, liabilities 893 4,719 (227) 8,245
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 2,130 3,335 3,228 6,743
Transfers out of Level 3, liabilities (1,263) (2,634) (6,106) (3,507)
Purchases, liability 0 0 0 0
Issuance, liability 808 6,527 4,344 9,699
Sales, liability 0 0 0 0
Settlements, liability (159) (163) (606) (421)
Balance at end of period, liability 37,204 29,778 37,204 29,778
Unrealized gains (losses) still held, liabilities 591 4,232 964 (4,197)
Other financial liabilities measured on a recurring basis        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability     2 1
Net realized/unrealized gains (losses) included in principal transactions, liabilities     0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities     1 1
Transfers into Level 3, liabilities     0 0
Transfers out of Level 3, liabilities     (1) 0
Purchases, liability     0 0
Issuance, liability     23 0
Sales, liability     0 0
Settlements, liability     0 0
Balance at end of period, liability 23 0 23 0
Unrealized gains (losses) still held, liabilities     (1) 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 153 202 149 231
Net realized/unrealized gains (losses) included in principal transactions (10) (12) 3 (1)
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 (2) 0 (2) 0
Purchases, assets 0 36 137 124
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets (1) (43) (147) (171)
Balance at end of period, asset 140 183 140 183
Unrealized gains (losses) still held, assets (8) (10) 5 (7)
Trading non-derivative assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 3,242 2,940 2,940 2,520
Net realized/unrealized gains (losses) included in principal transactions 377 64 476 118
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 484 1,045 953 1,455
Transfers out of Level 3, assets (332) (545) (729) (870)
Purchases, assets 963 1,044 1,816 2,361
Issuance, assets 0 6 0 16
Sales, assets (781) (1,066) (1,503) (2,108)
Settlements, assets 0 (4) 0 (8)
Balance at end of period, asset 3,953 3,484 3,953 3,484
Unrealized gains (losses) still held, assets 431 2 518 (43)
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 658 498 600 496
Net realized/unrealized gains (losses) included in principal transactions (32) (15) (10) (13)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 93 80 185 127
Transfers out of Level 3, assets (124) (89) (266) (158)
Purchases, assets 147 318 370 484
Issuance, assets 0 0 0 0
Sales, assets (83) (84) (220) (228)
Settlements, assets 0 0 0 0
Balance at end of period, asset 659 708 659 708
Unrealized gains (losses) still held, assets (24) (19) (35) (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 162 118 166 104
Net realized/unrealized gains (losses) included in principal transactions (2) 0 (1) 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 35 28 61 61
Transfers out of Level 3, assets (43) (11) (62) (32)
Purchases, assets 39 47 100 85
Issuance, assets 0 0 0 0
Sales, assets (46) (29) (119) (65)
Settlements, assets 0 0 0 0
Balance at end of period, asset 145 153 145 153
Unrealized gains (losses) still held, assets (3) (4) (13) (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 163 52 145 81
Net realized/unrealized gains (losses) included in principal transactions (10) (3) (15) (5)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 48 96 104 97
Transfers out of Level 3, assets (18) (8) (31) (34)
Purchases, assets 31 4 50 9
Issuance, assets 0 0 0 0
Sales, assets (32) (3) (71) (10)
Settlements, assets 0 0 0 0
Balance at end of period, asset 182 138 182 138
Unrealized gains (losses) still held, assets (7) (3) (13) (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 983 668 911 681
Net realized/unrealized gains (losses) included in principal transactions (44) (18) (26) (18)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 176 204 350 285
Transfers out of Level 3, assets (185) (108) (359) (224)
Purchases, assets 217 369 520 578
Issuance, assets 0 0 0 0
Sales, assets (161) (116) (410) (303)
Settlements, assets 0 0 0 0
Balance at end of period, asset 986 999 986 999
Unrealized gains (losses) still held, assets (34) (26) (61) (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 1 2 1 4
Net realized/unrealized gains (losses) included in principal transactions (1) 0 (1) (4)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 0 0 0 2
Transfers out of Level 3, assets 0 (1) 0 (1)
Purchases, assets 0 0 0 0
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets 0 0 0 0
Balance at end of period, asset 0 1 0 1
Unrealized gains (losses) still held, assets 0 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 23 6 7 37
Net realized/unrealized gains (losses) included in principal transactions (1) 4 (3) 5
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 0 71 19 71
Transfers out of Level 3, assets 0 0 0 (20)
Purchases, assets 0 0 0 1
Issuance, assets 0 0 0 0
Sales, assets (19) (1) (20) (14)
Settlements, assets 0 0 0 0
Balance at end of period, asset 3 80 3 80
Unrealized gains (losses) still held, assets 0 (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 53 94 119 23
Net realized/unrealized gains (losses) included in principal transactions (1) (27) 6 (26)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 8 249 8 299
Transfers out of Level 3, assets (2) (1) (27) (1)
Purchases, assets 49 57 61 87
Issuance, assets 0 0 0 0
Sales, assets (26) (8) (86) (18)
Settlements, assets 0 0 0 0
Balance at end of period, asset 81 364 81 364
Unrealized gains (losses) still held, assets (1) (12) 5 (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 296 1,013 394 412
Net realized/unrealized gains (losses) included in principal transactions 46 59 76 68
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 196 120 210 262
Transfers out of Level 3, assets (51) (244) (178) (278)
Purchases, assets 256 181 352 828
Issuance, assets 0 0 0 0
Sales, assets (162) (592) (273) (755)
Settlements, assets 0 0 0 0
Balance at end of period, asset 581 537 581 537
Unrealized gains (losses) still held, assets 88 38 153 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 225 199 192 174
Net realized/unrealized gains (losses) included in principal transactions 6 (9) 9 (14)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 14 14 26 63
Transfers out of Level 3, assets (2) (61) (8) (87)
Purchases, assets 66 58 97 108
Issuance, assets 0 0 0 0
Sales, assets (24) (68) (31) (111)
Settlements, assets 0 0 0 0
Balance at end of period, asset 285 133 285 133
Unrealized gains (losses) still held, assets 5 (23) 10 (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 567 466 668 613
Net realized/unrealized gains (losses) included in principal transactions (1) (24) 14 (19)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 74 82 79 140
Transfers out of Level 3, assets (18) (100) (81) (167)
Purchases, assets 197 262 318 393
Issuance, assets 0 0 0 0
Sales, assets (280) (132) (459) (406)
Settlements, assets 0 0 0 0
Balance at end of period, asset 539 554 539 554
Unrealized gains (losses) still held, assets (5) (26) 0 (45)
Trading non-derivative assets | Other debt securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1,094 492 648 576
Net realized/unrealized gains (losses) included in principal transactions 373 79 401 126
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 16 305 261 333
Transfers out of Level 3, assets (74) (30) (76) (92)
Purchases, assets 178 117 468 366
Issuance, assets 0 6 0 16
Sales, assets (109) (149) (224) (501)
Settlements, assets 0 (4) 0 (8)
Balance at end of period, asset 1,478 816 1,478 816
Unrealized gains (losses) still held, assets 378 54 411 75
Investments        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1,893 2,378 2,049 2,227
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 (16) (64) (3) (147)
Transfers into Level 3 15 100 28 415
Transfers out of Level 3, assets (24) (195) (161) (304)
Purchases, assets 457 223 738 410
Issuance, assets 0 0 0 0
Sales, assets (561) (179) (887) (338)
Settlements, assets 0 0 0 0
Balance at end of period, asset 1,764 2,263 1,764 2,263
Unrealized gains (losses) still held, assets (8) (45) 10 (85)
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 28 46 30 51
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 1 (2) (1) (9)
Transfers into Level 3 0 0 0 1
Transfers out of Level 3, assets 0 (10) 0 (10)
Purchases, assets 4 0 4 4
Issuance, assets 0 0 0 0
Sales, assets (1) (6) (1) (9)
Settlements, assets 0 0 0 0
Balance at end of period, asset 32 28 32 28
Unrealized gains (losses) still held, assets (1) (2) (4) (4)
Investments | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 25 44 41 94
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 0 (4) 0 (6)
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 0 0 (39)
Purchases, assets 0 0 0 0
Issuance, assets 0 0 0 0
Sales, assets 0 0 (16) (9)
Settlements, assets 0 0 0 0
Balance at end of period, asset 25 40 25 40
Unrealized gains (losses) still held, assets 0 (4) 0 (5)
Investments | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 0   0  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
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 0   0  
Unrealized gains (losses) still held, assets 0   0  
Investments | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 53 90 71 145
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 1 (6) (1) (15)
Transfers into Level 3 0 0 0 1
Transfers out of Level 3, assets 0 (10) 0 (49)
Purchases, assets 4 0 4 4
Issuance, assets 0 0 0 0
Sales, assets (1) (6) (17) (18)
Settlements, assets 0 0 0 0
Balance at end of period, asset 57 68 57 68
Unrealized gains (losses) still held, assets (1) (6) (4) (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 51 1 0 1
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 0 (1) 0 (1)
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 51 0
Issuance, assets 0 0 0 0
Sales, assets (30) 0 (30) 0
Settlements, assets 0 0 0 0
Balance at end of period, asset 21 0 21 0
Unrealized gains (losses) still held, assets 0 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 521 705 586 772
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 (8) (34) 9 (78)
Transfers into Level 3 0 0 1 0
Transfers out of Level 3, assets (2) (131) (77) (142)
Purchases, assets 0 1 1 1
Issuance, assets 0 0 0 0
Sales, assets (4) (2) (13) (14)
Settlements, assets 0 0 0 0
Balance at end of period, asset 507 539 507 539
Unrealized gains (losses) still held, assets (8) (14) 5 (47)
Investments | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 551 1,029 608 786
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 7 (15) 5 (39)
Transfers into Level 3 15 0 25 250
Transfers out of Level 3, assets (17) (54) (18) (113)
Purchases, assets 363 202 523 385
Issuance, assets 0 0 0 0
Sales, assets (505) (161) (729) (268)
Settlements, assets 0 0 0 0
Balance at end of period, asset 414 1,001 414 1,001
Unrealized gains (losses) still held, assets 7 (16) 8 (19)
Investments | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 291 237 343 188
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) (3) (1) (7)
Transfers into Level 3 0 100 0 153
Transfers out of Level 3, assets 0 0 (61) 0
Purchases, assets 23 0 81 0
Issuance, assets 0 0 0 0
Sales, assets (20) 0 (72) 0
Settlements, assets 0 0 0 0
Balance at end of period, asset 290 334 290 334
Unrealized gains (losses) still held, assets (4) (1) (4) (2)
Investments | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 12 16 10 16
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 1 (6) 3 (6)
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 0 0
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets 0 0 0 0
Balance at end of period, asset 13 10 13 10
Unrealized gains (losses) still held, assets (7) (7) 0 (7)
Investments | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1 2 1 3
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 0 (1) 0 11
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 0 0
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 (13)
Settlements, assets 0 0 0 0
Balance at end of period, asset 1 1 1 1
Unrealized gains (losses) still held, assets 0 0 0 0
Investments | Other debt securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 4   0  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 1   0  
Transfers into Level 3 0   0  
Transfers out of Level 3, assets (5)   (5)  
Purchases, assets 57   62  
Issuance, assets 0   0  
Sales, assets 0   0  
Settlements, assets 0   0  
Balance at end of period, asset 57   57  
Unrealized gains (losses) still held, assets 0   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 409 298 430 316
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 (14) 2 (18) (12)
Transfers into Level 3 0 0 2 11
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 10 20 16 20
Issuance, assets 0 0 0 0
Sales, assets (1) (10) (26) (25)
Settlements, assets 0 0 0 0
Balance at end of period, asset 404 310 404 310
Unrealized gains (losses) still held, assets 5 (1) 5 (1)
Loans        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 640 622 1,361 711
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 (281) (105) (264) (190)
Transfers into Level 3 2 1 2 1
Transfers out of Level 3, assets (119) (193) (309) (195)
Purchases, assets 0 0 0 0
Issuance, assets 0 1 106 1
Sales, assets 0 0 0 0
Settlements, assets (1) (1) (655) (3)
Balance at end of period, asset 241 325 241 325
Unrealized gains (losses) still held, assets (146) (7) (133) 166
Mortgage servicing rights        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 658 520 665 404
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 21 59 18 158
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 0 0
Issuance, assets 19 35 31 69
Sales, assets 0 0 0 0
Settlements, assets (17) (14) (33) (31)
Balance at end of period, asset 681 600 681 600
Unrealized gains (losses) still held, assets 22 59 20 157
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 52 68 57 73
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 1 4 (2) 7
Transfers into Level 3 0 7 0 7
Transfers out of Level 3, assets (1) (12) (2) (16)
Purchases, assets 21 13 22 14
Issuance, assets 0 15 0 40
Sales, assets 0 0 (2) (1)
Settlements, assets 0 (32) 0 (61)
Balance at end of period, asset 73 63 73 63
Unrealized gains (losses) still held, assets $ 0 $ 7 $ 0 $ 48