Derivatives, One Step at a Time

How to Close a Futures Position: Offsetting Trades

Loading Java…

Close a position without buying the flour

A futures position can usually be closed by an opposite trade in the same contract. Closing removes that position; it does not cancel the bakery’s need for flour. Continue with the fictional 25-bag September flour future.

Predict first, run the calculation, then make the requested change. Each exercise has a check; enter numbers without units.

How do you close a futures position?

A futures position can usually be closed by an equal opposite trade in the same contract. Sell the same contract to close a long position; buy it back to close a short position. Specifications and delivery month must match.

Starting positionClosing tradeRemaining position
Long 3 September contractsSell 3 matching September contractsZero
Short 3 September contractsBuy 3 matching September contractsZero
Long 3 September contractsSell 3 December contractsLong September and short December; not closed

Cumulative futures profit and loss

For a position held at constant size, long P&L = quantity × (exit price − entry price). For a short, reverse the subtraction. Closing removes the position, not the gain or loss. Daily settlement pays those changes along the way; it is not an additional profit at closing. Offsetting futures does not buy the bakery’s physical flour.

Exercise 1 — Give the position a sign

Use positive counts for long contracts and negative counts for short contracts. A long position benefits from rising futures prices; a short position benefits from falling prices. Express three long contracts as a signed count, then try a short position.

In [ ]:
Java
CHECK YOUR UNDERSTANDING · WRITE AN ANSWER

How many bags of signed exposure do three short contracts represent?

Need a hint?

Return to this exercise’s stated quantity, direction and cash flows. Use changed values when the question asks for them.

Waiting for your answer.

Exercise 2 — Record an opening trade

The bakery starts with no futures position and buys three contracts. Add the signed trade to the starting position. Before trading again, ask whether the next action should add exposure or remove it. The balance is a contract count, not a cash balance.

In [ ]:
Java
CHECK YOUR UNDERSTANDING · WRITE AN ANSWER

What is the position count after buying three contracts?

Need a hint?

Return to this exercise’s stated quantity, direction and cash flows. Use changed values when the question asks for them.

Waiting for your answer.

Exercise 3 — Offset the same contract

To close three long September contracts, sell three September contracts with the same specifications. Add the signed counts. The result is zero remaining exposure in that contract. The original trade was not erased: its gain or loss still belongs to the account.

In [ ]:
Java
CHECK YOUR UNDERSTANDING · WRITE AN ANSWER

What is the remaining contract count?

Need a hint?

Return to this exercise’s stated quantity, direction and cash flows. Use changed values when the question asks for them.

Waiting for your answer.

Read the picture

Open, increase and offset futures positions while keeping the physical business purchase separate.

Open, increase and offset futures positions while keeping the physical business purchase separate.

Exercise 4 — Spot a doubling mistake

Suppose someone buys three more contracts instead of selling three. Calculate the new count and represented bags. This increases the position. A second trade is not automatically a closing trade; its direction and the contract identity matter.

In [ ]:
Java
CHECK YOUR UNDERSTANDING · WRITE AN ANSWER

How many contracts are now long?

Need a hint?

Return to this exercise’s stated quantity, direction and cash flows. Use changed values when the question asks for them.

Waiting for your answer.

Exercise 5 — Calculate the long’s result

Three contracts were bought at $21 per bag and closed at $24. Multiply the price change by all 75 bags. This is cumulative futures P&L; later we will see how daily settlement pays it along the way. Change the exit quote to $19.

In [ ]:
Java
CHECK YOUR UNDERSTANDING · WRITE AN ANSWER

What is the signed cumulative P&L at a $19 exit?

Need a hint?

Return to this exercise’s stated quantity, direction and cash flows. Use changed values when the question asks for them.

Waiting for your answer.

Exercise 6 — Reverse the direction

A trader instead opened three short contracts at $21 and bought them back at $24. Reverse the subtraction order. A rising price hurts the short. Change the exit quote to $19 and see why falling prices help it.

In [ ]:
Java
CHECK YOUR UNDERSTANDING · WRITE AN ANSWER

What is the short’s P&L at a $19 exit?

Need a hint?

Return to this exercise’s stated quantity, direction and cash flows. Use changed values when the question asks for them.

Waiting for your answer.

Read the picture

Open, increase and offset futures positions while keeping the physical business purchase separate.

Compare the picture with the calculations above. The figure shows its stated original values; editing a cell does not change it.

Exercise 7 — Keep contracts and business needs separate

Selling three December contracts does not automatically close three September contracts. The two positions have different delivery months, even if signed bag counts sum to zero. Likewise, closing September futures does not order or pay for the bakery’s eventual physical flour purchase.

In [ ]:
Java
CHECK YOUR UNDERSTANDING · CHOOSE ONE

Is the September position closed by that December trade?

Need a hint?

Check the assumptions and what the contract does and does not guarantee.

Waiting for your answer.

Remember

Open, increase and offset futures positions while keeping the physical business purchase separate.

These are simplified examples with matching terms unless a mismatch is explicitly introduced. Quotes and margin rules are fictional. Fees, financing and withdrawals are excluded unless stated.

Keyboard shortcuts

Shift + Enter
Run code, check a quiz answer, or advance past Markdown; then select the next cell.
Tab
Move focus to the next control or cell.
Shift + Tab
Move focus to the previous control or cell.
Enter
Check an answer when a quiz input is focused, or activate a focused button.
Esc
Close this popup.