Quarterly report pursuant to Section 13 or 15(d)

Fair Value (Notes)

v2.4.0.8
Fair Value (Notes)
6 Months Ended
Jun. 30, 2014
Fair Value Disclosures [Abstract]  
Fair Value
Fair Value
Fair Value Measurements
ASC 820, Fair Value Measurements and Disclosures, or ASC 820, defines fair value as the price that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date. ASC 820 clarifies that fair value should be based on the assumptions market participants would use when pricing an asset or liability and establishes a fair value hierarchy that prioritizes the information used to develop those assumptions. The fair value hierarchy gives the highest priority to quoted prices available in active markets (i.e., observable inputs) and the lowest priority to data lacking transparency (i.e., unobservable inputs). Additionally, ASC 820 requires an entity to consider all aspects of nonperformance risk, including the entity’s own credit standing, when measuring fair value of a liability.
ASC 820 establishes a three level hierarchy to be used when measuring and disclosing fair value. An instrument’s categorization within the fair value hierarchy is based on the lowest level of significant input to its valuation. Following is a description of the three levels:

Level 1
Inputs are quoted prices in active markets for identical assets or liabilities as of the measurement date under current market conditions. Additionally, the entity must have the ability to access the active market and the quoted prices cannot be adjusted by the entity.
Level 2
Inputs include quoted prices in active markets for similar assets or liabilities; quoted prices in inactive markets for identical or similar assets or liabilities; or inputs that are observable or can be corroborated by observable market data by correlation or other means for substantially the full-term of the assets or liabilities.
Level 3
Unobservable inputs are supported by little or no market activity. The unobservable inputs represent the assumptions that market participants would use to price the assets and liabilities, including risk. Generally, Level 3 assets and liabilities are valued using pricing models, discounted cash flow methodologies, or similar techniques that require significant judgment or estimation.

