# Leverage

## Overview

Factor Studio also provides a leverage template which enables simple management of leveraged strategies. This combines various building blocks to facilitate advanced [collateralized lending and borrowing](/factor-building-blocks/leverage/concepts/collateralized-lending-and-borrowing.md) management across multiple DeFi lending protocols. By codifying the convoluted lending processes, the Leverage Building Block provides a simple interface enabling lenders to quickly manage their positions in accordance with market dynamics.

The Leverage template combines the following blocks:

* Flash Loan
* Lend
* Borrow
* Swap

With integrations across multiple lending protocols, lenders are free to choose between their preferred protocols, tokens, and strategies without worrying about specific protocol differences. The Leverage template allows lenders to easily access more liquidity while offsetting the opportunity costs of [HODL](https://www.investopedia.com/terms/h/hodl.asp)ing their favourite tokens.

<details>

<summary>Related Concepts</summary>

* [Collateralized Lending](/factor-building-blocks/leverage/concepts/collateralized-lending-and-borrowing.md)
* [Looping](/factor-building-blocks/leverage/concepts/looping.md)

</details>

## Features

* **Access More Liquidity:** Maintain exposure to collateralized assets while maximizing capital efficiency by borrowing tokens against your lending position.
* **Collateral And Debt Asset Switching:** Easily replace your collateral or borrowed token with an alternate token in a single transaction.
* **Effortless Refinancing:** Compare lending terms across multiple protocols and seamlessly migrate your leveraged position to take advantage of market conditions.
* **Liquidation Safeguards:** Immediate liquidations risks are minimized through customizable parameters that enable risk management flexibility.
* **Real Time Updates:** The Leverage Building Block provides real time data for crucial position metrics such as Loan-To-Value (LTV), liquidation factors, as well as health factors.

## Integrations

Factor has integrated with leading lending protocols, offering a broad spectrum of possibilities for your strategies.

* [Aave](https://aave.com/)
* [Compound](https://app.compound.finance/markets)
* [Lodestar Finance](https://www.lodestarfinance.io/)
* [Silo](https://www.silo.finance/)
* [Tender.Fi](https://www.tender.fi/)

Visit our [**Factor Discover**](https://app.factor.fi/discover) page to see the latest leverage strategies.

{% hint style="success" %}
**Don't Limit Your Strategies To Just Leverage**

[Factor Studio](/factor-studio/factor-studio.md) enables different [Building Blocks](/factor-building-blocks/factor-building-blocks.md) to be mixed-and-matched thereby facilitating multi-step strategies which span across the whole DeFi ecosystem.

Please refer to [Supported Protocols](/getting-started/supported-protocols.md) to view the full list of DeFi protocols which have been integrated with Factor Studio.
{% endhint %}

## Next Steps

{% tabs %}
{% tab title="Users" %}

* [Create A Leveraged Position](/factor-discover/factor-discover/leverage-user-guides/create-a-leveraged-position.md)
* [Adjust Position Leverage](/factor-discover/factor-discover/leverage-user-guides/adjust-position-leverage.md)
* [Add Collateral To Position](/factor-discover/factor-discover/leverage-user-guides/add-collateral-to-position.md)
* [Withdraw Collateral From Position](/factor-discover/factor-discover/leverage-user-guides/withdraw-collateral-from-position.md)
* [Repay Position Debt](/factor-discover/factor-discover/leverage-user-guides/repay-position-debt.md)
* [Manage Your Loan](broken://pages/ndxqMAvAuP8zIJOvLQOn)
* [Refinance Your Loan](broken://pages/RRFQ3FHesFBGWpq5fLH9)
  {% endtab %}

{% tab title="Strategy Builders" %}
{% hint style="info" %}
:construction: This section is under construction. Stay tuned for exciting updates coming real soon!
{% endhint %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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:

```
GET https://docs.factor.fi/factor-building-blocks/leverage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
