Annual report pursuant to Section 13 and 15(d)

INVESTMENTS IN RESIDENTIAL MORTGAGE LOANS AND REAL ESTATE OWNED - Activities Related to the Carrying Value of Loans Held-for-sale (Details)

v3.19.3.a.u2
INVESTMENTS IN RESIDENTIAL MORTGAGE LOANS AND REAL ESTATE OWNED - Activities Related to the Carrying Value of Loans Held-for-sale (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Loans Held-for-sale, Reconciliation [Roll Forward]      
Transfers of loans from held-for-investment $ 9,136 $ 23,080 $ 23,080
Transfer of loans to real estate owned (86,167) (107,577)  
Loans Held-for-sale      
Loans Held-for-sale, Reconciliation [Roll Forward]      
Beginning balance, loans held-for-sale 932,480 1,725,534  
Purchases 1,124,099 3,653,608  
Ditech Acquisition 9,136    
Transfers of loans from held-for-investment 80,659 28,603  
Sales (495,925) (4,205,375)  
Transfer of loans to other assets (10,154) (9,811)  
Transfer of loans to real estate owned (49,459) (54,114)  
Proceeds from repayments (184,683) (195,797)  
Valuation (provision) reversal on loans 22,899 (10,168)  
Ending balance, loans held-for-sale 1,429,052 932,480 $ 1,725,534
Provision for loans held-for-sale $ 5,200 $ 59,200