Trading
The price is the crowd
A Motion market has no price feed. The price of an account is where the people trading it have pushed it, inside a band that is fixed when the market is created.
The curve
Each market has one virtual curve. It holds two numbers: a SOL side, called q, and a unit side, called b. Their product stays constant, and the price is one divided by the other.
q * b = k the product stays the same through every trade
price = q / b SOL per unitVirtual means no SOL sits inside the curve. It is a pricing rule. The SOL that pays winners is the margin traders post, held in the market's vault.
Opening a long
A long of size n adds n to the SOL side. The unit side falls to keep the product constant, and the units that leave are yours. The price goes up.
Opening a short
A short of size n takes n from the SOL side. The unit side grows, and the units added are the ones you owe. The price goes down.
Closing
Closing runs the same trade backwards. A long gives its units back and takes SOL off the curve. A short does the opposite. Closing a long pushes the price down, closing a short pushes it up.
An example
A new market starts with q at 15,000 SOL and a price of 1.0000. You open a long of 15 SOL of size.
| Before | After | |
|---|---|---|
| SOL side, q | 15,000.00 | 15,015.00 |
| Unit side, b | 15,000.00 | 14,985.01 |
| Price | 1.0000 | 1.0020 |
You hold 14.99 units at an entry price of 1.0010. Your own order moved the price by 0.2%.
What the price means
The price is a live count of which side the crowd is on. When longs and shorts hold the same number of units, the price sits at the market's resting point. More long units than short units put it above that point. More short units put it below.
The resting point is the start price. A market's depth does not change, so its resting point does not move either.
The price stays inside a band
Each side of a market may hold at most 1.2% of the curve's units. That fixes the lowest and the highest price the market can reach. A market that starts at 1 SOL stays between about 0.9764 and 1.0244, whoever opens and closes, and in whatever order.
So the price itself moves within about 2.4% of where it started, and leverage does the amplifying. At 20x, every 1% the price moves is about 20% of your margin.
What the band is, why it exists and what it means for a trader: the band.
Depth
Depth is the size of the SOL side when the market is balanced. It decides how much SOL it takes to move the price inside the band, and how much each side can hold. A market starts at a depth of 15,000 SOL.
| Depth | 1 SOL at 20x moves the price | Size for 1% | What one side can hold |
|---|---|---|---|
| 15,000 | 0.27% | 75 SOL | about 180 SOL of size |
| 50,000 | 0.08% | 249 SOL | about 600 SOL |
| 150,000 | 0.03% | 748 SOL | about 1,800 SOL |
Depth does not change how far the price can go. The band's two prices are the same at every depth. A deeper market fits more traders and moves less for each trade.
Depth does not change
A market keeps the depth it was created with. The program has a rule that could make a market deeper, and it is switched off: the program accepts no setting under which it can act, and turning it on takes an upgrade of the program. Every position limit is a share of depth, so the limits stay what they are at the start.
A side can fill up
When the longs together, or the shorts together, reach the edge of the band, that side is full. An open on it is refused until positions on it close. Closing is never refused. One group with enough margin can fill a side and keep it full: at the start depth that takes about 9 SOL of margin at 20x.
In a full market, who leaves first decides who pays
Say the longs fill their side first and the shorts fill theirs after. The price now stands between the two, and nobody new can open. If the shorts leave first, both sides end out about their fees. If the longs leave first, each long close moves the price down, the longs who leave take the loss, and the shorts are paid for it. The side that filled second can wait at little cost, because funding is small while the two sides are near even.