# 借款

Backpack 允许用户借入资产，以满足多种使用场景，例如现货保证金交易。借入的资产将进入可用余额，用户可以用于下单或提现，前提是满足保证金要求。

与大多数借贷协议或产品不同，用户无需先向借贷池提供资产即可借款。只要子账户可用权益（Available Equity） 充足，用户即可开始借款。

以下是在 Backpack 借款的三种方式：

{% embed url="<https://youtu.be/rU4FauG-bVM>" %}

### **方法 1 - 手动借款** <a href="#method-1-manual-borrow" id="method-1-manual-borrow"></a>

用户可以在 出借页面的 借款选项卡中手动借款。

注意：自动借贷（Auto Lend） 设定会自动偿还子账户中的所有借款。因此，当 Auto Lend 开启时，**手动借款将被禁用**，因为所有手动借款会立即被自动偿还。在 Auto Lend 模式下，借款只能通过现货保证金或 保证金提现进行。

### **方法 2 - 现货保证金** <a href="#method-2-spot-margin" id="method-2-spot-margin"></a>

用户可以在下单界面勾选保证金（Margin）复选框，以自动借款。当用户使用超过当前持有资产的数量，或卖出未持有的资产时，将自动触发借款。例如：如果用户持有 USDC，但想要做空 ETH 现货，只需启用保证金模式并卖出 ETH，系统将自动借入 ETH，用户无需事先手动借款即可进行交易。

### **方法 3 - 保证金提现** <a href="#method-3-margin-withdrawal" id="method-3-margin-withdrawal"></a>

用户还可以通过保证金提现借款，即提取当前未持有的资产。在 提现弹窗中勾选**保证金**复选框，即可借款提现。允许提现的最大金额将由当前可用权益确定。

### 借款偿还 <a href="#repayment" id="repayment"></a>

借款可以通过以下方式偿还：

#### **手动偿还** <a href="#manual-repayment" id="manual-repayment"></a>

如果用户持有所欠资产，可在交易页面的借款选项卡中点击“偿还”，或在 出借页面的**偿还**选项卡手动偿还。 • 注意：当 Auto Lend 开启时，手动偿还不可用，因为系统会自动偿还所有借款（前提是账户中有足够的可用余额）。

#### **现货保证金** <a href="#spot-margin" id="spot-margin"></a>

现货保证金交易的收益可用于自动偿还借款。例如：如果用户欠 1 SOL，当他们在保证金模式下购买 1 SOL 时，该 SOL 将自动用于偿还未偿还的借款。

#### **存款** <a href="#depositing" id="depositing"></a>

当 Auto Lend 开启时，所有借款将在账户有可用余额后自动偿还。例如：如果用户欠 1 SOL，只需向子账户存入 1 SOL，系统就会自动偿还该债务。


---

# 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://guide.backpack.exchange/cn/jie-dai/jie-kuan.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.
