XML 62 R40.htm IDEA: XBRL DOCUMENT
v3.19.3

Financial Derivatives - Schedule of Derivative Instruments in Statement of Financial Position (Details) - USD ($) $ / shares in Units, $ in Thousands | 9 Months Ended |
--- | --- | ---
Sep. 30, 2019 | Sep. 30, 2018 | Dec. 31, 2018
Notional Disclosures [Abstract] |  |  |
Notional Amount | $ 13,799,053 |  | $ 9,955,745
Fair Value |  |  |
Asset | 5,589 |  | 7,487
Collateral (held)/pledged | (2,655) |  | (1,778)
Net amount | 2,934 |  | 5,709
(Liability) | (30,542) |  | (19,633)
Collateral (held)/pledged | 167,060 |  | 47,018
Net amount | 136,518 |  | 27,385
Designated as Hedging Instrument [Member] | Fair Value Hedging [Member] | Interest Rate Swap, Pay Fixed Non-Callable [Member] |  |  |
Notional Disclosures [Abstract] |  |  |
Notional Amount | 4,913,988 |  | 3,097,084
Fair Value |  |  |
Asset | 2,448 |  | 3,004
(Liability) | $ (4,942) |  | $ (4,326)
Weighted- Average Pay Rate | 2.47% |  | 2.42%
Weighted- Average Receive Rate | 2.18% |  | 2.58%
Weighted- Average Remaining Term (in years) | 11 years 3 months 18 days | 9 years 9 months |
Designated as Hedging Instrument [Member] | Fair Value Hedging [Member] | Interest Rate Swap, Receive Fixed Non-Callable [Member] |  |  |
Notional Disclosures [Abstract] |  |  |
Notional Amount | $ 1,547,200 |  | $ 1,871,200
Fair Value |  |  |
Asset | 266 |  | 547
(Liability) | $ (5,004) |  | $ (4,484)
Weighted- Average Pay Rate | 2.17% |  | 2.50%
Weighted- Average Receive Rate | 2.08% |  | 1.84%
Weighted- Average Remaining Term (in years) | 1 year 4 months 17 days | 1 year 6 months 29 days |
Designated as Hedging Instrument [Member] | Fair Value Hedging [Member] | Interest Rate Swap, Receive Fixed Callable [Member] |  |  |
Notional Disclosures [Abstract] |  |  |
Notional Amount | $ 340,000 |  | $ 160,000
Fair Value |  |  |
Asset | 891 |  | 338
(Liability) | $ (178) |  | $ (28)
Weighted- Average Pay Rate | 2.09% |  | 2.35%
Weighted- Average Receive Rate | 2.58% |  | 3.06%
Weighted- Average Remaining Term (in years) | 2 years 3 months 29 days | 2 years 10 months 28 days |
Designated as Hedging Instrument [Member] | Cash Flow Hedging [Member] | Interest Rate Swap, Pay Fixed Non-Callable [Member] |  |  |
Notional Disclosures [Abstract] |  |  |
Notional Amount | $ 428,000 |  | $ 373,000
Fair Value |  |  |
Asset | 1,338 |  | 2,441
(Liability) | $ (2,989) |  | $ (99)
Weighted- Average Pay Rate | 2.36% |  | 2.40%
Weighted- Average Receive Rate | 2.41% |  | 2.83%
Weighted- Average Remaining Term (in years) | 5 years 8 months 4 days | 6 years 1 month 13 days |
Not Designated as Hedging Instrument [Member] |  |  |
Fair Value |  |  |
Credit valuation adjustment | $ 0 |  | $ (60)
Credit valuation adjustment | 55 |  | 21
Not Designated as Hedging Instrument [Member] | Interest Rate Swap, Pay Fixed Non-Callable [Member] |  |  |
Notional Disclosures [Abstract] |  |  |
Notional Amount | 329,745 |  | 316,664
Fair Value |  |  |
Asset | 0 |  | 796
(Liability) | $ (16,899) |  | $ (10,399)
Weighted- Average Pay Rate | 3.59% |  | 3.69%
Weighted- Average Receive Rate | 2.26% |  | 2.52%
Weighted- Average Remaining Term (in years) | 5 years 7 months 24 days | 6 years 3 months |
Not Designated as Hedging Instrument [Member] | Interest Rate Swap, Receive Fixed Non-Callable [Member] |  |  |
Notional Disclosures [Abstract] |  |  |
Notional Amount | $ 2,785,020 |  | $ 2,347,371
Fair Value |  |  |
Asset | 0 |  | 0
(Liability) | $ 0 |  | $ 0
Weighted- Average Pay Rate | 2.10% |  | 2.37%
Weighted- Average Receive Rate | 2.19% |  | 2.10%
Weighted- Average Remaining Term (in years) | 1 year 4 months 24 days | 10 months 9 days |
Not Designated as Hedging Instrument [Member] | Interest Rate Swap, Receive Fixed Callable [Member] |  |  |
Notional Disclosures [Abstract] |  |  |
Notional Amount | $ 655,000 |  |
Fair Value |  |  |
Asset | 180 |  |
(Liability) | $ (17) |  |
Weighted- Average Pay Rate | 1.48% |  |
Weighted- Average Receive Rate | 1.64% |  |
Weighted- Average Remaining Term (in years) | 9 months 3 days |  |
Not Designated as Hedging Instrument [Member] | Basis Swap [Member] |  |  |
Notional Disclosures [Abstract] |  |  |
Notional Amount | $ 2,770,500 |  | $ 1,770,026
Fair Value |  |  |
Asset | 466 |  | 421
(Liability) | $ (543) |  | $ (130)
Weighted- Average Pay Rate | 2.07% |  | 2.45%
Weighted- Average Receive Rate | 2.01% |  | 2.49%
Weighted- Average Remaining Term (in years) | 11 months 12 days | 1 year 3 months 7 days |
Not Designated as Hedging Instrument [Member] | Future [Member] |  |  |
Notional Disclosures [Abstract] |  |  |
Notional Amount | $ 29,600 |  | $ 20,400
Fair Value |  |  |
Asset |  |  | 0
(Liability) | $ (25) |  | $ (188)
Weighted- Average Forward Price (in dollars per share) | $ 130.23 | $ 121.09 |

