Protocol

Parameters and units

Every number a market is configured with, its bounds, and the units the program counts in.

Market parameters

Set once when a market is created and stored on its account. The program refuses any value outside these bounds.

ParameterMeaningBoundsTack's maturities
marketIndexPhoenix perp slot0 (SOL)0
maturityEnd of trading, Unix secondsmore than 1 hour and at most 31 days after creationFridays 08:00 UTC
initialBpsInitial margin floor, share of notional2,500 to 10,000, and at least twice maintenanceBps2,500 (25%)
maintenanceBpsMaintenance margin floorat least 1,0001,000 (10%)
shockRateFunding move assumed in the stress loss100% to 1,000% a year100%
maxFixedRateLargest fixed rate, either signup to 500% a year100%
tickSizeStep for fixed ratesabove 0, at most maxFixedRate0.01%
oiCapBpsOpen-interest cap, share of Phoenix's1 to 100 (0.01% to 1%)100 (1%)
maxAgeOldest acceptable source reading, seconds60 to 3,600900
freezeGraceWait before a frozen close, seconds86,400 to 604,80086,400

Listing schedule

A listing opens the next count maturities on its schedule that are more than lead seconds away. Its authority can change any of this; markets already open keep their terms.

FieldMeaningBoundsTack's listing
anchorOne maturity on the schedule, Unix secondsanyFriday 2 January 2026, 08:00 UTC
intervalSeconds between maturities3,600 to 2,678,400604,800, a week
leadA maturity lists only while more than this many seconds away3,600 or more129,600, 36 hours
countMaturities listable at once1 to 8, with lead + count × interval at most 31 days3
termsinitialBps to tickSize aboveas aboveas above

Fixed in the program

ConstantValue
Collateral mintUSDC, EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v, 6 decimals
Smallest notional1 USDC
Checkpoints per settlement8
Year31,536,000 seconds
Trading feenone
Liquidation bountynone

Units

QuantityUnitExample
Notional, collateral, balancesmicro-USDC, 1 USDC = 1,000,0002500000000 is $2,500
Fixed rate, shock rate1,000,000,000 = 100% a year, signed60000000 is 6%
Rate ticksame as fixed rate100000 is 0.01%
Cumulative fundingUSD per SOL at 1e9, signedPhoenix's quote lots per base lot × 100,000
Reference priceUSD per SOL at 1e6150000000 is $150
Base exposureSOL at 1e9Phoenix base lots × 10,000,000
TimesUnix seconds

The API returns 64-bit and larger integers as decimal strings and accepts every integer as one.