Annual report pursuant to Section 13 and 15(d)

Trading Securities, at Fair Value (Details)

v2.4.1.9
Trading Securities, at Fair Value (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Schedule of Trading Securities and Other Trading Assets [Line Items]      
Trading Securities, Cost $ 1,996,289us-gaap_TradingSecuritiesCost $ 996,121us-gaap_TradingSecuritiesCost  
Trading securities, at fair value 1,997,656us-gaap_TradingSecurities 1,000,180us-gaap_TradingSecurities  
Trading Securities, Gross Unrealized Gain (Loss) 1,367two_TradingSecuritiesGrossUnrealizedGainLoss 4,059two_TradingSecuritiesGrossUnrealizedGainLoss  
Proceeds from sales of trading securities 1,145,410two_ProceedsfromSalesofTradingSecurities 1,000,946two_ProceedsfromSalesofTradingSecurities 1,001,904two_ProceedsfromSalesofTradingSecurities
Trading Securities, Amortized Cost Sold 1,139,932two_TradingSecuritiesAmortizedCostSold 997,899two_TradingSecuritiesAmortizedCostSold 1,000,207two_TradingSecuritiesAmortizedCostSold
Trading Securities, Realized Gain (Loss) 5,478us-gaap_TradingSecuritiesRealizedGainLoss 3,047us-gaap_TradingSecuritiesRealizedGainLoss 1,697us-gaap_TradingSecuritiesRealizedGainLoss
Trading Securities, Change in Unrealized Holding Gain (Loss) (2,692)us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss (990)us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss 1,996us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss
Assets Sold under Agreements to Repurchase, Market Value 14,599,240us-gaap_AssetsSoldUnderAgreementsToRepurchaseMarketValue 13,950,459us-gaap_AssetsSoldUnderAgreementsToRepurchaseMarketValue  
US Treasury Securities [Member]      
Schedule of Trading Securities and Other Trading Assets [Line Items]      
Assets Sold under Agreements to Repurchase, Market Value $ 1,997,656us-gaap_AssetsSoldUnderAgreementsToRepurchaseMarketValue
/ us-gaap_AssetsSoldUnderAgreementsToRepurchaseAxis
= us-gaap_USTreasurySecuritiesMember
$ 1,000,180us-gaap_AssetsSoldUnderAgreementsToRepurchaseMarketValue
/ us-gaap_AssetsSoldUnderAgreementsToRepurchaseAxis
= us-gaap_USTreasurySecuritiesMember