DocsKernel ↗Trade
Bond and fees

Bond and fees

The bond

A market's insurance starts at zero. Its creator can pay collateral into it:

npm run solator -- bond add <market> <dollars>
  • It is the first money a loss is taken from when a position loses more than its margin, before any trader of the market is touched.
  • It is one way. No instruction takes it out again.
  • Anyone may pay into any market's insurance.

How much covers a market

A bond covers a market when it is at least 5% of the open-interest cap at the current price.

The number is not chosen; it follows from two others. One post of a single price feed may move the price 5% without being held. Maintenance margin is also 5%. So a position at maintenance has nothing left after one such move, and what a second one would cost, if every position on one side were in that state, is 5% of that side's open interest. The cap is the most that can be open.

bond needed = open-interest cap in dollars x 5%

A cap of $250,000 needs $12,500.

The cap is kept in lots, so its dollar value rises and falls with the price, and so does the bond it needs. A market without a cap cannot be covered by any bond.

The program does not enforce this ratio: a creator can raise a cap at any time. It is what the site computes and shows for every market under the Percolator tab, live.

Fees

Takers pay 0.05%. A market's net fees can be collected by its creator:

npm run solator -- fees claim <market>

Half is paid to the creator's token account. The other half becomes the market's insurance and stays, so the bond grows with the volume that puts it at risk. An odd unit goes to the insurance.

The margin floor

Initial margin cannot be set below 10% nor maintenance below 5%, in any market. For the reason, see Margin.