X
- Definition Derivative, Weighted-Average Forward Price + References No definition available. + Details
Name: | agm_DerivativeWeightedAverageForwardPrice
Namespace Prefix: | agm_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate fair value of assets that are already posted, at the end of the reporting period, as collateral for derivative instruments with credit-risk-related contingent features. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4H -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5624258-113959 + Details
Name: | us-gaap_CollateralAlreadyPostedAggregateFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DerivativeAssetFairValueNetAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of securities received as collateral against derivative assets. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226013-175313 + Details
Name: | us-gaap_DerivativeAssetFairValueOfCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Nominal or face amount used to calculate payments on the derivative asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5579245-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5580258-113959 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeAssetNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109250915&loc=d3e13433-108611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Average fixed interest rate related to the group of interest rate derivatives. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Average remaining period until maturity of the derivative contract, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageRemainingMaturity1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Average variable interest rate related to the group of interest rate derivatives. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageVariableInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of credit risk valuation adjustment to derivative assets to properly reflect the credit quality of the counterparties. + References No definition available. + Details
Name: | us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of credit risk valuation adjustment to derivative liabilities to properly reflect the credit quality of the entity. + References No definition available. + Details
Name: | us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4D -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=109247956&loc=SL51823488-111719 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4D -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=109247956&loc=SL51823488-111719 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109250915&loc=d3e13433-108611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_NotionalAmountOfDerivativesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_FairValueHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=agm_InterestRateSwapPayFixedNonCallableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=agm_InterestRateSwapReceiveFixedNonCallableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=agm_InterestRateSwapReceiveFixedCallableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_BasisSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_FutureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |