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
Mar. 31, 2017
Dec. 31, 2016
Mar. 31, 2016
Dec. 31, 2015
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Available-for-sale securities, at fair value $ 17,318,697 $ 13,128,857    
Residential mortgage loans held-for-sale, at fair value 32,686 40,146 $ 387,259 $ 811,431
Residential mortgage loans held-for-investment in securitization trusts, at fair value 3,181,811 3,271,317    
Commercial real estate assets 1,548,603 1,412,543 744,259 660,953
Commercial real estate assets, at fair value 1,559,072 1,411,733    
Mortgage servicing rights, at fair value 747,580 693,815 446,170 493,688
Cash and cash equivalents 405,110 406,883    
Restricted cash 381,664 408,312 $ 281,145 $ 262,562
Derivative assets, at fair value 253,564 324,182    
Federal Home Loan Bank stock 148,096 167,856    
Cost Method Investments 3,000 3,000    
Repurchase agreements 13,640,720 9,316,351    
Collateralized borrowings in securitization trusts, at fair value 2,941,990 3,037,196    
Federal Home Loan Bank advances 3,571,762 4,000,000    
Revolving credit facilities 15,000 70,000    
Convertible senior notes 282,263 0    
Convertible senior notes, at fair value 295,981 0    
Derivative liabilities, at fair value 20,363 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 148,096 167,856    
Federal Home Loan Bank advances $ 3,571,762 $ 4,000,000