DocsKernel ↗Trade
Parameters

Parameters

What the creator sets

ParameterWhenNotes
NameAt creation, for gooddex:TICKER, written into the price feed's id on chain.
Price stepAt creation, for goodPicked from the starting price; ten times finer or coarser on request.
How long a price is goodAt creation1 minute, 10 minutes or 1 hour.
Open-interest capAny time, at onceIn lots. Its dollar value moves with the price.
Position cap per accountAny time, at once
Deposit capAny time, at onceThe bond is not counted against it.
PauseAny time, at once
MarginAfter a day's public noticeNever below 10% initial and 5% maintenance.
Price feed, ownerAfter a day's public notice

A change that waits is written into the market's account when it is proposed, with the slot it can take effect at. Anyone can read it there, and anyone can carry it out once the wait is over.

What is the same for every market

Leverage10x at most
Taker fee0.05%
Mark priceWithin 5% of the price feed
Single-post moveMore than 5% is held until confirmed
Notice for margin, feed and owner changes216,000 slots, about a day
RentEight accounts, about 0.129 SOL

What the creator cannot do

  • Withdraw from the vault. No instruction pays out of it but a user's own withdrawal, and a creator's claim of the fees.
  • Take the bond back.
  • Lower margin below the floor.
  • Change anything in another market.