Financial Instruments and Off-Balance Sheet Risk | Financial Instruments and Off-Balance Sheet Risk As of March 31, 2020 and December 31, 2019 , the carrying amounts of cash, cash equivalents, accounts receivable, accounts payable and accrued liabilities approximated fair value because of the short maturity of these instruments. As of March 31, 2020 and December 31, 2019 , the carrying value of the Partnership’s margin deposits with brokers approximates fair value and consists of initial margin with futures transaction brokers, along with variation margin, which is paid or received on a daily basis, and is included in other current assets or other current liabilities. As of March 31, 2020 and December 31, 2019 , the carrying value of the Partnership’s debt approximated fair value due to the variable interest nature of these instruments. The Partnership’s deferred consideration was recorded in connection with an acquisition on April 18, 2017 using an estimated fair value discount at the time of the transaction. As of March 31, 2020 , the carrying value of the deferred consideration approximated fair value because there has been no significant subsequent change in the estimated fair value discount rate or probability of outcome. The following table presents financial assets and financial liabilities of the Partnership measured at fair value on a recurring basis: As of March 31, 2020 Fair Value Measurement Quoted Prices in Active Markets Level 1 Significant Other Observable Inputs Level 2 Significant Unobservable Inputs Level 3 Derivative assets: Commodity exchange contracts $ 15 $ 15 $ — $ — Commodity fixed forwards 130,918 — 130,918 — Futures, swaps and options 248,031 248,012 19 — Commodity derivatives 378,964 248,027 130,937 — Currency swaps 3 — 3 — Total derivative assets $ 378,967 $ 248,027 $ 130,940 $ — Derivative liabilities: Commodity fixed forwards $ 7,507 $ — $ 7,507 $ — Futures, swaps and options 237,962 237,916 46 — Commodity derivatives 245,469 237,916 7,553 — Interest rate swaps 16,128 — 16,128 — Total derivative liabilities $ 261,597 $ 237,916 $ 23,681 $ — Contingent consideration $ 7,710 $ — $ — $ 7,710 As of December 31, 2019 Fair Value Quoted Significant Significant Derivative assets: Commodity fixed forwards $ 62,580 $ — $ 62,580 $ — Futures, swaps and options 32,083 32,057 26 — Commodity derivatives 94,663 32,057 62,606 — Currency swaps 15 — 15 — Total derivative assets $ 94,678 $ 32,057 $ 62,621 $ — Derivative liabilities: Commodity exchange contracts $ 2 $ 2 $ — $ — Commodity fixed forwards 16,017 — 16,017 — Futures, swaps and options 63,360 63,359 1 — Commodity derivatives 79,379 63,361 16,018 — Interest rate swaps 8,214 — 8,214 — Total derivative liabilities $ 87,593 $ 63,361 $ 24,232 $ — Contingent consideration $ 7,590 $ — $ — $ 7,590 Commodity Derivative Instruments The Partnership utilizes derivative instruments consisting of futures contracts, forward contracts, swaps, options and other derivatives individually or in combination, to mitigate its exposure to fluctuations in prices of refined petroleum products and natural gas. The use of these derivative instruments within the Partnership's risk management policy may, on a limited basis, generate gains or losses from changes in market prices. The Partnership enters into futures and over-the-counter (“OTC”) transactions either on regulated exchanges or in the OTC market. Futures contracts are exchange-traded contractual commitments to either receive or deliver a standard amount or value of a commodity at a specified future date and price, with some futures contracts based on cash settlement rather than a delivery requirement. Futures exchanges typically require margin deposits as security. OTC contracts, which may or may not require margin deposits as security, involve parties that have agreed either to exchange cash payments or deliver or receive the underlying commodity at a specified future date and price. The Partnership posts initial margin with futures transaction brokers, along with variation margin, which is paid or received on a daily basis, and is included in other current assets or other current liabilities. In addition, the Partnership may either pay or receive margin based upon exposure with counterparties. Payments made by the Partnership are included in other current assets, whereas payments received by the Partnership are included in accrued liabilities. A majority of all of the Partnership’s commodity derivative contracts outstanding as of March 31, 2020 will settle prior to September 30, 2021 . The Partnership enters into some master netting arrangements to mitigate credit risk with significant counterparties. Master netting arrangements are standardized contracts that govern all specified transactions with the same counterparty and allow the Partnership to terminate all contracts upon occurrence of certain events, such as a counterparty’s default. The Partnership has elected not to offset the fair value of its derivatives, even where these arrangements provide the right to do so. The Partnership’s derivative instruments are recorded at fair value, with changes in fair value recognized in net income (loss) each period. The Partnership’s fair value measurements are determined using the market approach and includes non-performance risk and time value of money considerations. Counterparty credit is considered for receivable balances, and the Partnership’s credit is considered for payable balances. The Partnership determines fair value based on a hierarchy for the inputs used to measure the fair value of financial assets and liabilities based on the source of the input, which generally range from quoted prices for identical instruments in a principal trading market (Level 1) to estimates determined using significant unobservable inputs (Level 3). Multiple inputs may be used to measure fair value; however, the level of fair value is based on the lowest significant input level within this fair value hierarchy. Details on the methods and assumptions used to determine the fair values are as follows: Fair value measurements based on Level 1 inputs: Measurements that are most observable and are based on quoted prices of identical instruments obtained from the principal markets in which they are traded. Closing prices are both readily available and representative of fair value. Market transactions occur with sufficient frequency and volume to assure liquidity. Fair value measurements based on Level 2 inputs: Measurements derived indirectly from observable inputs or from quoted prices from markets that are less liquid are considered Level 2. Measurements based on Level 2 inputs include OTC derivative instruments that are priced on an exchange traded curve, but have contractual terms that are not identical to exchange traded contracts. The Partnership utilizes fair value measurements based on Level 2 inputs for its fixed forward contracts, over-the-counter commodity price swaps, interest rate swaps and forward currency contracts. Fair value measurements based on Level 3 inputs: Measurements that are least observable are estimated from significant unobservable inputs determined from sources with little or no market activity for comparable contracts or for positions with longer durations. The Partnership utilizes fair value measurements based on Level 3 inputs for its contingent consideration obligation. The Partnership does not offset fair value amounts recognized for the right to reclaim cash collateral (a receivable) or the obligation to return cash collateral (a payable) against the fair value of derivative instruments executed with the same counterparty under the same master netting arrangement. The Partnership had no right to reclaim or obligation to return cash collateral as of March 31, 2020 and December 31, 2019 . The Partnership enters into derivative contracts with counterparties, some of which are subject to master netting arrangements, which allow net settlements under certain conditions. The Partnership presents derivatives at gross fair values in the Condensed Consolidated Balance Sheets. The maximum amount of loss due to credit risk that the Partnership would incur if its counterparties failed completely to perform according to the terms of the contracts, based on the net fair value of these financial instruments, exclusive of cash collateral, was $158.1 million at March 31, 2020 . Information related to these offsetting arrangements is set forth below: As of March 31, 2020 Gross Amount Not Offset in Gross Amount of Assets/Liabilities in the Balance Sheet Financial Cash Net Amount Commodity derivative assets $ 378,964 $ (220,822 ) $ (21,336 ) $ 136,806 Currency swaps 3 — — 3 Fair value of derivative assets $ 378,967 $ (220,822 ) $ (21,336 ) $ 136,809 Commodity derivative liabilities $ (245,469 ) $ 220,822 $ 18,751 $ (5,896 ) Interest rate swap derivative liabilities (16,128 ) — — (16,128 ) Fair value of derivative liabilities $ (261,597 ) $ 220,822 $ 18,751 $ (22,024 ) As of December 31, 2019 Gross Amount Not Offset in Gross Amount of Assets/Liabilities in the Balance Sheet Financial Cash Net Amount Commodity derivative assets $ 94,663 $ (36,885 ) $ — $ 57,778 Currency swaps 15 — — 15 Fair value of derivative assets $ 94,678 $ (36,885 ) $ — $ 57,793 Commodity derivative liabilities $ (79,379 ) $ 36,885 $ 31,303 $ (11,191 ) Interest rate swap derivative liabilities (8,214 ) — — (8,214 ) Fair value of derivative liabilities $ (87,593 ) $ 36,885 $ 31,303 $ (19,405 ) The following table presents total realized and unrealized gains (losses) on derivative instruments utilized for commodity risk management purposes included in cost of products sold (exclusive of depreciation and amortization): Three Months Ended March 31, 2020 2019 Refined products contracts $ 66,205 $ (16,383 ) Natural gas contracts 36,013 13,379 Total $ 102,218 $ (3,004 ) There were no discretionary trading activities for the three months ended March 31, 2020 and 2019 . The following table presents gross volume of commodity derivative instruments outstanding for the periods indicated: As of March 31, 2020 As of December 31, 2019 Refined Products (Barrels) Natural Gas (MMBTUs) Refined Products (Barrels) Natural Gas (MMBTUs) Long contracts 15,433 175,460 8,332 168,818 Short contracts (18,014 ) (92,733 ) (11,475 ) (91,011 ) Interest Rate Derivatives The Partnership has entered into interest rate swaps to manage its exposure to changes in interest rates on its Credit Agreement. The Partnership’s interest rate swaps hedge the interest rate risk associated with LIBOR based borrowings and have been designated as cash flow hedges. Counterparties to the Partnership’s interest rate swaps are large multinational banks and the Partnership does not believe there is a material risk of counterparty non-performance. The Partnership expects to continue to utilize interest rate swaps to hedge cash flow risk and to manage our exposure to LIBOR interest rates or its replaced equivalent for the foreseeable future. The Partnership's interest rate swap agreements outstanding as of March 31, 2020 were as follows: Beginning Ending Notional Amount January 2020 January 2021 $ 300,000 January 2021 January 2022 $ 300,000 January 2022 January 2023 $ 250,000 The Partnership records unrealized gains and losses on its interest rate swaps as a component of accumulated other comprehensive loss, net of tax, which is reclassified to earnings as interest expense when the payments are made. As of March 31, 2020 , the amount of unrealized losses , net of tax, expected to be reclassified to earnings during the following twelve-month period was $6.5 million . Contingent Consideration As part of the Coen Energy acquisition in 2017, the Partnership is obligated to pay contingent consideration of up to $12.0 million if certain earnings objectives during the first three years following the acquisition are met. The estimated fair value of the contingent consideration arrangement is classified within Level 3 and was determined using an income approach based on probability-weighted discounted cash flows. Under this method, a set of discrete potential future earnings was determined using internal estimates based on various revenue growth rate assumptions for each scenario. A probability was assigned to each discrete potential future earnings estimate. The resulting probability-weighted contingent consideration amounts were discounted using a weighted average discount rate of 7.0% . Changes in either the revenue growth rates, related earnings or the discount rate could result in a material change to the amount of contingent consideration accrued and such changes will be recorded in the Partnership's Condensed Consolidated Income Statements. The Partnership records changes in the estimated fair value of the contingent consideration within selling, general and administrative expenses in the Condensed Consolidated Income Statements. Changes in the contingent consideration liability are measured at fair value on a recurring basis using unobservable inputs (Level 3) are as follows: Contingent consideration - December 31, 2019 $ 7,590 Change in estimated fair value 120 Contingent consideration - March 31, 2020 $ 7,710 |