Quarterly report pursuant to Section 13 or 15(d)

FAIR VALUE MEASUREMENT - Schedule of Inputs Used In Valuing Residential Mortgage Loans, Derivatives, and Mortgage Backed Securities (Details)

v3.19.1
FAIR VALUE MEASUREMENT - Schedule of Inputs Used In Valuing Residential Mortgage Loans, Derivatives, and Mortgage Backed Securities (Details)
$ in Thousands
Mar. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Securities, fair value $ 9,747,450 $ 11,636,581
Residential Mortgage Loans Held-for-Sale, At Fair Value    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held-for-sale, fair value 2,832,612  
Residential Mortgage Loans, Held-for-Investment, at Fair Value    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans, held-for-investment, fair value $ 119,512  
Residential Mortgage Loans, Held-for-Investment, at Fair Value | Discount Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for investment, measurement input 0.0400  
Residential Mortgage Loans, Held-for-Investment, at Fair Value | Prepayment Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for investment, measurement input 0.075  
Residential Mortgage Loans, Held-for-Investment, at Fair Value | Delinquency    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for investment, measurement input 0.001  
Residential Mortgage Loans, Held-for-Investment, at Fair Value | Loss Severity    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for investment, measurement input 0.200  
IRLCs    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Derivative, fair value $ 13,834  
IRLCs | Minimum | Loan Funding Probability    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Derivative, measurement input 0.54  
IRLCs | Minimum | Fair Value of Initial Servicing Rights    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Derivative, measurement input 0  
IRLCs | Maximum | Loan Funding Probability    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Derivative, measurement input 1.00  
IRLCs | Maximum | Fair Value of Initial Servicing Rights    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Derivative, measurement input 0.0320  
Mortgage-Backed Securities Issued    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Fair Value $ 116,124  
Mortgage-Backed Securities Issued | Loss Severity    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Securities, measurement input 0.100  
Mortgage-Backed Securities Issued | Minimum | Discount Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Securities, measurement input 0.0350  
Mortgage-Backed Securities Issued | Minimum | Prepayment Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Securities, measurement input 0.090  
Mortgage-Backed Securities Issued | Minimum | Delinquency    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Securities, measurement input 0.0000  
Mortgage-Backed Securities Issued | Maximum | Discount Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Securities, measurement input 0.0525  
Mortgage-Backed Securities Issued | Maximum | Prepayment Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Securities, measurement input 0.120  
Mortgage-Backed Securities Issued | Maximum | Delinquency    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Securities, measurement input 0.0025  
Receivables Acquired with Deteriorated Credit Quality | Residential Mortgage Loans Held-for-Sale, At Fair Value    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held-for-sale, fair value $ 2,375,501  
Receivables Acquired with Deteriorated Credit Quality | Residential Mortgage Loans Held-for-Sale, At Fair Value | Discount Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.0440  
Receivables Acquired with Deteriorated Credit Quality | Residential Mortgage Loans Held-for-Sale, At Fair Value | Prepayment Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.072  
Receivables Acquired with Deteriorated Credit Quality | Residential Mortgage Loans Held-for-Sale, At Fair Value | Delinquency    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.017  
Receivables Acquired with Deteriorated Credit Quality | Residential Mortgage Loans Held-for-Sale, At Fair Value | Loss Severity    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.364  
Originated | Residential Mortgage Loans Held-for-Sale, At Fair Value    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held-for-sale, fair value $ 457,111  
Originated | Residential Mortgage Loans Held-for-Sale, At Fair Value | Minimum | Discount Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.0325  
Originated | Residential Mortgage Loans Held-for-Sale, At Fair Value | Minimum | Prepayment Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.1000  
Originated | Residential Mortgage Loans Held-for-Sale, At Fair Value | Minimum | Delinquency    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.0000  
Originated | Residential Mortgage Loans Held-for-Sale, At Fair Value | Minimum | Loss Severity    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.000  
Originated | Residential Mortgage Loans Held-for-Sale, At Fair Value | Maximum | Discount Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.0450  
Originated | Residential Mortgage Loans Held-for-Sale, At Fair Value | Maximum | Prepayment Rate    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.9000  
Originated | Residential Mortgage Loans Held-for-Sale, At Fair Value | Maximum | Delinquency    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.040  
Originated | Residential Mortgage Loans Held-for-Sale, At Fair Value | Maximum | Loss Severity    
Fair Value Measurement Inputs and Valuation Techniques [Line Items]    
Loans held for sale, measurement input 0.500