Following are descriptions of the valuation methodologies used to measure material assets and liabilities at fair value and details of the valuation models, key inputs to those models and significant assumptions utilized.
Investment securities - The Company holds a portfolio of AFS and trading securities that are carried at fair value in the condensed consolidated balance sheet. AFS securities are primarily comprised of Agency and non-Agency RMBS while the Company’s U.S. Treasuries are classified as trading securities. The Company determines the fair value of its U.S. Treasuries and Agency RMBS based upon prices obtained from third-party pricing providers or broker quotes received using bid price, which are deemed indicative of market activity. The third-party pricing providers and brokers use pricing models that generally incorporate such factors as coupons, primary and secondary mortgage rates, rate reset period, issuer, prepayment speeds, credit enhancements and expected life of the security. In determining the fair value of its non-Agency RMBS, management judgment is used to arrive at fair value that considers prices obtained from third-party pricing providers, broker quotes received and other applicable market data. If observable market prices are not available or insufficient to determine fair value due to principally illiquidity in the marketplace, then fair value is based upon internally developed models that are primarily based on observable market-based inputs but also include unobservable market data inputs (including prepayment speeds, delinquency levels, and credit losses). The Company classified 100% of its U.S. Treasuries as Level 1 fair value assets at June 30, 2014. The Company classified 100% of its RMBS AFS securities reported at fair value as Level 2 at June 30, 2014. AFS and trading securities account for 81.2% and 6.2%, respectively, of all assets reported at fair value at June 30, 2014.
Equity securities - The Company previously held shares of Silver Bay common stock that were carried at fair value in the condensed consolidated balance sheet as a result of a fair value option election. The Company determined fair value of these equity securities based on the closing market price at period end. Because the shares were distributed to the Company’s stockholders in April 2013, equity securities are no longer recognized on the condensed consolidated balance sheet.
Mortgage loans held-for-sale - The Company holds a portfolio of mortgage loans held-for-sale that are carried at fair value in the condensed consolidated balance sheet as a result of a fair value option election. The Company determines fair value of its mortgage loans based on prices obtained from third-party pricing providers and other applicable market data. If observable market prices are not available or insufficient to determine fair value due principally to illiquidity in the marketplace, then fair value is based upon cash flow models that are primarily based on observable market-based inputs but also include unobservable market data inputs (including prepayment speeds, delinquency levels and credit losses). The Company classified 94.3% and 5.7% of its mortgage loans held-for-sale as Level 2 and Level 3 fair value assets, respectively, at June 30, 2014.
Mortgage loans held-for-investment in securitization trusts - The Company recognizes on its condensed consolidated balance sheet mortgage loans held-for-investment in securitization trusts that are carried at fair value as a result of a fair value option election. The Company determines fair value of its mortgage loans based on prices obtained from third-party pricing providers and other applicable market data. If observable market prices are not available or insufficient to determine fair value due principally to illiquidity in the marketplace, then fair value is based upon cash flow models that are primarily based on observable market-based inputs but also include unobservable market data inputs (including prepayment speeds, delinquency levels and credit losses). The Company classified 100% of its mortgage loans held-for-investment in securitization trusts as Level 2 fair value assets at June 30, 2014.
Mortgage servicing rights - The Company holds a portfolio of MSR that are carried at fair value on the condensed consolidated balance sheet. Although MSR transactions are observable in the marketplace, the valuation includes unobservable market data inputs (prepayment speeds, delinquency levels and discount rates). As a result, the Company classified 100% of its MSR as Level 3 fair value assets at June 30, 2014.
Derivative instruments - The Company may enter into a variety of derivative financial instruments as part of its hedging strategies. The Company principally executes over-the-counter, or OTC, derivative contracts, such as interest rate swaps, swaptions, put and call options for TBAs, credit default swaps, constant maturity swaps and Markit IOS total return swaps. The Company utilizes third-party pricing providers to value its financial derivative instruments. The Company classified 100% of the interest rate swaps, swaptions, put and call options for TBAs, credit default swaps, constant maturity swaps and total returns swaps reported at fair value as Level 2 at June 30, 2014.
The Company also enters into certain other derivative financial instruments, such as TBAs and inverse interest-only securities. These instruments are similar in form to the Company’s AFS securities and the Company utilizes a pricing service to value TBAs and broker quotes to value inverse interest-only securities. The Company classified 100% of its inverse interest-only securities at fair value as Level 2 at June 30, 2014. The Company reported 100% of its TBAs as Level 1 as of June 30, 2014.
The Company may also enter into forward purchase commitments on mortgage loans whereby the Company commits to purchasing the loans at a particular interest rate. The fair value of these derivatives is determined based on prices currently offered in the marketplace for new commitments. Fallout assumptions if the borrower elects not to close the loan are applied to the pricing. As of June 30, 2014, the Company had outstanding commitments to purchase $647.9 million of mortgage loans, subject to fallout if the loans do not close, with a fair value asset of $3.4 million. The Company classified 100% of the forward purchase commitments reported at fair value as Level 2 at June 30, 2014.
The Company’s risk management committee governs trading activity relating to derivative instruments. The Company’s policy is to minimize credit exposure related to financial derivatives used for hedging by limiting the hedge counterparties to major banks, financial institutions, exchanges, and private investors who meet established capital and credit guidelines as well as by limiting the amount of exposure to any individual counterparty.
The Company has netting arrangements in place with all derivative counterparties pursuant to standard documentation developed by ISDA. Additionally, both the Company and the counterparty are required to post cash collateral based upon the net underlying market value of the Company’s open positions with the counterparty. Posting of cash collateral typically occurs daily, subject to certain dollar thresholds. Due to the existence of netting arrangements, as well as frequent cash collateral posting at low posting thresholds, credit exposure to the Company and/or to the counterparty is considered materially mitigated. Based on the Company’s assessment, there is no requirement for any additional adjustment to derivative valuations specifically for credit.
Collateralized borrowings in securitization trusts - The Company recognizes on its condensed consolidated balance sheet collateralized borrowings that are carried at fair value as a result of a fair value option election. The Company determines fair value of its collateralized borrowings based on prices obtained from third-party pricing providers, broker quotes received and other applicable market data. If observable market prices are not available or insufficient to determine fair value due to principally illiquidity in the marketplace, then fair value is based upon internally developed models that are primarily based on observable market-based inputs but also include unobservable market data inputs (including prepayment speeds, delinquency levels, and credit losses). The Company classified 100% of its collateralized borrowings in securitization trusts as Level 2 fair value liabilities at June 30, 2014.
The following tables display the Company’s assets and liabilities measured at fair value on a recurring basis. The Company often economically hedges the fair value change of its assets or liabilities with derivatives and other financial instruments. The tables below display the hedges separately from the hedged items, and therefore do not directly display the impact of the Company’s risk management activities.
 
