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
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Jun. 30, 2015
Mar. 31, 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.40%          
Mortgage Loans Held-for-sale Categorized as Level 2 Assets 89.10%          
Mortgage Loans Held-for-sale Categorized as Level 3 Assets 10.90%          
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 $ 26,141,370 $ 26,390,596 $ 21,998,381 $ 27,401,335 $ 33,709,043 $ 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 $ 13,656,610   7,825,320      
Mortgage servicing rights 427,813 446,170 493,688 437,576 410,229 452,006
Loan Purchase Commitments [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Derivative, Notional Amount 636,467 $ 252,212 286,120 $ 626,660 $ 707,304 $ 554,838
Derivative Financial Instruments, Liabilities [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Derivative, Notional Amount 15,145,264   1,362,384      
Derivative, Fair Value, Net (160,724)   (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 115,227   187,384      
Derivative, Fair Value, Net (70)   (427)      
Fair Value, Measurements, Recurring [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Available-for-sale Securities 13,656,610   7,825,320      
Residential mortgage loans held-for-sale 609,060   811,431      
Residential mortgage loans held-for-investment in securitization trust 3,446,712   3,173,727      
Mortgage servicing rights 427,813   493,688      
Derivative assets 223,985   271,509      
Assets, Fair Value Disclosure 18,364,180   12,575,675      
Collateralized borrowings in securitization trust 3,111,861   2,000,110      
Derivative liabilities 160,724   7,285      
Liabilities, Fair Value Disclosure 3,272,585   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 0   0      
Residential mortgage loans held-for-sale 0   0      
Residential mortgage loans held-for-investment in securitization trust 0   0      
Mortgage servicing rights 0   0      
Derivative assets 16,597   1,074      
Assets, Fair Value Disclosure 16,597   1,074      
Collateralized borrowings in securitization trust 0   0      
Derivative liabilities 21,707   1,324      
Liabilities, Fair Value Disclosure 21,707   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 13,656,610   7,825,320      
Residential mortgage loans held-for-sale 542,691   764,319      
Residential mortgage loans held-for-investment in securitization trust 3,446,712   3,173,727      
Mortgage servicing rights 0   0      
Derivative assets 207,388   270,435      
Assets, Fair Value Disclosure 17,853,401   12,033,801      
Collateralized borrowings in securitization trust 3,111,861   2,000,110      
Derivative liabilities 139,017   5,961      
Liabilities, Fair Value Disclosure 3,250,878   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 0   0      
Residential mortgage loans held-for-sale 66,369   47,112      
Residential mortgage loans held-for-investment in securitization trust 0   0      
Mortgage servicing rights 427,813   493,688      
Derivative assets 0   0      
Assets, Fair Value Disclosure 494,182   540,800      
Collateralized borrowings in securitization trust 0   0      
Derivative liabilities 0   0      
Liabilities, Fair Value Disclosure $ 0   $ 0