Reading a market page
How every number on a market page is estimated: prices, size, leverage, the funding rate it plans with, and the bad cases.
Market data refreshes every minute, straight from the venue: the option chain with bids, asks and the size shown at each, the perp's book and mark, the venue's fee schedule and margin rules, and hourly funding history. Everything on the page is worked out from those for your deposit.
Prices you would actually pay
The estimate uses the side of the book you'd trade against, not the mid. For a long forward that's the ask on the call and the bid on the put. Fees follow the venue's schedule; on Derive a three-leg package gets the multi-leg discount, with the cheapest leg free and the next at half. The perp is charged its spread twice, in and out, plus the closing fee.
Carry is the difference between the forward those prices make and spot, per unit. Multiplied by the size, it's the fixed cost of the position.
Size, strike and leverage
The deposit has to cover the venue's margin on the three legs together. With leverage on auto, Lockstep sizes the position so the deposit is about twice the initial margin, and never more than 10x notional. On a thin book a bigger position costs more than it earns, so it tries each step up to 10x and keeps the one with the best return.
The strike is searched the same way: every strike within 15% of spot, at every leverage step, and the pair that earns the most wins. You can fix either one in the settings.
Size impact is the extra cost when the order is bigger than the size shown at the quote. Up to the shown size it fills at the quote. Beyond it, the price worsens with the square root of the size: one more half-spread at four times the shown size, two at nine times. It's included in the APY and shown as its own line.
The return and the APY
Profit at expiry is funding received minus carry, perp costs, fees and size impact. Funding is the planning rate times notional times the years to expiry. The APY is that profit on the deposit, compounded to a year: (1 + profit / deposit)^(1 / years) − 1. Breakeven is the funding rate that makes the same profit zero.
Perp costs include closing it at expiry the way the keeper does: the taker fee and spread on the whole size, plus Derive's $0.01 fixed fee on each of up to 30 slices. Fees are a share of size, so slicing costs nothing extra anywhere else. On a $1,000 perp the close is about $0.30 on Paradex, $0.70 on Derive and $0.55 on Hyperliquid ($1.00 on its equity perps).
Which funding rate it plans with
By default, Lockstep looks at the last 90 days of funding on this venue's perp and cuts it into every possible stretch as long as the term (at most half the history). It keeps only the stretches the entry check would have let you open, where the 7 days before beat today's breakeven, and averages them. That's the funding your position would have earned had you followed the same rule in the past. With too few such stretches it falls back to the plain 90-day average.
You can switch the history to 30, 180 or 365 days, or plan with the median, the recent average, the current rate or a number of your own.
The bad cases
Term-length stretches over the last 180 days give the downside. The weak case is the funding of the 25th percentile stretch, the worst case the 5th (the 75th and 95th when the position pays funding). Each row shows what you'd get back if funding averaged that over the whole term.
Under the advanced settings, "margin lasts until" is the average funding at which losses would eat the deposit down to the venue's maintenance margin. Below it the venue liquidates before expiry.
The entry check
If the last 7 days of funding are below breakeven, Lockstep won't open the position and says so. In the backtest entries made in those conditions lost money more often.