Recurring Fair Value Measurements
 
At June 30, 2014
(in thousands)
Level 1
 
Level 2
 
Level 3
 
Total
Assets
 
 
 
 
 
 
 
Available-for-sale securities
$

 
$
13,108,251

 
$

 
$
13,108,251

Trading securities
1,002,422

 

 

 
1,002,422

Mortgage loans held-for-sale

 
377,044

 
22,797

 
399,841

Mortgage loans held-for-investment in securitization trusts

 
804,666

 

 
804,666

Mortgage servicing rights

 

 
500,490

 
500,490

Derivative assets
9,063

 
322,538

 

 
331,601

Total assets
$
1,011,485

 
$
14,612,499

 
$
523,287

 
$
16,147,271

Liabilities
 
 
 
 
 
 
 
Collateralized borrowings in securitization trusts
$

 
$
561,921

 
$

 
$
561,921

Derivative liabilities
13,566

 
3,531

 

 
17,097

Total liabilities
$
13,566

 
$
565,452

 
$

 
$
579,018

 
Recurring Fair Value Measurements
 
At December 31, 2013
(in thousands)
Level 1
 
Level 2
 
Level 3
 
Total
Assets
 
 
 
 
 
 
 
Available-for-sale securities
$

 
$
12,256,727

 
$

 
$
12,256,727

Trading securities
1,000,180

 

 

 
1,000,180

Mortgage loans held-for-sale

 
119,855

 
424,726

 
544,581

Mortgage loans held-for-investment in securitization trusts

 
792,390

 

 
792,390

Mortgage servicing rights

 

 
514,402

 
514,402

Derivative assets
33,425

 
516,434

 

 
549,859

Total assets
$
1,033,605

 
$
13,685,406

 
$
939,128

 
$
15,658,139

Liabilities
 
 
 
 
 
 
 
Collateralized borrowings in securitization trusts
$

 
$
639,731

 
$

 
$
639,731

Derivative liabilities
125

 
21,956

 

 
22,081

Total liabilities
$
125

 
$
661,687

 
$

 
$
661,812



