> For the complete documentation index, see [llms.txt](https://tectonic.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tectonic.gitbook.io/docs/protocol/leverage-management-tools/shorting-assets.md).

# Shorting Assets

## What is short selling? <a href="#id-337b" id="id-337b"></a>

Shorting is a strategy that allows you to profit from the **decline in the price of an asset**. It involves:

* Borrowing an asset,&#x20;
* Selling it on the market at the current price,
* Then buying it back later at a lower price to repay the loan—keeping the difference as profit.&#x20;

**Note**: However, if the **price of the asset goes up** instead of down, you will incur a **loss**.

Here are 2 key use cases:

1. **Speculation**

Shorting provides an opportunity to speculate on specific tokens that you believe may experience a decline in value.&#x20;

For example, if you believe the price of ABC will decline over the next few weeks, you can use Tectonic’s short feature to long USDC against ABC. First, deposit 100 USDC tokens (worth $100), borrow 50 ABC tokens (worth $50), swap ABC for more USDC, and deposit it back on Tectonic. If ABC’s price declines by 50%, you can buy back the 50 tokens for $25. That means when you close out your debt, you would have profited $25. Of course, the risk is prices moving against you instead, so manage risk accordingly.

2. **Hedging**

By shorting tokens on Tectonic, users can effectively hedge their existing crypto exposure without having to sell the initial assets.

For example, you may be long-term bullish on token ABC, but are concerned about potential short-term price volatility. To hedge against possible near-term declines in ABC’s price, you can use our shorting tool to hedge your exposure on Tectonic. Similar to the example above, short ABC against USDC. If ABC declines in price, this hedge will provide you with some downside protection. If, however, ABC’s price rises, this strategy will eat into some of the upside you would have gotten from just longing the asset.

## How does shorting work on Tectonic? <a href="#id-337b" id="id-337b"></a>

Similar to Repay with Collateral and Collateral Swap, our Shorting feature also utilises the deferLiquidityCheck() function to roll multiple steps into a single transaction. Here's how:

**Step 1:** User confirms to long token A and short token B

**Step 2:** On the backend, Tectonic will borrow token B and swap it for Token A on an integrated DEX (currently VVS Finance or WOWMAX are available for selection). No liquidity check conducted at this point

**Step 3:** The newly swapped Token A will be used to mint tToken A, and deposited back onto Tectonic as collateral&#x20;

**Step 4:** Liquidity check is now conducted

In summary:

Long = supplying a token (e.g. token A) for use as collateral on Tectonic

Short = borrowing another token (e.g. token B), swapping it to token A and redepositing it back on Tectonic

For more information on how to use this tool, check out this [section](/docs/guides/shorting-assets.md).&#x20;

## Definitions <a href="#id-337b" id="id-337b"></a>

**Borrowing level**

* Lava bar of a user’s entire position within an isolated pool
* Borrowing level = Total amount of Debt in USD / (sum(Amount of each collateral in USD \* each collateral's respective Collateral factor))

**Leverage**

* A user's entire leverage position within an isolated pool
* Leverage = 1 / (1 - LTV)

**Final Long Balance**

* The final amount to be supplied as collateral (i.e. long) on Tectonic following the swap

**Final Short Balance**

* The final amount to be borrowed (i.e. shorted) on Tectonic following the swap

**Net APY**

* Weighted APY based on a user's chosen long and short asset
* Net APY = \[(Long asset in USD \* net Supply APY) - (Short asset in USD \* net Borrow APY)] / (Long asset in USD)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://tectonic.gitbook.io/docs/protocol/leverage-management-tools/shorting-assets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
