---
description: "Linear sats contracts on HardBasis: an equity share priced and settled in sats with no dollar term. The contract type is documented; none is listed yet."
---

# Linear sats contracts

A `linear_sats` contract is a perpetual on a listed equity's share price,
quoted per share and settled in sats. There is no dollar term in its payoff. No `linear_sats`
market is listed today; this page describes the contract type so a listing
needs no new reading.

Video: Inverse, linear and quanto perps: three ways to settle a perp in sats (2:18), https://youtu.be/J0ufbDF6Kxo

## The contract

|               |                                                                                                   |
| ------------- | ------------------------------------------------------------------------------------------------- |
| Underlying    | the listed equity's share price                                                                   |
| Quote, settle | sats per share                                                                                    |
| Contract unit | `shareScale` shares, served per market (MSTR-SATS: 0.01); quantity is a whole number of contracts |
| Tick          | one sat per share                                                                                 |
| PnL           | `contracts × shareScale × (exit price − entry price)` sats                                        |
| Notional      | `contracts × shareScale × price` sats                                                             |
| Margin        | a percentage of sats notional, per market                                                         |
| Funding       | the premium term only; no interest term                                                           |
| Market hours  | the listing exchange's regular session                                                            |

## Contracts and shares

The quantity is always a whole number of contracts. Each contract is
`shareScale` shares, a field on the market (`"1"` when the market sets none).
On a market with `shareScale` `0.01`, one contract is one hundredth of a share
and 100 contracts carry exactly the PnL, notional, margin and funding of one
share, to the sat.

You can size an order either way:

- `contracts`: a whole number, for example `"25"`.
- `sizeShares`: shares as a decimal, for example `"0.25"`. The engine converts
  it to contracts. It must be a whole number of contracts, so on a `0.01`
  market sizes go in steps of `0.01`.

Send one of the two, not both. A size that is not a whole number of contracts
is refused with code `size_not_whole_contracts`, for example:
`<market> trades whole contracts of 0.01 share: 0.015 shares is not a whole number of contracts`.

Positions on a `linear_sats` market carry `sizeShares` beside `contracts`:
the engine's own `contracts × shareScale`, so a client displays it and never
multiplies.

## The index

The index is a composite of two oracles the engine already runs: the equity in
dollars and BTC in dollars.

```
index (sats per share) = round_half_even(equity USD / BTC USD × 100 000 000)
```

The result is a whole number of sats. A value exactly halfway between two whole
sats rounds to the even one: one and a half becomes two, and two and a half
also becomes two.

The index recomputes whenever either leg updates. If either leg is stale under
its own rule, there is no index: the engine never serves a composite built from
one fresh leg and one stale leg.

The venue does not compute mNAV; price in sats is the number.

## What the instrument serves

Four fields on the market tell you what you are looking at:

- `shareScale`: shares per contract, an exact decimal string (`"0.01"`).
- `indexSource`: both legs of the index, the equity feed and the BTC-USD index, as served on the instrument.
- `indexStaleLegs`: absent when the index is live; `equity`, `btc` or `both`
  when it is not, naming the leg that stopped.
- `fundingInterestTerm`: `none_by_contract_type`, because a sats-quoted share
  has no honest interest-rate input.

## CLOSED and stale

Outside the listing exchange's regular session the market is CLOSED, exactly as
the other equity markets are: no fills, and the last price is shown as closed,
not as live.

While the market is CLOSED no price is served, so no order fills. A
limit order that would open or increase a position can be placed
while the market is closed, and one placed earlier is kept through
the close. It is not cancelled, and from the next open it fills like
any resting order, at that print's price. An entry trigger, alone or
as the entry of a bracket, can be placed while the market is closed
too, and one placed earlier is kept. At the open it arms if the price
is past its level, and it fills at the following print's price. A
market order that would open or increase a position is refused while
the market is closed, and one placed before the close is never
carried into the next session: it is rejected at the next open
instead of filling there. A reduce-only order is never refused or
rejected because the market is closed.

When a leg goes stale during the session the market serves no price
(`lastPrice: null`) and `indexStaleLegs` names the leg. Nothing fills, marks or
liquidates until the index returns. Withdrawing free balance works in every
state. The app shows the market greyed with a banner naming the stale leg.