The Company may be required to measure certain assets or liabilities at fair value from time to time. These periodic fair value measures typically result from application of certain impairment measures under U.S. GAAP. These items would constitute nonrecurring fair value measures under ASC 820. As of June 30, 2014, the Company did not have any assets or liabilities measured at fair value on a nonrecurring basis in the periods presented. 
The valuation of Level 3 instruments requires significant judgment by the third-party pricing providers and/or management. The third-party pricing providers and/or management rely on inputs such as market price quotations from market makers (either market or indicative levels), original transaction price, recent transactions in the same or similar instruments, and changes in financial ratios or cash flows to determine fair value. Level 3 instruments may also be discounted to reflect illiquidity and/or non-transferability, with the amount of such discount estimated by the third-party pricing provider in the absence of market information. Assumptions used by the third-party pricing provider due to lack of observable inputs may significantly impact the resulting fair value and therefore the Company’s financial statements. The Company’s valuation committee reviews all valuations that are based on pricing information received from a third-party pricing provider. As part of this review, prices are compared against other pricing or input data points in the marketplace, along with internal valuation expertise, to ensure the pricing is reasonable. In addition, the Company performs back-testing of pricing information to validate price information and identify any pricing trends of a third-party price provider.
In determining fair value, third-party pricing providers use various valuation approaches, including market and income approaches. Inputs that are used in determining fair value of an instrument may include pricing information, credit data, volatility statistics, and other factors. In addition, inputs can be either observable or unobservable.
The availability of observable inputs can vary by instrument and is affected by a wide variety of factors, including the type of instrument, whether the instrument is new and not yet established in the marketplace and other characteristics particular to the instrument. The third-party pricing provider uses prices and inputs that are current as of the measurement date, including during periods of market dislocations. In periods of market dislocation, the availability of prices and inputs may be reduced for many instruments. This condition could cause an instrument to be reclassified to or from various levels within the fair value hierarchy.
Securities for which market quotations are readily available are valued at the bid price (in the case of long positions) or the ask price (in the case of short positions) at the close of trading on the date as of which value is determined. Exchange-traded securities for which no bid or ask price is available are valued at the last traded price. OTC derivative contracts, including interest rate swaps, swaptions, credit default swaps and Markit IOS total return swaps, are valued by the Company using observable inputs, specifically quotations received from third-party pricing providers, and are therefore classified within Level 2.
The table below presents the reconciliation for all of the Company’s Level 3 assets and liabilities measured at fair value on a recurring basis. The Level 3 items presented below may be hedged by derivatives and other financial instruments that are classified as Level 1 or Level 2. Thus, the tables below do not fully reflect the impact of the Company’s risk management activities.
 
Level 3 Recurring Fair Value Measurements
 
 
Three Months Ended June 30, 2014
 
Six Months Ended June 30, 2014
 
(in thousands)
Mortgage Loans Held-For-Sale
 
Mortgage Servicing Rights
 
Mortgage Loans Held-For-Sale
 
Mortgage Servicing Rights
 
Beginning of period level 3 fair value
$
20,097

 
$
476,663

 
$
424,726

 
$
514,402

 
Gains/(losses) included in net income:
 
 
 
 
 
 
 
 
Realized gains (losses)
(425
)
 
(13,916
)
 
3,008

 
(26,427
)
 
Unrealized gains (losses)
(1,529
)
(1) 
(15,655
)
(3) 
(4,212
)
(1) 
(35,905
)
(3) 
Total net gains/(losses) included in net income
(1,954
)
 
(29,571
)
 
(1,204
)
 
(62,332
)
 
Other comprehensive income 

 

 

 

 
Purchases
7,594

 
53,013

 
14,558

 
54,293

 
Sales

 

 
(405,584
)
 

 
Settlements
(2,940
)
 
385

 
(9,699
)
 
(5,873
)
 
Gross transfers into level 3

 

 

 

 
Gross transfers out of level 3

 

 

 

 
End of period level 3 fair value
$
22,797

 
$
500,490

 
$
22,797

 
$
500,490

 
Change in unrealized gains or losses for the period included in earnings for assets held at the end of the reporting period
$
(1,935
)
(2) 
$
(15,655
)
(4) 
$
(5,807
)
(2) 
$
(35,905
)
(4) 
___________________
(1)
For the three and six months ended June 30, 2014, the change in unrealized gains or losses on mortgage loans held-for-sale was recorded in (loss) gain on mortgage loans held-for-sale on the condensed consolidated statements of comprehensive income.
(2)
For the three and six months ended June 30, 2014, the change in unrealized gains or losses on mortgage loans held-for-sale that were held at the end of the reporting period were recorded in (loss) gain on mortgage loans held-for-sale on the condensed consolidated statements of comprehensive income.
(3)
For the three and six months ended June 30, 2014, the change in unrealized gains or losses on MSR were recorded in loss on servicing asset on the condensed consolidated statements of comprehensive income.
(4)
For the three and six months ended June 30, 2014, the change in unrealized gains or losses on MSR that were held at the end of the reporting period were recorded in loss on servicing asset on the condensed consolidated statements of comprehensive income.

