Annual report pursuant to Section 13 and 15(d)

Fair Value by Balance Sheet Grouping (Details)

v2.4.1.9
Fair Value by Balance Sheet Grouping (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Dec. 31, 2011
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Available-for-sale securities $ 14,341,102us-gaap_AvailableForSaleSecurities $ 12,256,727us-gaap_AvailableForSaleSecurities    
Trading securities 1,997,656us-gaap_TradingSecurities 1,000,180us-gaap_TradingSecurities    
Mortgage loans held-for-sale 535,712us-gaap_LoansAndLeasesReceivableNetReportedAmount 544,581us-gaap_LoansAndLeasesReceivableNetReportedAmount 58,607us-gaap_LoansAndLeasesReceivableNetReportedAmount 5,782us-gaap_LoansAndLeasesReceivableNetReportedAmount
Mortgage loans held-for-investment in securitization trusts 1,744,746us-gaap_LoansAndLeasesReceivableNetReportedAmountOther 792,390us-gaap_LoansAndLeasesReceivableNetReportedAmountOther    
Mortgage servicing rights 452,006us-gaap_ServicingAssetAtFairValueAmount 514,402us-gaap_ServicingAssetAtFairValueAmount 0us-gaap_ServicingAssetAtFairValueAmount  
Cash and cash equivalents 1,005,792us-gaap_CashAndCashEquivalentsAtCarryingValue 1,025,487us-gaap_CashAndCashEquivalentsAtCarryingValue 821,108us-gaap_CashAndCashEquivalentsAtCarryingValue 360,016us-gaap_CashAndCashEquivalentsAtCarryingValue
Restricted cash 336,771us-gaap_RestrictedCashAndCashEquivalents 401,647us-gaap_RestrictedCashAndCashEquivalents    
Derivative assets 380,791us-gaap_DerivativeFairValueOfDerivativeAsset 549,859us-gaap_DerivativeFairValueOfDerivativeAsset    
Federal Home Loan Bank Stock 100,010us-gaap_FederalHomeLoanBankStock 10us-gaap_FederalHomeLoanBankStock    
Equity investments 3,000us-gaap_CostMethodInvestments 0us-gaap_CostMethodInvestments    
Repurchase agreements 12,932,463us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability 12,250,450us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability    
Collateralized borrowings in securitization trusts, at fair value 1,209,663us-gaap_LongTermDebtFairValue 639,731us-gaap_LongTermDebtFairValue    
Federal Home Loan Bank advances 2,500,000us-gaap_AdvancesFromFederalHomeLoanBanks 0us-gaap_AdvancesFromFederalHomeLoanBanks    
Derivative liabilities 90,233us-gaap_DerivativeFairValueOfDerivativeLiability 22,081us-gaap_DerivativeFairValueOfDerivativeLiability    
Federal Home Loan Bank of Des Moines [Member]        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Federal Home Loan Bank advances $ 2,500,000us-gaap_AdvancesFromFederalHomeLoanBanks
/ us-gaap_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis
= us-gaap_FederalHomeLoanBankOfDesMoinesMember