Quarterly report pursuant to Section 13 or 15(d)

Fair Value, Measurement Inputs, Disclosure (Details)

v3.5.0.2
Fair Value, Measurement Inputs, Disclosure (Details) - USD ($)
$ in Thousands
Sep. 30, 2016
Jun. 30, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Dec. 31, 2014
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 74.10%          
Mortgage Loans Held-for-sale Categorized as Level 2 Assets 90.70%          
Mortgage Loans Held-for-sale Categorized as Level 3 Assets 9.30%          
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 $ 22,062,904 $ 26,141,370 $ 21,998,381 $ 28,317,580 $ 27,401,335 $ 48,115,523
Forward Purchase Commitments Categorized as Level 2 Assets (Liabilities) 100.00%          
Collateralized Borrowings in Securitization Trust Categorized as Level 2 Liabilities 100.00%          
Available-for-sale securities, at fair value $ 14,284,625   7,825,320      
Mortgage servicing rights, at fair value 455,629 427,813 493,688 447,345 437,576 452,006
Loan Purchase Commitments [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Derivative, Notional Amount 61,403 $ 636,467 286,120 $ 501,192 $ 626,660 $ 554,838
Derivative Financial Instruments, Liabilities [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Derivative, Notional Amount 9,221,580   1,362,384      
Derivative, Fair Value, Net (39,918)   (7,285)      
Derivative Financial Instruments, Liabilities [Member] | Loan Purchase Commitments [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Derivative, Notional Amount 15,269   187,384      
Derivative, Fair Value, Net (40)   (427)      
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 14,284,625   7,825,320      
Residential mortgage loans held-for-sale 723,174   811,431      
Residential mortgage loans held-for-investment in securitization trust 3,620,037   3,173,727      
Mortgage servicing rights, at fair value 455,629   493,688      
Derivative assets 199,013   271,509      
Assets, Fair Value Disclosure 19,282,478   12,575,675      
Collateralized borrowings in securitization trust 3,375,906   2,000,110      
Derivative liabilities 39,918   7,285      
Liabilities, Fair Value Disclosure 3,415,824   2,007,395      
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 17,527   1,074      
Assets, Fair Value Disclosure 17,527   1,074      
Collateralized borrowings in securitization trust 0   0      
Derivative liabilities 4,340   1,324      
Liabilities, Fair Value Disclosure 4,340   1,324      
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 14,284,625   7,825,320      
Residential mortgage loans held-for-sale 655,751   764,319      
Residential mortgage loans held-for-investment in securitization trust 3,620,037   3,173,727      
Mortgage servicing rights, at fair value 0   0      
Derivative assets 181,486   270,435      
Assets, Fair Value Disclosure 18,741,899   12,033,801      
Collateralized borrowings in securitization trust 3,375,906   2,000,110      
Derivative liabilities 35,578   5,961      
Liabilities, Fair Value Disclosure 3,411,484   2,006,071      
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 67,423   47,112      
Residential mortgage loans held-for-investment in securitization trust 0   0      
Mortgage servicing rights, at fair value 455,629   493,688      
Derivative assets 0   0      
Assets, Fair Value Disclosure 523,052   540,800      
Collateralized borrowings in securitization trust 0   0      
Derivative liabilities 0   0      
Liabilities, Fair Value Disclosure $ 0   $ 0