The Company did not incur transfers between Level 1, Level 2 or Level 3 for the six months ended June 30, 2014. Transfers between Levels are deemed to take place on the first day of the reporting period in which the transfer has taken place.
The Company used a third-party pricing provider in the fair value measurement of its Level 3 mortgage loans held-for-sale. The significant unobservable inputs used by the third-party pricing provider included expected default, severity and discount rate. Significant increases (decreases) in any of the inputs in isolation may result in significantly lower (higher) fair value measurement.
The table below presents information about the significant unobservable inputs used in the fair value measurement of the Company’s MSR classified as Level 3 fair value assets at June 30, 2014:
 
As of June 30, 2014
(in thousands)
Fair Value
 
Valuation Technique
 
Unobservable Input (1)
 
Range
 
Wtd Avg
Mortgage servicing rights
$
500,490

 
Discounted cash flow
 
Constant prepayment speed
 
11

-
14
%
 
12.5
%
 
 
 
 
 
Delinquency
 
1

-
7
%
 
4.0
%
 
 
 
 
 
Discount rate
 
8

-
12
%
 
10.0
%
___________________
(1)
Significant increases/(decreases) in any of the inputs in isolation may result in significantly lower/(higher) fair value measurement. A change in the assumption used for discount rates may be accompanied by a directionally similar change in the assumption used for the probability of delinquency and a directionally opposite change in the assumption used for prepayment rates.

Fair Value Option for Financial Assets and Financial Liabilities
The Company elected the fair value option for the residential mortgage loans it has acquired. The fair value option was elected to mitigate earnings volatility by better matching the accounting for the assets with the related hedges. The residential mortgage loans are carried within mortgage loans held-for-sale on the condensed consolidated balance sheet. The Company’s policy is to separately record interest income on these fair value elected loans. Upfront fees and costs related to the fair value elected loans are not deferred or capitalized. Fair value adjustments are reported in gain (loss) on mortgage loans held-for-sale on the condensed consolidated statements of comprehensive income. The fair value option is irrevocable once the loan is acquired.
The Company also elected the fair value option for the equity securities previously carried on the condensed consolidated balance sheet, which consisted solely of shares of Silver Bay common stock. The Company determined fair value of these equity securities based on the closing market price at period end. Fair value adjustments were reported in gain (loss) on investment securities on the condensed consolidated statements of comprehensive income.
The Company also elected the fair value option for both the mortgage loans held-for-investment in securitization trusts and the collateralized borrowings in securitization trusts carried on the condensed consolidated balance sheet. The fair value option was elected to better reflect the economics of the Company’s retained interests. The Company’s policy is to separately record interest income on the fair value elected loans and interest expense on the fair value elected borrowings. Upfront fees and costs are not deferred or capitalized. Fair value adjustments are reported in other income on the condensed consolidated statements of comprehensive income.
The following table summarizes the fair value option elections and information regarding the amounts recognized in earnings for each fair value option-elected item.
(in thousands)
Changes included in the Condensed Consolidated Statements of Comprehensive Income
Three Months Ended June 30,
Interest income (expense)
 
Gain (loss) on investment securities
 
Gain (loss) on mortgage loans held-for-sale
 
Other income
 
Total included in net (loss) income
 
Change in fair value due to credit risk
2014
 
 
 
 
 
 
 
 
 
 
 
 
 
Assets
 
 
 
 
 
 
 
 
 
 
 
 
 
Mortgage loans held-for-sale
$
2,699

(1) 
 
$

 
$
7,638

 
$

 
$
10,337

 
$
1,036

(3) 
Mortgage loans held-for-investment in securitization trusts
7,761

(1) 
 

 

 
36,631

 
44,392

 

(2) 
Liabilities
 
 
 
 
 
 
 
 
 


 
 
 
Collateralized borrowings in securitization trusts
(5,592
)
 
 

 

 
(15,802
)
 
(21,394
)
 

