bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 8쪽 중 2쪽
veLimitOrders}*{\text{ask/bid}}} (\text{limitPrice}*i \times \text{orderSize}*i) \\\[1em]
\text{orderMargin}*{\text{sameSide}} &= \frac{\text{orderValue}*{\text{ask/bid}}}{\text{leverage}} \\\[1em]
\text{orderMargin}*{\text{oppositeSide}} &=
\begin{cases}
\frac{ \text{orderValue}*{\text{ask/bid}} - 2 \times (|\text{position}| \times \text{markPrice} ) } {\text{leverage}} & \text{if Cross Margin} \\\[1.5ex]
\frac{ \text{orderValue}*{\text{ask/bid}}}{\text{leverage}} - \text{TAV}*{\text{isolated}} - \text{IMR}*{\text{isolated}} & \text{if Isolated Margin}
\end{cases} \\\[1.5em]
\text{availableOrderMargin}*{\text{mi}} &= \text{TAV}*{\text{cross}} - \text{IMR}*{\text{cross}} - \mathbf{M}*{\text{other}} - \mathbf{M}\_{\text{current}}
\end{align\*} \\\[0.5em]
\text{where} \\
\begin{align\*}
\mathbf{M}*{\text{other}} &= \sum*{i \neq \text{mi}} \left\[ \max\left( \text{orderMargin}*{i,\text{sameSide}},
\text{orderMargin}*{i,\text{oppositeSide}} \right) \right] \\\[0.5em]
\mathbf{M}*{\text{current}} &=
\begin{cases}
\text{orderMargin}*{\text{mi},\text{sameSide}} & \text{if New Order Side} = \text{Position Side} \\
\text{orderMargin}\_{\text{mi},\text{oppositeSide}} & \text{if New Order Side} \neq \text{Position Side}
\end{cases}
\end{align\*}
$$
***
### Price Checks
Price checks are used to guarantee that order prices remain within acceptable and realistic ranges, helping to prevent erroneous or extreme values.
**Fat Finger Prevention Check**\
This check ensures that the price of a limit order is within a reasonable range to prevent errors.
* For an **ask** order, the price must be at least: 
  $$max(MarkPrice, bestBid)×0.95$$
* For a **bid** order, the price must be at most: 
  $$min(MarkPrice, bestAsk)×1.05$$
