Skip to Content
Scalar

Range accrual

Pays more the longer the price stays inside the range.

A Range accrual pays for time. The payout grows from $0 to $10 as the cycle runs, for as long as the price stays inside the range. The first time the price leaves the range, the payout stops growing and is fixed.

A Range accrual is a trade on calm. The In side is paid when the market stays quiet. The Out side is paid when it breaks out early. You can be partly right: a range that holds for half the cycle pays half.

$0$5$10015304560Minutes before the price first leaves the range

The rule

lower = round(start price, strike tick) − strike offset
upper = round(start price, strike tick) + strike offset
value = min(time until the first exit ÷ duration, 1)
During the cycleSettlement valueIn is paid on 1 contract
The price never leaves the range1$10.00
The price first leaves at minute 45 of 6045 ÷ 60 = 0.75$7.50
The price first leaves at minute 30 of 6030 ÷ 60 = 0.50$5.00
The price leaves in the first second0$0.00

The price is inside the range only when it is strictly above the lower bound and strictly below the upper bound. A price exactly at a bound counts as an exit. The time until the first exit is measured in whole seconds from the start of the cycle.

A return to the range does not count. A price that leaves the range at minute 45 and comes back at minute 50 still settles at 0.75.

The levels

ProductCycleStrike tickStrike offsetDurationExample range, start at $60,030
RangeAccrual-BTC-Hourly1 hour$50±$4001 hour$59,650 to $60,450

Worked example

You buy 10 contracts of In on the hourly range, $59,650 to $60,450, at $6.00. You pay $60.00. The seller puts in $40.00. Your break-even is a first exit at minute 36.

What BTC does this hourValueYou are paidYour P&LSeller's P&L
Stays inside all hour1.00$100.00+$40.00−$40.00
First leaves at minute 450.75$75.00+$15.00−$15.00
First leaves at minute 300.50$50.00−$10.00+$10.00
First leaves at minute 60.10$10.00−$50.00+$50.00

How it settles

The settler reads two prices from Pyth: the start price at the first second of the cycle, and one more price from any second inside the cycle.

  • If that price is inside the range, the proof says that In is paid in full. Its score is 0, because it proves nothing about the other seconds. The challenge window runs until one window after the cycle ends.
  • If that price is outside the range, the proof shows an exit at that second. Its score is the share of the Out side. The challenge window opens at once, even if the cycle is still running, and the market resolves one window and 1 minute later.
  • An earlier exit gives the Out side more, so it has a higher score. During the window, anyone can submit an earlier exit, and it replaces the current proof.

The window makes sure that the market resolves on the first exit, not on any later one. How settlers work shows this race with two proofs.

Sides in the app

SidePaid more when
In (long)The price stays inside the range for longer
Out (short)The price leaves the range sooner

When to use it

Use In when you expect a quiet market, for example in a slow hour with no news. Use Out when you expect a breakout soon, but you do not know in which direction. If you care only about one level, use a One-touch. If you care about where the price ends, use a Spread.

On this page