(2) 
Total
$
4,868

 
 
$

 
$
7,638

 
$
20,829

 
$
33,335

 
$
1,036

 
2013
 
 
 
 
 
 
 
 
 
 
 
 
 
Assets
 
 
 
 
 
 
 
 
 
 
 
 
 
Mortgage loans held-for-sale
$
4,794

(1) 
 
$

 
$
(14,840
)
 
$

 
$
(10,046
)
 
$

(3) 
Mortgage loans held-for-investment in securitization trusts
4,369

(1) 
 

 

 
(16,755
)
 
(12,386
)
 

(2) 
Liabilities
 
 
 
 
 
 
 
 
 
 
 
 
 
Collateralized borrowings in securitization trusts
(2,169
)
 
 

 

 
18,313

 
16,144

 

(2) 
Total
$
6,994

 
 
$

 
$
(14,840
)
 
$
1,558

 
$
(6,288
)
 
$

 
(in thousands)
Changes included in the Condensed Consolidated Statements of Comprehensive Income
Six Months Ended June 30,
Interest income (expense)
 
(Loss) gain on investment securities
 
(Loss) gain on mortgage loans held-for-sale
 
Other income
 
Total included in net (loss) income
 
Change in fair value due to credit risk
2014
 
 
 
 
 
 
 
 
 
 
 
 
 
Assets
 
 
 
 
 
 
 
 
 
 
 
 
 
Mortgage loans held-for-sale
$
7,285

(1) 
 
$

 
$
4,874

 
$

 
$
12,159

 
$
1,069

(3) 
Mortgage loans held-for-investment in securitization trusts
15,654

(1) 
 

 

 
38,606

 
54,260

 

(2) 
Liabilities
 
 
 
 
 
 
 
 
 
 
 
 
 
Collateralized borrowings in securitization trusts
(10,945
)
 
 

 

 
(17,463
)
 
(28,408
)
 

(2) 
Total
$
11,994

 
 
$

 
$
4,874

 
$
21,143

 
$
38,011

 
$
1,069

 
2013
 
 
 
 
 
 
 
 
 
 
 
 
 
Assets
 
 
 
 
 
 
 
 
 
 
 
 
 
Equity securities
$

 
 
$
7,843

 
$

 
$

 
$
7,843

 
$

(2) 
Mortgage loans held-for-sale
6,112

(1) 
 

 
(804
)
 

 
5,308

 

(3) 
Mortgage loans held-for-investment in securitization trusts
6,023

(1) 
 

 

 
(24,757
)
 
(18,734
)
 

(2) 
Liabilities
 
 
 
 
 
 
 
 
 
 
 
 
 
Collateralized borrowings in securitization trusts
(2,987
)
 
 

 

 
32,604

 
29,617

 

(2) 
Total
$
9,148

 
 
$
7,843

 
$
(804
)
 
$
7,847

 
$
24,034

 
$

 
____________________
(1)
Interest income on mortgage loans held-for-sale and mortgage loans held-for-investment in securitization trusts is measured by multiplying the unpaid principal balance on the loans by the coupon rate and the number of days of interest due.
(2)
The change in fair value on equity securities, mortgage loans held-for-investment in securitization trusts and collateralized borrowings in securitization trusts was due entirely to changes in market interest rates.
(3)
The change in fair value due to credit risk on mortgage loans held-for-sale was quantified by holding yield constant in the cash flow model in order to isolate credit risk component.

The table below provides the fair value and the unpaid principal balance for the Company’s fair value option-elected loans and collateralized borrowings.
 
June 30, 2014
 
December 31, 2013
(in thousands)
Unpaid Principal Balance
 
Fair Value (1)
 
Unpaid Principal Balance
 
Fair Value (1)
Mortgage loans held-for-sale
 
 
 
 
 
 
 
Total loans
$
398,302

 
$
399,841

 
$
680,840

 
$
544,581

Nonaccrual loans
$
11,723

 
$
6,823

 
$
80,486

 
$
62,185

