Annual report pursuant to Section 13 and 15(d)

Fair Value by Balance Sheet Grouping (Details)

v3.6.0.2
Fair Value by Balance Sheet Grouping (Details) - USD ($)
$ in Thousands
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Available-for-sale securities, at fair value $ 13,128,857 $ 7,825,320    
Residential mortgage loans held-for-sale, at fair value 40,146 811,431    
Residential mortgage loans held-for-investment in securitization trusts, at fair value 3,271,317 3,173,727    
Commercial real estate assets 1,412,543 660,953 $ 0 $ 0
Commercial real estate assets, at fair value 1,411,733      
Mortgage servicing rights, at fair value 693,815 493,688 452,006 514,402
Cash and cash equivalents 406,883 737,831 $ 1,005,792 $ 1,025,487
Restricted cash 408,312 262,562    
Derivative assets, at fair value 324,182 271,509    
Federal Home Loan Bank stock 167,856 156,650    
Cost Method Investments 3,000 3,000    
Repurchase agreements 9,316,351 5,008,274    
Collateralized borrowings in securitization trusts, at fair value 3,037,196 2,000,110    
Federal Home Loan Bank advances 4,000,000 3,785,000    
Revolving credit facilities 70,000 0    
Derivative liabilities, at fair value 12,501 7,285    
Federal Home Loan Bank of Des Moines [Member]        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Federal Home Loan Bank stock 167,856 156,650    
Federal Home Loan Bank advances $ 4,000,000 $ 3,785,000