> For the complete documentation index, see [llms.txt](https://erc20-docs.particle.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://erc20-docs.particle.trade/logic/close-short.md).

# Close Short

<figure><img src="https://1743545109-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F134K9qwR2RRL5RDcV9YV%2Fuploads%2FmmtMNUv6xcb8x2zNMEqP%2FScreenshot%202023-12-10%20at%204.26.24%E2%80%AFPM.png?alt=media&amp;token=d5f4c17a-44ea-43b6-989e-2587da617280" alt=""><figcaption></figcaption></figure>

Note:&#x20;

* `premiumTo` in "Close Short" has the same length as the `premiumFrom` in "Open Short", but the line is moved down such that only `tokenToOwed` is sticking above `amountToAdd`. Moreover, since `tokenToOwed` is capped at `premiumFrom`, the maximum `amountReceived` is `amountToAdd`.
