Quarterly report pursuant to Section 13 or 15(d)

Fair Value by Balance Sheet Grouping (Details)

v3.7.0.1
Fair Value by Balance Sheet Grouping (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Available-for-sale securities, at fair value $ 16,427,710   $ 13,128,857      
Commercial real estate assets 1,782,749 $ 1,548,603 1,412,543 $ 926,377 $ 744,259 $ 660,953
Commercial real estate assets, at fair value 1,796,033   1,411,733      
Mortgage servicing rights, at fair value 898,025 $ 747,580 693,815 427,813 $ 446,170 493,688
Residential mortgage loans held-for-investment in securitization trusts, at fair value 3,120,410   3,271,317      
Residential mortgage loans held-for-sale, at fair value 31,946   40,146 609,060   811,431
Cash and cash equivalents 651,707   406,883      
Restricted cash 249,728   408,312 $ 363,166   $ 262,562
Derivative assets, at fair value 240,502   324,182      
Federal Home Loan Bank stock 134,776   167,856      
Equity investments 3,000   3,000      
Repurchase agreements 13,316,881   9,316,351      
Collateralized borrowings in securitization trusts, at fair value 2,880,301   3,037,196      
Federal Home Loan Bank advances 3,238,762   4,000,000      
Revolving credit facilities 40,000   70,000      
Convertible senior notes 282,290   0      
Convertible senior notes, at fair value 303,689   0      
Derivative liabilities, at fair value 2,580   12,501      
Federal Home Loan Bank of Des Moines [Member]            
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Federal Home Loan Bank stock 134,776   167,856      
Federal Home Loan Bank advances $ 3,238,762   $ 4,000,000