> ## Documentation Index
> Fetch the complete documentation index at: https://docs.intention.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# 交易概覽

> 什麼是永續合約，部位從開倉到平倉會經歷什麼，以及每項機制分別記錄在哪裡。

Intention Exchange 交易的是**永續合約**——追蹤某項資產價格、但永不到期的合約。你建立部位，價格波動帶來損益，只要擔保品撐得住，你就可以一直持有。

本章逐項精確說明每種機制。本頁是這張地圖。

<h2 id="what-makes-a-perpetual-different">
  永續合約特殊在哪裡
</h2>

傳統期貨合約有交割日，正是這個日期把價格拉回標的。永續合約沒有這個日期，因此需要另一套機制：[**資金費率**](/zh-Hant/trading/funding)——多頭與空頭之間定期互付的款項，讓擁擠的一方向另一方付錢。

永不到期還帶來另外兩個後果：

**你繳的是保證金，不是全額。** 部位的名目價值遠高於背後的擔保品。這就是[槓桿](/zh-Hant/trading/leverage)，也是部位可能違背你的意願被平掉的原因。

**你的部位隨時都在重新估值。** 依據的不是最後一筆成交價，而是刻意做得難以推動的[**標記價格**](/zh-Hant/trading/mark-price)。這個數字決定你的未實現損益，也決定你能否保住部位。

<h2 id="the-life-of-a-position">
  部位的一生
</h2>

<div className="dg" data-dg="position-lifecycle">
  <div className="dg-c" style={{aspectRatio:"720 / 342"}}>
    <svg className="dg-w" viewBox="0 0 720 342" aria-hidden="true">
      <path className="dg-rule dg-dash" d="M 148.0 128 L 148.0 147" />

      <path className="dg-rule dg-dash" d="M 148.0 193 L 148.0 206" />

      <path className="dg-rule dg-dash" d="M 312.0 128 L 312.0 147" />

      <path className="dg-rule dg-dash" d="M 312.0 193 L 312.0 206" />

      <path className="dg-rule dg-dash" d="M 476.0 128 L 476.0 147" />

      <path className="dg-rule dg-dash" d="M 476.0 193 L 476.0 206" />

      <path className="dg-rule dg-dash" d="M 640.0 128 L 640.0 147" />

      <path className="dg-rule dg-dash" d="M 640.0 193 L 640.0 206" />

      <path className="dg-wire dg-soft" d="M 217.88 170.00 L 235.72 170.00" />

      <path className="dg-head" d="M 242.12 170.00 L 235.72 174.40 L 235.72 165.60 Z" />

      <path className="dg-wire dg-soft" d="M 381.88 170.00 L 399.72 170.00" />

      <path className="dg-head" d="M 406.12 170.00 L 399.72 174.40 L 399.72 165.60 Z" />

      <path className="dg-wire dg-soft" d="M 545.88 170.00 L 563.72 170.00" />

      <path className="dg-head" d="M 570.12 170.00 L 563.72 174.40 L 563.72 165.60 Z" />
    </svg>

    <div className="dg-b dg--blue" style={{left:"10.0000%",top:"5.8480%",width:"21.1111%",height:"30.4094%"}}><span className="dg-t">保證金模式 · 槓桿</span><span className="dg-s">按市場 · 按帳戶</span></div>
    <div className="dg-b dg--brown dg-round dg-tight" style={{left:"11.2667%",top:"44.1520%",width:"18.5778%",height:"11.1111%"}}><span className="dg-t">開倉之前</span></div>
    <div className="dg-b dg--brown" style={{left:"10.0000%",top:"61.4035%",width:"21.1111%",height:"30.9942%"}}><span className="dg-t">檢查起始保證金</span><span className="dg-s">在訂單被接受之前</span></div>
    <div className="dg-b dg--blue" style={{left:"32.7778%",top:"5.8480%",width:"21.1111%",height:"30.4094%"}}><span className="dg-t">訂單類型 · 數量 · 價格</span><span className="dg-s">限價單掛著等，市價單直接吃</span></div>
    <div className="dg-b dg--brown dg-round dg-tight" style={{left:"34.0444%",top:"44.1520%",width:"18.5778%",height:"11.1111%"}}><span className="dg-t">開倉</span></div>
    <div className="dg-b dg--brown" style={{left:"32.7778%",top:"61.4035%",width:"21.1111%",height:"30.9942%"}}><span className="dg-t">在訂單簿上撮合</span><span className="dg-s">先看價格，再看區塊內位置</span></div>
    <div className="dg-b dg--blue" style={{left:"55.5556%",top:"5.8480%",width:"21.1111%",height:"30.4094%"}}><span className="dg-t">停利 · 停損<br />追加保證金 · 改單</span><span className="dg-s">隨時可用，不是必選</span></div>
    <div className="dg-b dg--brown dg-round dg-tight" style={{left:"56.8222%",top:"44.1520%",width:"18.5778%",height:"11.1111%"}}><span className="dg-t">持有期間</span></div>
    <div className="dg-b dg--brown" style={{left:"55.5556%",top:"61.4035%",width:"21.1111%",height:"30.9942%"}}><span className="dg-t">持續標記<br />資金費按時結算</span><span className="dg-s">保證金使用率隨標記價格變動</span></div>
    <div className="dg-b dg--blue" style={{left:"78.3333%",top:"5.8480%",width:"21.1111%",height:"30.4094%"}}><span className="dg-t">你平掉或反手</span><span className="dg-s">價格由你決定</span></div>
    <div className="dg-b dg--orange dg-round dg-tight" style={{left:"79.6000%",top:"44.1520%",width:"18.5778%",height:"11.1111%"}}><span className="dg-t">平倉</span></div>
    <div className="dg-b dg--orange" style={{left:"78.3333%",top:"61.4035%",width:"21.1111%",height:"30.9942%"}}><span className="dg-t">強平 → 保險基金 → 自動減倉</span><span className="dg-s">淨擔保品低於維持保證金時</span></div>
    <div className="dg-free dg-right" style={{left:"0.0000%",top:"25.1462%",width:"7.5000%"}}><div className="dg-s">你</div></div>
    <div className="dg-free dg-right" style={{left:"0.0000%",top:"61.4035%",width:"7.5000%"}}><div className="dg-s">協議</div></div>
  </div>
