Annual report pursuant to Section 13 and 15(d)

Schedule of Repurchase Agreements by Maturity (Details)

v3.19.3.a.u2
Schedule of Repurchase Agreements by Maturity (Details) - USD ($)
$ in Thousands
Dec. 31, 2019
Dec. 31, 2018
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 29,147,463 $ 23,133,476
Weighted average borrowing rate 2.14% 2.68%
US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 27,302,527 $ 20,091,396
Weighted average borrowing rate 2.08% 2.52%
Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 1,531,607 $ 2,695,564
Weighted average borrowing rate 2.90% 3.65%
Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 50,714 $ 46,516
Weighted average borrowing rate 2.70% 3.34%
Mortgage Servicing Rights [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 262,615 $ 300,000
Weighted average borrowing rate 3.51% 4.51%
Maturity up to 30 days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 5,305,916 $ 7,488,869
Maturity up to 30 days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 5,112,681 6,712,021
Maturity up to 30 days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 193,235 770,287
Maturity up to 30 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 6,561
Maturity up to 30 days [Member] | Mortgage Servicing Rights [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 30 to 59 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 6,300,372 5,077,598
Maturity 30 to 59 Days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 6,074,151 4,557,688
Maturity 30 to 59 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 212,998 496,466
Maturity 30 to 59 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 13,223 23,444
Maturity 30 to 59 Days [Member] | Mortgage Servicing Rights [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 60 to 89 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 6,687,285 5,655,061
Maturity 60 to 89 Days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 6,355,887 5,410,967
Maturity 60 to 89 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 329,493 242,473
Maturity 60 to 89 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,905 1,621
Maturity 60 to 89 Days [Member] | Mortgage Servicing Rights [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 90 to 119 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 4,740,217 1,938,859
Maturity 90 to 119 Days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 4,227,589 1,209,395
Maturity 90 to 119 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 489,352 722,399
Maturity 90 to 119 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 23,276 7,065
Maturity 90 to 119 Days [Member] | Mortgage Servicing Rights [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 120 to 364 days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 6,113,673 2,673,089
Maturity 120 to 364 days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 5,532,219 2,201,325
Maturity 120 to 364 days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 306,529 463,939
Maturity 120 to 364 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 12,310 7,825
Maturity 120 to 364 days [Member] | Mortgage Servicing Rights [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 262,615 0
Maturity Over One Year [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 300,000
Maturity Over One Year [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity Over One Year [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity Over One Year [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity Over One Year [Member] | Mortgage Servicing Rights [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 0 $ 300,000