Quarterly report pursuant to Section 13 or 15(d)

Fair Value, Measurement Inputs, Disclosure (Details)

v3.7.0.1
Fair Value, Measurement Inputs, Disclosure (Details) - USD ($)
$ in Thousands
Mar. 31, 2017
Dec. 31, 2016
Mar. 31, 2016
Dec. 31, 2015
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale Securities Categorized as Level 2 Assets 100.00%      
Assets Reported at Fair Value, Available-for-sale Securities 80.40%      
Mortgage Loans Held-for-sale Categorized as Level 2 Assets 1.50%      
Mortgage Loans Held-for-sale Categorized as Level 3 Assets 98.50%      
Mortgage Loans Held-for-investment Categorized as Level 2 Assets 100.00%      
Mortgage Servicing Rights Categorized as Level 3 Assets 100.00%      
Interest Rate Swaps, Swaptions and Credit Default Swaps Categorized as Level 2 Assets (Liabilities) 100.00%      
Inverse Interest-only Securities Categorized as Level 2 Assets 100.00%      
Agency To-be-Announced Securities Categorized as Level 1 Assets (Liabilities) 100.00%      
Derivative, Notional Amount $ 15,935,535 $ 18,802,500 $ 26,390,596 $ 21,998,381
Collateralized Borrowings in Securitization Trust Categorized as Level 2 Liabilities 100.00%      
Available-for-sale securities, at fair value $ 17,318,697 13,128,857    
Mortgage servicing rights, at fair value 747,580 693,815 446,170 493,688
Loan Purchase Commitments [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Derivative, Notional Amount     $ 252,212 $ 286,120
Derivative Financial Instruments, Liabilities [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Derivative, Notional Amount 4,105,269 3,543,593    
Derivative, Fair Value, Net (20,363) (12,501)    
Fair Value, Measurements, Recurring [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities, at fair value 17,318,697 13,128,857    
Residential mortgage loans held-for-sale 32,686 40,146    
Residential mortgage loans held-for-investment in securitization trust 3,181,811 3,271,317    
Mortgage servicing rights, at fair value 747,580 693,815    
Derivative assets 253,564 324,182    
Assets, Fair Value Disclosure 21,534,338 17,458,317    
Collateralized borrowings in securitization trust 2,941,990 3,037,196    
Derivative liabilities 20,363 12,501    
Liabilities, Fair Value Disclosure 2,962,353 3,049,697    
Fair Value, Measurements, Recurring [Member] | Fair Value, Inputs, Level 1 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities, at fair value 0 0    
Residential mortgage loans held-for-sale 0 0    
Residential mortgage loans held-for-investment in securitization trust 0 0    
Mortgage servicing rights, at fair value 0 0    
Derivative assets 0 4,294    
Assets, Fair Value Disclosure 0 4,294    
Collateralized borrowings in securitization trust 0 0    
Derivative liabilities 8,103 10,344    
Liabilities, Fair Value Disclosure 8,103 10,344    
Fair Value, Measurements, Recurring [Member] | Fair Value, Inputs, Level 2 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities, at fair value 17,318,697 13,128,857    
Residential mortgage loans held-for-sale 487 925    
Residential mortgage loans held-for-investment in securitization trust 3,181,811 3,271,317    
Mortgage servicing rights, at fair value 0 0    
Derivative assets 253,564 319,888    
Assets, Fair Value Disclosure 20,754,559 16,720,987    
Collateralized borrowings in securitization trust 2,941,990 3,037,196    
Derivative liabilities 12,260 2,157    
Liabilities, Fair Value Disclosure 2,954,250 3,039,353    
Fair Value, Measurements, Recurring [Member] | Fair Value, Inputs, Level 3 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities, at fair value 0 0    
Residential mortgage loans held-for-sale 32,199 39,221    
Residential mortgage loans held-for-investment in securitization trust 0 0    
Mortgage servicing rights, at fair value 747,580 693,815    
Derivative assets 0 0    
Assets, Fair Value Disclosure 779,779 733,036    
Collateralized borrowings in securitization trust 0 0    
Derivative liabilities 0 0    
Liabilities, Fair Value Disclosure $ 0 $ 0