XML 61 R49.htm IDEA: XBRL DOCUMENT v3.8.0.1
Mortgage-Backed and Credit Risk Transfer Securities - Realized Gain (Loss) on Investments (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Schedule of Available-for-sale Securities [Line Items]    
Gross realized gains on sale of investments $ 0 $ 904
Gross realized losses on sale of investments (9,237) (1,911)
Other-than-temporary impairment losses (4,359) (532)
Net unrealized gains and losses on trading securities (13) 9
Total gain (loss) on investments, net (160,370) (1,853)
MBS    
Schedule of Available-for-sale Securities [Line Items]    
Net unrealized gains and losses on securities accounted for under the fair value option (147,195) (3,602)
GSE CRT    
Schedule of Available-for-sale Securities [Line Items]    
Net unrealized gains and losses on securities accounted for under the fair value option $ 434 $ 3,279