If the **bestBid** or **bestAsk** does not exist, only the **markPrice** is used for validation.
The same check applies to SL/TP limit orders, but in this case, the *TriggerPrice* set in the order is used instead of the *MarkPrice*.
***
### Order Matching
When matching orders, Lighter uses a price-time priority system. When a new order is placed as the taker, the Lighter Matching Engine finds the highest-priority order on the opposite side of the order book, meaning the order with the best price. If there are multiple orders with the same best price, the oldest one is selected. The matching engine then executes the trade at the maker’s price. If the taker order is not fully filled, this process continues until the taker order is completely filled or until there are no more crossing orders. If the taker order is a limit order that needs to be placed in the order book, the Lighter Matching Engine inserts it on the corresponding side.
{% hint style="info" %}
The Lighter Matching Engine ensures that price-time priority is always respected by utilizing SNARKs to generate cryptographic proofs for fair order book matching execution. As a result, the Lighter Matching Engine operates as a trustless service, bound to function in a predefined way, making it mathematically impossible for it to act maliciously.
{% endhint %}
# Real World Assets (RWAs)
RWAs are tradeable 24/7 and include commodities, equities, and fixed income markets. The Experimental Liquidity Provider (XLP) previously served as the primary liquidity provider for these markets. The Lighter Liquidity Provider (LLP) now manages liquidity and handles liquidations. RWAs are subject to liquidations in the same manner as all other markets on the exchange. 
#### Leverage
Leverage does not change outside trading hours. A 10× long position on Gold (XAU) remains unchanged, and there is no requirement to reduce exposure. However, price volatility may increase at market open.
#### Market structure
All RWA markets support both Isolated and Cross Margin modes. 
# RWA Pricing Mechanism
RWA pricing is derived from two primary sources: external oracle feeds (e.g., Chainlink, Pyth, Stork, and other exchanges) and internal pricing.
The index price is calculated according to the pricing methodology defined below. For mark price, the only change is that the `cexPrices` component is replaced with the pricing methodology defined below.
### **Pricing Transition**
External oracle feeds are the primary price source. When oracle data becomes stale, the pricing mechanism shifts from oracle-based pricing to internal pricing. As soon as an external price is available, the internal price is going to instantly converge to it.
***
### Internal Pricing
Internal pricing is derived from order book impact prices, smoothed using a time-weighted Exponential Moving Average (EMA).
#### Time-Weighted EMA
$$
EMA\_t = \alpha \cdot P\_t + (1 - \alpha) \cdot EMA\_{t-1}
$$
$$
\alpha = 1 - e^{- \Delta t / \tau}
$$
* **Pₜ** — current impact price
* **τ** — smoothing time constant
* **Δt** — time since last update
***
### Index Price
For index price we set:
* $$\tau = 30 \text{ minutes}$$
The internal index price is capped relative to the last oracle price and the leverage of the market:
* **Indexᵢₙₜₑᵣₙₐₗ ∈ \[ P\_oracle · (1 − 1/L), P\_oracle · (1 + 1/L) ]**
* Where **L** is leverage.
***
### Mark Price Component
For mark price we set:
* $$\tau = 2 \text{ minutes}$$
The mark price is capped relative to the last oracle price and the leverage of the market:
* **Markᵢₙₜₑᵣₙₐₗ ∈ \[ P\_oracle · (1 − 1/L), P\_oracle · (1 + 1/L) ]**
A simulation:
<figure><img src="https://1186887628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXuISSHTfjHCg60BNss6v%2Fuploads%2F2WyZ6cI7PiskdMA8AKUo%2Fimage.png?alt=media&token=c845ccbe-203f-40a0-9d72-8e0a9ba464c8" alt=""><figcaption></figcaption></figure>
***
### Price Cap Removal (2026-07-10)
On the following markets there will be no price caps based on on the last oracle price: 
SPY, US500, QQQ, US100, XAU, XAG, NVDA, TSLA, AAPL, AMZN, MSFT, GOOGL, META, XCU, SNDK, WTI, XPD, XPT, BRENTOIL, MU, EWY, SPCX, DRAM, SOXL, SKHYNIXUSD, SAMSUNGUSD, INTC, NATGAS, IBM, AMD, MSTR
To prevent manipulation attacks, internal prices will continue to be validated against prices from other trading venues.
# Futures Contract Price Rolling Mechanism
Some markets (WTI, NATGAS, BRENTOIL, XCU, and WHEAT) use futures contracts as their underlying prices. To handle contract expirations, prices are gradually transitioned from the current month’s contract to the next month’s contract between the 5th and 10th business day.
Each day at 5:30 PM ET for WTI and NATGAS and at 7:00 PM ET for BRENTOIL, 20% of the price shifts from the current month to the next month. This means the price moves progressively, starting at 100% current month and ending at 100% next month over the five-day window.
Note: the underlying markets for WTI and NATGAS are closed between 5:00 PM ET and 6:00 PM ET, while for BRENTOIL they are closed between 6:00 PM ET and 8:00 PM ET (11PM London time - 1AM London time).
#### Example Roll Schedule (August, 2026)
| Date | Time | Front-Month | Next-Month |
| ---------- | ---------- | ----------- | ---------- |
| 2026-08-07 | 5:30 PM ET | 80% | 20% |
| 2026-08-10 | 5:30 PM ET | 60% | 40% |
| 2026-08-11 | 5:30 PM ET | 40% | 60% |
| 2026-08-12 | 5:30 PM ET | 20% | 80% |
| 2026-08-13 | 5:30 PM ET | 0% | 100% |
#### Roll Schedules (WTI, NATGAS, WHEAT, COPPER)
<table><thead><tr><th width="183.8173828125">Roll Date</th><th width="178.2109375">2026-07-08 5:30PM to 2026-07-14 5:30PM ET</th><th width="161.8525390625">2026-08-07 5:30PM to 2026-08-13 5:30PM ET</th><th width="169.314453125">2026-09-08 5:30PM to 2026-09-14 5:30PM ET</th><th width="163.7666015625">2026-10-07 5:30PM to 2026-10-13 5:30PM ET</th><th width="167.072265625">2026-11-06 5:30PM to 2026-11-12 5:30PM ET</th><th width="160.24609375">2026-12-07 5:30PM to 2026-12-11 5:30PM ET</th></tr></thead><tbody><tr><td>WTI</td><td>Q6 to U6</td><td>U6 to V6</td><td>V6 to X6</td><td>X6 to Z6</td><td>Z6 to F7</td><td>F7 to G7</td></tr><tr><td>NATGAS</td><td>Q26 to U26</td><td>U26 to V26</td><td>V26 to X26</td><td>X26 to Z26</td><td>Z26 to F27</td><td>F27 to G27</td></tr><tr><td>WHEAT</td><td>U26</td><td>U26 to Z26</td><td>Z26</td><td>Z26</td><td>Z26 to H27</td><td>H27</td></tr><tr><td>COPPER</td><td>U6</td><td>U6 to Z6</td><td>Z6</td><td>Z6</td><td>Z6 to H7</td><td>H7</td></tr></tbody></table>
#### Roll Schedules (BRENTOIL)
<table><thead><tr><th width="183.8173828125">Roll Date</th><th width="178.2109375">2026-07-08 7:00PM to 2026-07-14 7:00PM ET</th><th width="161.8525390625">2026-08-07 7:00PM to 2026-08-13 7:00PM ET</th><th width="169.314453125">2026-09-08 7:00PM to 2026-09-14 7:00PM ET</th><th width="163.7666015625">2026-10-07 7:00PM to 2026-10-13 7:00PM ET</th><th width="167.072265625">2026-11-06 7:00PM to 2026-11-12 7:00PM ET</th><th width="160.24609375">2026-12-07 7:00PM to 2026-12-11 7:00PM ET</th></tr></thead><tbody><tr><td>BRENTOIL</td><td>U6 to V6</td><td>V6 to X6</td><td>X6 to Z6</td><td>Z6 to F7</td><td>F7 to G7</td><td>G7 to H7</td></tr></tbody></table>
# Market Specifications
Current RWA market specifications are outlined below. These parameters may be updated at the discretion of the Lighter team. Please monitor official announcement channels for any changes. The market list reflects the active mainnet RWA markets as of 2026-10-12; see [Contract Specifications](https://docs.lighter.xyz/trading/contract-specifications) for margin and precision parameters.
<table><thead><tr><th width="157.32427978515625">Market</th><th width="117.19921875">Type</th><th width="128">Current Open Interest Cap (M)</th><th width="141.59375">Tracked Underlying</th><th width="162.9122314453125">Oracle</th><th width="336.4375">Link</th></tr></thead><tbody><tr><td>XAU</td><td>commodity</td><td>100</td><td>Tracks the value of 1 troy ounce of gold.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Metal.XAU%2FUSD">https://insights.pyth.network/price-feeds/Metal.XAU%2FUSD</a></td></tr><tr><td>XAG</td><td>commodity</td><td>100</td><td>Tracks the value of 1 troy ounce of silver.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Metal.XAG%2FUSD">https://insights.pyth.network/price-feeds/Metal.XAG%2FUSD</a></td></tr><tr><td>XCU</td><td>commodity</td><td>10</td><td>Tracks the value of 1 pound of copper.</td><td>redstone</td><td>N/A</td></tr><tr><td>XPT</td><td>commodity</td><td>10</td><td>Tracks the value of 1 troy ounce of platinum.</td><td>chainlink</td><td>N/A</td></tr><tr><td>XPD</td><td>commodity</td><td>10</td><td>Tracks the value of 1 troy ounce of palladium.</td><td>chainlink</td><td>N/A</td></tr><tr><td>WTI</td><td>commodity</td><td>25</td><td>Tracks the value of 1 barrel of West Texas Intermediate Light Sweet Crude Oil.</td><td>redstone</td><td>N/A</td></tr><tr><td>NATGAS</td><td>commodity</td><td>50</td><td>Tracks the value of 1 MMBtu of Henry Hub natural gas.</td><td>redstone</td><td>N/A</td></tr><tr><td>BRENTOIL</td><td>commodity</td><td>100</td><td>Tracks the value of 1 barrel of Brent Crude Oil.</td><td>pyth pro</td><td><a href="https://app.pyth.com/explore/Commodities.BRENTU6%2FUSD?returnUrl=%2Fexplore%3Fsearch%3DBRENT%26state%3Dstable">https://app.pyth.com/explore/Commodities.BRENTU6%2FUSD?returnUrl=%2Fexplore%3Fsearch%3DBRENT%26state%3Dstable</a></td></tr><tr><td>EURUSD</td><td>fx</td><td>200</td><td>Tracks the exchange rate of EUR/USD.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/FX.EUR%2FUSD">https://insights.pyth.network/price-feeds/FX.EUR%2FUSD</a></td></tr><tr><td>USDKRW</td><td>fx</td><td>50</td><td>Tracks the exchange rate of USD/KRW.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/FX.USD%2FKRW">https://insights.pyth.network/price-feeds/FX.USD%2FKRW</a></td></tr><tr><td>USDJPY</td><td>fx</td><td>50</td><td>Tracks the exchange rate of USD/JPY.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/FX.USD%2FJPY">https://insights.pyth.network/price-feeds/FX.USD%2FJPY</a></td></tr><tr><td>GBPUSD</td><td>fx</td><td>50</td><td>Tracks the exchange rate of GBP/USD.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/FX.GBP%2FUSD">https://insights.pyth.network/price-feeds/FX.GBP%2FUSD</a></td></tr><tr><td>USDCHF</td><td>fx</td><td>50</td><td>Tracks the exchange rate of USD/CHF.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/FX.USD%2FCHF">https://insights.pyth.network/price-feeds/FX.USD%2FCHF</a></td></tr><tr><td>NZDUSD</td><td>fx</td><td>50</td><td>Tracks the exchange rate of NZD/USD.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/FX.NZD%2FUSD">https://insights.pyth.network/price-feeds/FX.NZD%2FUSD</a></td></tr><tr><td>USDCAD</td><td>fx</td><td>TBD</td><td>Tracks the exchange rate of USD/CAD.</td><td>pyth pro</td><td><a href="https://app.pyth.com/explore/FX.USD%2FCAD">https://app.pyth.com/explore/FX.USD%2FCAD</a></td></tr><tr><td>AUDUSD</td><td>fx</td><td>TBD</td><td>Tracks the exchange rate of AUD/USD.</td><td>pyth pro</td><td><a href="https://app.pyth.com/explore/FX.AUD%2FUSD">https://app.pyth.com/explore/FX.AUD%2FUSD</a></td></tr><tr><td>SKHYNIXUSD</td><td>equity</td><td>100</td><td>Tracks the value of one share of SK Hynix Inc quoted in USD.</td><td>000660.KS</td><td>N/A</td></tr><tr><td>SAMSUNGUSD</td><td>equity</td><td>10</td><td>Tracks the value of one share of Samsung Electronics Co Ltd quoted in USD.</td><td>005930.KS</td><td>N/A</td></tr><tr><td>HYUNDAIUSD</td><td>equity</td><td>10</td><td>Tracks the value of one share of Hyundai Motor Company quoted in USD.</td><td>005380.KS</td><td>N/A</td></tr><tr><td>NVDA</td><td>equity</td><td>50</td><td>Tracks the value of one share of NVIDIA Corporation.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.NVDA%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.NVDA%2FUSD</a></td></tr><tr><td>TSLA</td><td>equity</td><td>50</td><td>Tracks the value of one share of Tesla Inc.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.TSLA%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.TSLA%2FUSD</a></td></tr><tr><td>CRCL</td><td>equity</td><td>10</td><td>Tracks the value of one share of Circle Internet Group Inc.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.CRCL%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.CRCL%2FUSD</a></td></tr><tr><td>GOOGL</td><td>equity</td><td>50</td><td>Tracks the value of one share of Alphabet Inc. Class A.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.GOOGL%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.GOOGL%2FUSD</a></td></tr><tr><td>MSTR</td><td>equity</td><td>10</td><td>Tracks the value of one share of MicroStrategy Incorporated.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.MSTR%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.MSTR%2FUSD</a></td></tr><tr><td>MSFT</td><td>equity</td><td>10</td><td>Tracks the value of one share of Microsoft Corporation.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.MSFT%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.MSFT%2FUSD</a></td></tr><tr><td>AMZN</td><td>equity</td><td>50</td><td>Tracks the value of one share of Amazon.com, Inc.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.AMZN%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.AMZN%2FUSD</a></td></tr><tr><td>AAPL</td><td>equity</td><td>10</td><td>Tracks the value of one share of Apple Inc.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.AAPL%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.AAPL%2FUSD</a></td></tr><tr><td>COIN</td><td>equity</td><td>10</td><td>Tracks the value of one share of Coinbase Global, Inc.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.COIN%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.COIN%2FUSD</a></td></tr><tr><td>META</td><td>equity</td><td>10</td><td>Tracks the value of one share of Meta Platforms, Inc.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.META%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.META%2FUSD</a></td></tr><tr><td>INTC</td><td>equity</td><td>50</td><td>Tracks the value of one share of Intel Corporation.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.INTC%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.INTC%2FUSD</a></td></tr><tr><td>HOOD</td><td>equity</td><td>10</td><td>Tracks the value of one share of Robinhood Markets, Inc.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.HOOD%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.HOOD%2FUSD</a></td></tr><tr><td>ASML</td><td>equity</td><td>10</td><td>Tracks the value of one share of ASML Holding N.V.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.ASML%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.ASML%2FUSD</a></td></tr><tr><td>AMD</td><td>equity</td><td>10</td><td>Tracks the value of one share of Advanced Micro Devices, Inc.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.AMD%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.AMD%2FUSD</a></td></tr><tr><td>SNDK</td><td>equity</td><td>50</td><td>Tracks the value of one share of SanDisk Corporation.</td><td>pyth pro</td><td><a href="https://insights.pyth.network/price-feeds/Equity.US.SNDK%2FUSD">https://insights.pyth.network/price-feeds/Equity.US.SNDK%2FUSD</a></td></tr><tr><td>MU</td><td>equity</td><td>50</td><td>Tracks the value of one share of Micron Technology, Inc.</td><td>pyth pro</td><td><a href="https://pythdata.app/explore/Equity.US.MU%2FUSD">https://pythdata.app/explore/Equity.US.MU%2FUSD</a></td></tr><tr><td>ORCL</td><td>equity</td><td>20</td><td>Tracks the value of one share of Oracle Corporation.</td><td>pyth pro</td><td><a href="https://pythdata.app/explore/Equity.US.ORCL%2FUSD">https://pythdata.app/explore/Equity.US.ORCL%2FUSD</a></td></tr><tr><td>MRVL</td><td>equity</td><td>25</td><td>Tracks the value of one share of Marvell Technology, Inc.</td><td>pyth pro</td><td><a href="https://pythdata.app/explore/Equity.US.MRVL%2FUSD">https://pythdata.app/explore/Equity.US.MRVL%2FUSD</a></td></tr><tr><td>CBRS</td><td>equity</td><td>30</td><td>Tracks the value of one share of Cerebras Systems Inc.</td><td>pyth pro</td><td><a href="https://pythdata.app/explore/Equity.US.CBRS%2FUSD">https://pythdata.app/explore/Equity.US.CBRS%2FUSD</a></td></tr><tr><td>BOT</td><td>equity</td><td>20</td><td>Tracks the value of one share of RoboStrategy Inc.</td><td>stork</td><td>N/A</td></tr><tr><td>NBIS</td><td>equity</td><td>25</td><td>Tracks the value of one share of Nebius Group NV.</td><td>pyth pro</td><td><a href="https://app.pyth.com/explore/Equity.US.NBIS%2FUSD?returnUrl=%2Fexplore%3Fsearch%3DNBIS%26state%3Dstable">https://app.pyth.com/explore/Equity.US.NBIS%2FUSD?returnUrl=%2Fexplore%3Fsearch%3DNBIS%26state%3Dstable</a></td></tr><tr><td>NOW</td><td>equity</td><td>25</td><td>Tracks the value of one share of ServiceNow, Inc.</td><td>pyth pro</td><td><a href="https://app.pyth.com/explore/Equity.US.NOW%2FUSD?returnUrl=%2Fexplore%3Fsearch%3DNOW%26state%3Dstable">https://app.pyth.com/explore/Equity.US.NOW%2FUSD?returnUrl=%2Fexplore%3Fsearch%3DNOW%26state%3Dstable</a></td></tr><tr><td>RKLB</td><td>equity</td><td>10</td><td>Tracks the value of one share of Rocket Lab Corporation.</td><td>pyth pro</td><td><a href="https://app.pyth.com/explore/Equity.US.RKLB%2FUSD?returnUrl=%2Fexplore%3Fsearch%3Drklb%26state%3Dstable">https://app.pyth.com/explore/Equity.US.RKLB%2FUSD?returnUrl=%2Fexplore%3Fsearch%3Drklb%26state%3Dstable</a></td></tr><tr><td>DELL</td><td>equity</td>프로젝트로 돌아가기