Investments in Securities and Other Assets | INVESTMENTS IN SECURITIES The available-for-sale portfolio consisted of the following as of June 30, 2016 and December 31, 2015 (in thousands): June 30, 2016 Asset Type Amortized Cost Gross Unrealized Loss Gross Unrealized Gain Fair Value Fannie Mae Certificates Fixed Rate $ 9,902,622 $ ā $ 192,392 $ 10,095,014 ARMs 274,907 ā 3,707 278,614 Total Fannie Mae 10,177,529 ā 196,099 10,373,628 Freddie Mac Certificates Fixed Rate 1,406,092 (7 ) 29,019 1,435,104 ARMs 28,752 ā 808 29,560 Total Freddie Mac 1,434,844 (7 ) 29,827 1,464,664 Ginnie Mae Certificates - ARMs 41,016 ā 625 41,641 Total Agency RMBS 11,653,389 (7 ) 226,551 11,879,933 U.S. Treasuries 881,059 ā 3,154 884,213 Total $ 12,534,448 $ (7 ) $ 229,705 $ 12,764,146 December 31, 2015 Asset Type Amortized Cost Gross Unrealized Loss Gross Unrealized Gain Fair Value Fannie Mae Certificates Fixed Rate $ 11,142,798 $ (45,018 ) $ 74,891 $ 11,172,671 ARMs 260,394 (1,859 ) 1,860 260,395 Total Fannie Mae 11,403,192 (46,877 ) 76,751 11,433,066 Freddie Mac Certificates Fixed Rate 1,379,566 (3,881 ) 11,822 1,387,507 ARMs 60,821 (727 ) 749 60,843 Total Freddie Mac 1,440,387 (4,608 ) 12,571 1,448,350 Ginnie Mae Certificates - ARMs 45,784 ā 796 46,580 Total Agency RMBS 12,889,363 (51,485 ) 90,118 12,927,996 U.S. Treasuries 99,847 (136 ) ā 99,711 Total $ 12,989,210 $ (51,621 ) $ 90,118 $ 13,027,707 The following table presents the gross unrealized loss and fair values of our available-for-sale Agency RMBS by length of time that such securities have been in a continuous unrealized loss position as of June 30, 2016 and December 31, 2015 (in thousands): Unrealized loss positions for Less than 12 Months Greater than 12 months Total As of Fair value Unrealized loss Fair value Unrealized loss Fair value Unrealized loss June 30, 2016 $ 3,581 $ (7 ) $ ā $ ā $ 3,581 $ (7 ) December 31, 2015 6,718,658 (50,318 ) 86,300 (1,303 ) 6,804,958 (51,621 ) The following table summarizes our net realized gain (loss) from the sale of available-for-sale investments for the three and six months ended June 30, 2016 and 2015 (in thousands): Three Months Ended June 30, Six Months Ended June 30, 2016 2015 2016 2015 Available-for-sale investments, at cost $ 5,408,055 $ 7,338,701 $ 6,805,243 $ 13,338,664 Proceeds from sale of available-for-sale investments 5,444,414 7,348,136 6,842,804 13,366,352 Net realized gain (loss) on sale of available-for-sale investments $ 36,359 $ 9,435 37,561 27,688 Gross gain on sale of available-for-sale investments $ 36,743 $ 28,403 42,126 62,382 Gross (loss) on sale of available-for-sale investments (384 ) (18,968 ) (4,565 ) (34,694 ) Net realized gain (loss) on sale of available-for-sale investments $ 36,359 $ 9,435 $ 37,561 $ 27,688 The components of the carrying value of available-for-sale securities at June 30, 2016 and December 31, 2015 are presented below. A premium purchase price is generally due to the average coupon interest rates on these investments being higher than prevailing market rates; similarly, a discount purchase price is generally due to the average coupon interest rate on these investments being lower than prevailing market rates. (in thousands) June 30, 2016 December 31, 2015 Principal balance $ 12,108,771 $ 12,527,932 Unamortized premium 425,792 462,631 Unamortized discount (115 ) (273 ) Gross unrealized gains 229,705 89,038 Gross unrealized losses (7 ) (51,621 ) Fair value $ 12,764,146 $ 13,027,707 The weighted-average coupon interest rate on the Company's Debt Securities as of June 30, 2016 and December 31, 2015 was 3.15% and 3.39% , respectively. Actual maturities of Agency RMBS are generally shorter than their stated contractual maturities (which range up to 30 years), because they are affected by the contractual lives of the underlying mortgages, periodic payments and principal prepayments. As of June 30, 2016 and December 31, 2015 , the range of final contractual maturities of the Companyās Agency RMBS portfolio was between 2024 and 2046 , and the final maturities of the Company's U.S. Treasuries was 2019 and 2017 , respectively. Credit Risk The Company believes it has minimal exposure to credit losses on its investment securities assets at June 30, 2016 and December 31, 2015 because it principally owns Debt Securities. Principal and interest payments on Agency RMBS are guaranteed by Freddie Mac and Fannie Mae, while principal and interest payments on Ginnie Mae RMBS and U.S. Treasuries are backed by the full faith and credit of the U.S. government. In September 2008, both Freddie Mac and Fannie Mae were placed in the conservatorship of the U.S. government. On August 5, 2011, Standard & Poorās ("S&P") downgraded the U.S. governmentās credit rating for the first time to AA+. Fitch Ratings Inc. ("Fitch") announced on October 15, 2013 that it had placed the U.S. government's credit rating on "negative watch". This was changed to "stable" on March 21, 2014 and Fitch reaffirmed the "stable outlook" on April 12, 2016. As of June 30, 2016 and December 31, 2015, S&P maintained a AA+ rating, while Fitch and Moody's rate the U.S. government AAA and Aaa, respectively. Because Fannie Mae and Freddie Mac remain under U.S. government conservatorship, the implied credit ratings of Agency RMBS are similarly rated. While the conservatorship, ratings downgrade and ratings watch appear not to have had a significant impact on the fair value of the Agency RMBS or U.S. Treasuries in the Companyās portfolio, these developments create a level of uncertainty regarding the credit risk of Debt Securities. |