XML 77 R63.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Financial Derivatives - Schedule of Derivative Instruments, Impact on Results of Operations (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gain (Loss) on Fair Value Hedges Recognized in Earnings |  | $ (16,400) | $ (22,800) | $ (19,700)
Gains/(losses) on financial derivatives and hedging activities |  | 2,311 | 2,531 | (21,646)
Designated as Hedging Instrument [Member] | Fair Value Hedging [Member] |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Change in Unrealized Gain (Loss) on Hedged Item in Fair Value Hedge |  | (20,322) | 3,100 | 14,520
Gain (Loss) on Fair Value Hedges Recognized in Earnings |  | 5,043 | 9,065 | 11,791
Not Designated as Hedging Instrument [Member] |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains/(losses) on financial derivatives and hedging activities |  | (2,379) | (5,983) | (33,427)
Interest Rate Swap [Member] | Fair Value Hedging [Member] |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gain (Loss) on Components Included from Assessment of Interest Rate Fair Value Hedge Effectiveness |  | 5,200 | 9,200 | 11,600
Gain (Loss) on Fair Value Hedge Ineffectiveness, Net |  | 200 | 100 | (200)
Interest Rate Swap [Member] | Designated as Hedging Instrument [Member] | Fair Value Hedging [Member] |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Change in Unrealized Gain (Loss) on Fair Value Hedging Instruments | [1] | 25,365 | 5,965 | (2,729)
Interest Rate Swap [Member] | Designated as Hedging Instrument [Member] | Cash Flow Hedging [Member] |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gain (Loss) on Interest Rate Cash Flow Hedge Ineffectiveness |  | (353) | (551) | (10)
Gain (Loss) on Cash Flow Hedge Ineffectiveness, Net |  | (353) | (551) | (10)
Interest Rate Swap [Member] | Not Designated as Hedging Instrument [Member] |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains/(losses) on financial derivatives and hedging activities |  | (1,991) | (3,204) | (31,101)
Forward Contracts [Member] | Not Designated as Hedging Instrument [Member] |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains/(losses) on financial derivatives and hedging activities |  | (226) | (2,440) | (1,842)
Future [Member] | Not Designated as Hedging Instrument [Member] |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains/(losses) on financial derivatives and hedging activities |  | $ (162) | $ (339) | $ (484)
[1] | Included in the assessment of hedge effectiveness as of December 31, 2016, but excluded from the amounts in the table, were losses of $5.2 million for the year ended December 31, 2016, attributable to the fair value of the swaps at the inception of the hedging relationship. Accordingly, the amounts recognized as hedge ineffectiveness for the year ended December 31, 2016 were gains of $0.2 million. The comparable amounts as of December 31, 2015 were losses of $9.2 million for the year ended December 31, 2015, attributable to the fair value of the swaps at the inception of the hedging relationship and, accordingly, gains of $0.1 million for the year ended December 31, 2015, attributable to hedge ineffectiveness. The comparable amounts as of December 31, 2014 were losses of $11.6 million for the year ended December 31, 2014, attributable to the fair value of the swaps at the inception of the hedging relationships and, accordingly, losses of $0.2 million for the year ended December 31, 2014, attributable to hedge ineffectiveness.

X
- Definition Gain (Loss) on Components Other Than Fair Value Changes Included in Assessment of Interest Rate Fair Value Hedge Effectiveness + References No definition available. + Details
Name: | agm_GainLossonComponentsIncludedfromAssessmentofInterestRateFairValueHedgeEffectiveness
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain (loss) from the increase (decrease) in fair value of derivative and nonderivative instruments designated as fair value hedging instruments recognized in the income statement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 25 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6886632&loc=d3e76258-113986 + Details
Name: | us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the increase (decrease) in fair value of the hedged item in a fair value hedge recognized in the income statement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 25 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6886632&loc=d3e76258-113986 + Details
Name: | us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The net gain (loss) recognized in earnings during the reporting period representing the amount of the cash flow hedges' ineffectiveness. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (d)(1) -URI http://asc.fasb.org/extlink&oid=64837297&loc=SL5624171-113959 + Details
Name: | us-gaap_GainLossOnCashFlowHedgeIneffectivenessNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=64837297&loc=SL5618551-113959 + Details
Name: | us-gaap_GainLossOnDerivativeInstrumentsNetPretax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain (loss)recognized in the income statement from the hedging ineffectiveness of a fair value hedge. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 25 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6886632&loc=d3e76258-113986 + Details
Name: | us-gaap_GainLossOnFairValueHedgeIneffectivenessNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total amount of gain (loss) derived from fair value hedges recognized in earnings in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=64837297&loc=SL5624171-113959 + Details
Name: | us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The net gain (loss) during the reporting period due to ineffectiveness in interest rate cash flow hedges. Recognized in earnings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (d)(1) -URI http://asc.fasb.org/extlink&oid=64837297&loc=SL5624171-113959 + Details
Name: | us-gaap_GainLossOnInterestRateCashFlowHedgeIneffectiveness
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
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_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember
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: |