2.7 The BTC-PERP market
BTC-PERP is a perpetual future on BTC with USD margin. A perpetual has no end date. Funding payments keep its price near the BTC price. It is the first market of the exchange.
Contract
| Item | Value |
|---|---|
| Lot (size step) | 0.001 BTC |
| Tick (price step) | 1 USD |
| Position limit for each account | 10 BTC |
| Fees | none on the testnet. Production fees are not set. |
| Margin | isolated: one position for each account |
| Leverage | 1x to 20x |
| Initial margin | 1 divided by the leverage (5% at 20x) |
| Maintenance margin | 2.5% at all leverage values |
Index and mark price
An oracle publishes the index two times each second. The index is the median of three sources: Coinbase, Kraken, and Binance (BTC/USDT, converted to USD). At least two sources must be new and must agree.
The mark price is the median of three values that come from the index and the order book. The mark price sets margin and liquidation.
Funding
The matcher measures the premium of the book against the index. Each hour, the average premium divided by 8 becomes the funding rate. The maximum is 1%.
Order types
| Type | Behavior |
|---|---|
| Limit (GTC) | Trades what it can, then stays on the book |
| IOC | Trades what it can, then cancels the remainder |
| Post-only | The exchange rejects it if it can trade immediately |
| Reduce-only | Can only make a position smaller |
| Post-only replace | Cancels and replaces in one command |
Liquidation
When equity goes below maintenance margin, the matcher cancels the resting orders of the account. Then it sends IOC orders into the book. If the equity continues below two thirds of the maintenance margin, a backstop vault receives the position. An insurance account pays a deficit, up to its collateral.