Loans 90+ days past due
$
10,803

 
$
6,239

 
$
63,152

 
$
48,786

Mortgage loans held-for-investment in securitization trusts
 
 
 
 
 
 
 
Total loans
$
786,208

 
$
804,666

 
$
812,538

 
$
792,390

Nonaccrual loans
$

 
$

 
$

 
$

Loans 90+ days past due
$

 
$

 
$

 
$

Collateralized borrowings in securitization trusts
 
 
 
 
 
 
 
Total borrowings
$
583,035

 
$
561,921

 
$
686,233

 
$
639,731

____________________
(1)
Excludes accrued interest receivable.

Fair Value of Financial Instruments
In accordance with ASC 820, the Company is required to disclose the fair value of financial instruments, both assets and liabilities recognized and not recognized in the condensed consolidated balance sheet, for which fair value can be estimated.
The following describes the Company’s methods for estimating the fair value for financial instruments. Descriptions are not provided for those items that have zero balances as of the current balance sheet date.
AFS securities, trading securities, mortgage loans held-for-sale, mortgage loans held-for-investment in securitization trusts, MSR, derivative assets and liabilities, and collateralized borrowings in securitization trusts are recurring fair value measurements; carrying value equals fair value. See discussion of valuation methods and assumptions within the Fair Value Measurements section of this footnote.
Cash and cash equivalents and restricted cash have a carrying value which approximates fair value because of the short maturities of these instruments. The Company categorizes the fair value measurement of these assets as Level 1.
Equity investments include cost method investments for which fair value is not estimated. Carrying value, or cost, approximates fair value. The Company categorizes the fair value measurement of these assets as Level 3.
The carrying value of repurchase agreements and FHLB advances that mature in less than one year generally approximates fair value due to the short maturities. The Company holds $93.2 million of repurchase agreements and $1.5 billion of FHLB advances that are considered long-term. The Company’s long-term repurchase agreements and FHLB advances have floating rates based on an index plus a spread and the credit spread is typically consistent with those demanded in the market. Accordingly, the interest rates on these borrowings are at market and thus carrying value approximates fair value. The Company categorizes the fair value measurement of these liabilities as Level 2.
The following table presents the carrying values and estimated fair values of assets and liabilities that are required to be recorded or disclosed at fair value at June 30, 2014 and December 31, 2013.
 
June 30, 2014
 
December 31, 2013
(in thousands)
Carrying Value
 
Fair Value
 
Carrying Value
 
Fair Value
Assets
 
 
 
 
 
 
 
Available-for-sale securities
$
13,108,251

 
$
13,108,251

 
$
12,256,727

 
$
12,256,727

Trading securities
$
1,002,422

 
$
1,002,422

 
$
1,000,180

 
$
1,000,180

Mortgage loans held-for-sale
$
399,841

 
$
399,841

 
$
544,581

 
$
544,581

Mortgage loans held-for-investment in securitization trusts
$
804,666

 
$
804,666

 
$
792,390

 
$
792,390

Mortgage servicing rights
$
500,490

 
$
500,490

 
$
514,402

 
$
514,402

Cash and cash equivalents
$
1,182,696

 
$
1,182,696

 
$
1,025,487

 
$
1,025,487

Restricted cash
$
286,965

 
$
286,965

 
$
401,647

 
$
401,647

Derivative assets
$
331,601

 
$
331,601

 
$
549,859

 
$
549,859

Equity investments
$
3,000

 
$
3,000

 
$

 
$

Liabilities
 
 
 
 
 
 
 
Repurchase agreements
$
11,391,187

 
$
11,391,187

 
$
12,250,450

 
$
12,250,450

Collateralized borrowings in securitization trusts
$
561,921

 
$
561,921

 
$
639,731

 
$
639,731

Federal Home Loan Bank advances
$
1,500,000

 
$
1,500,000

 
$

 
$

Derivative liabilities
$
17,097

 
$
17,097

 
$
22,081

 
$
22,081