</div>

**開倉之前**，兩項設定決定你的擔保品如何運作：[保證金模式](/zh-Hant/trading/margin-modes)——這個部位是與你的其他部位共用擔保品，還是獨立持有——以及[槓桿](/zh-Hant/trading/leverage)，決定這個部位需要佔用多少保證金。

**開倉時**，你提交一筆[訂單](/zh-Hant/trading/order-types)。限價單指定價格並等待；市價單吃掉訂單簿此刻提供的流動性，並受[滑價保護](/zh-Hant/trading/market-to-limit)約束。訂單相對[訂單簿](/zh-Hant/trading/order-book)偏大時，按[時間](/zh-Hant/trading/twap)或[價格](/zh-Hant/trading/scale-orders)拆開，通常比一口氣吃掉便宜。

**持有期間**，部位持續標記，[資金費率](/zh-Hant/trading/funding)按時結算，你的保證金使用率隨價格變動。保護性訂單——[停利與停損](/zh-Hant/trading/tp-sl)——可以在你設定的價位自動平倉。

**平倉**可能是你自己平，也可能是協議來平。保證金一旦耗盡，[強制平倉](/zh-Hant/trading/liquidations)接管；極端情況下訂單簿與保險基金都吸收不了虧損，[自動減倉](/zh-Hant/trading/adl)就會觸及對手側的獲利部位。

<h2 id="what-is-different-here">
  這裡有什麼不同
</h2>

上面絕大部分內容對任何永續合約交易場所都成立。有三點不成立。

**撮合與清算就是鏈上執行。** 訂單撮合、保證金檢查、部位清算都在協議內部完成，依據的是共識已經確定的排序。沒有另一處跑著撮合引擎、再把結果報回來這回事。參見[架構](/zh-Hant/protocol/architecture/overview)。

**區塊內的優先級由協議固定。** 撤單先於主動吃單執行，強制平倉先於自主交易流處理——與你離驗證者多近無關。區塊之內，延遲不再決定結果。參見[交易排序](/zh-Hant/trading/tx-sequencing)。

**決定你部位的那些價格，就在使用它們的那個區塊裡完成認證。** 沒有另一個獨立的預言機週期可供搶先交易。參見[指數價格](/zh-Hant/trading/index-price)。

<h2 id="where-to-start">
  從哪裡開始
</h2>

<CardGroup cols={2}>
  <Card title="市場" href="/zh-Hant/trading/markets">
    上線了哪些合約，以及每份合約背後的規格。
  </Card>

  <Card title="訂單類型" href="/zh-Hant/trading/order-types">
    限價、市價、訂單有效期，以及約束訂單行為的旗標。
  </Card>

  <Card title="保證金模式" href="/zh-Hant/trading/margin-modes">
    全倉與逐倉，單向與雙向。
  </Card>

  <Card title="強制平倉" href="/zh-Hant/trading/liquidations">
    評估什麼、何時評估，以及什麼先發生。
  </Card>
</CardGroup>

<Warning>
  永續合約是槓桿工具。你可能損失全部保證金；極端條件下，部位可能在遠離你預期的價格被平掉。拿你承受不起的資金去交易之前，先讀[風險揭露](/zh-Hant/protocol/security/risks)。
</Warning>
