Articles

Can a Price Forecast Save a Losing Strategy? We Tested It on 12 Days of Bitcoin Trading

The short version, for the impatient. Everyone has heard that market makers always make money: rest a buy order a little below the price and a sell order a little above it, and collect the difference. Is that really so? We built such a strategy by the book and ran it on Coinbase BTC-USD. It finished in the red on all 12 trading days out of 12, averaging −1.96% of capital per day, and that is with zero fees.

Can a losing strategy be improved with a price forecast? Yes. We added one term, a forecast of where the price will move in the next few moments, and touched nothing else. The result got better on 11 days out of 12, by +2.06% of capital per day on average. Twelve losing days averaged out in the black, +0.10% per day.

But the strategy is positive on only 6 days of 12, and that cannot yet be told apart from a coin flip. Below is all the math: how the strategy works, where the forecast enters it, and what it changes: one second after a trade the average trade is in the black with it and in the red without it.

Contents
  1. The strategy that "can't lose" lost on 12 days out of 12
  2. Bad luck? A coin gives twelve losses out of twelve about once in four thousand tries
  3. Inside: just two orders and not a single guess about the future
  4. What the model advises: a shift against the position and a spread that does not depend on it
  5. Our version: the same construction and two fixed numbers
  6. The trace of the loss: one second after a trade the price is, on average, already against it
  7. What if we give it a forecast? One line of the model's answer changes
  8. One term, and the result is better on 11 days out of 12
  9. The daily average became +0.10%. It looks like a rescue
  10. But only six days out of twelve were positive: you cannot tell it from a coin
  11. What the forecast changed: one second after a trade, the average trade is still ahead
  12. What we were not looking for: intraday drawdowns were shallower in these 12 days
  13. The sober part: a forecast does not trade by itself, it only moves the orders
  14. Where these conclusions stop holding
  15. So, can a losing strategy be saved?

The strategy that "can't lose" lost on 12 days out of 12

Picture a money machine. At any minute someone on the exchange wants to buy Bitcoin right now and someone else wants to sell right now. You can stand between them: keep one buy order a little below the current price and one sell order a little above it. Buy lower, sell higher, and the difference is yours. Whoever trades this way is called a market maker, and the distance between their buy and sell prices is called the spread.

We built this strategy by the book and ran it on recorded Coinbase data for BTC-USD over 12 trading days in July 2026 (1–7 and 15–19 July). Fees were set to zero.

The result: a loss on each of the 12 days, averaging −1.96% of capital per day.

Cumulative result of the strategy without a forecast over 12 trading days, in percent of capital.

The percentages are taken of the largest amount of Bitcoin the strategy is allowed to buy or sell: 0.05 BTC at the day's average price, about $3,148 on average. That is the size of the position in one direction, not account equity (cash plus the market value of the Bitcoin position).

Bad luck? A coin gives twelve losses out of twelve about once in four thousand tries

The first thing you want to say is that the days were unlucky. Let's check. Suppose the median daily result is zero, so that each day is a fair coin for the strategy, up or down with equal odds. Then twelve losses out of twelve come up with probability (1/2)¹² = 0.00024. That is about one case in four thousand.

The calculation has two caveats. There were no days with a zero result. And we treat the signs of the days as independent of one another. At the end of each day everything bought and sold is force-closed, so the strategy carries nothing from one day into the next.

This is not "in the red on average"; it is in the red every day. That is hard to put down to chance.

Inside: just two orders and not a single guess about the future

Behind the strategy is the classic model of Avellaneda and Stoikov (2008): a market maker with no information about future price movements. Let's walk through it in full, from the assumptions to the answer. Each formula is preceded by a sentence that says the same thing in words, so the logic can be followed from the sentences alone.

The model starts with the price. Call the midpoint between the best buy price and the best sell price on the exchange StS_t, the mid-price. The model assumes it wanders at random and heads nowhere:

dSt=σ dWt dS_t = \sigma\, dW_t

Here WtW_t is a standard Brownian motion and σ\sigma is the volatility. There is no term with a direction in this line.

Next, the orders. The market maker places its buy and its sell at distances δtb, δta\delta^b_t,\ \delta^a_t from its reference price rtr_t: the buy price is ptbid=rt−δtbp^{bid}_t = r_t - \delta^b_t, the sell price is ptask=rt+δtap^{ask}_t = r_t + \delta^a_t. That reference price is called the reservation price; the model will say what it equals. The further an order sits from the reservation price, the less often it is filled:

λb(δ)=λa(δ)=A e−kδ \lambda^{b}(\delta) = \lambda^{a}(\delta) = A\,e^{-k\delta}

On the left are the execution intensities of the buy and the sell. The parameter AA gives the intensity at δ=0\delta = 0, that is, for an order right at the reservation price, and 1/k1/k is the distance over which the intensity falls by a factor of ee. In the original paper distances are measured from the mid-price; the difference between the two conventions is the inventory shift and vanishes when q=0q = 0, and for our simplified strategy with a fixed δ\delta it is immaterial.

Every fill changes two things: the position and the cash. Buy and sell fills are counted by Poisson processes Ntb, NtaN^b_t,\ N^a_t with intensities λb(δtb)\lambda^b(\delta^b_t) and λa(δta)\lambda^a(\delta^a_t); one jump is one full order, 0.01 BTC. The position qtq_t, how much Bitcoin the strategy currently holds, in units of the asset, grows with every buy and shrinks with every sell:

dqt=dNtb−dNta dq_t = dN^b_t - dN^a_t

The cash balance XtX_t moves the other way: every sell adds the value of the trade to it, every buy subtracts it:

dXt=ptask dNta−ptbid dNtb dX_t = p^{ask}_t\, dN^a_t - p^{bid}_t\, dN^b_t

Those are all the assumptions. A price with no direction, orders that are filled less often the further away they sit, and bookkeeping for position and cash.

What the model advises: a shift against the position and a spread that does not depend on it

Now the question the model solves. The market maker chooses the distances δtb, δta\delta^b_t,\ \delta^a_t to maximise the expected exponential utility of terminal wealth, with the position valued at the mid-price:

max⁡δb, δa E ⁣[−e−γ (XT+qTST)] \max_{\delta^b,\,\delta^a}\ \mathbb{E}\!\left[-e^{-\gamma\,(X_T + q_T S_T)}\right]

In the brackets is the outcome at the horizon TT: cash plus the position at the mid-price. γ\gamma is the risk-aversion coefficient.

The problem is solved through the Hamilton–Jacobi–Bellman equation with a first-order expansion in the position qq. The answer has three lines. The first says where the reservation price sits:

r(s,q,t)=s−q γσ2 (T−t) r(s,q,t) = s - q\,\gamma\sigma^2\,(T-t)

It is the mid-price ss shifted against the position qq. The second line gives the width of the spread, symmetric around the reservation price:

δa+δb=γσ2(T−t)+2γln⁡ ⁣(1+γk) \delta^a + \delta^b = \gamma\sigma^2(T-t) + \frac{2}{\gamma}\ln\!\left(1 + \frac{\gamma}{k}\right)

The third places the orders themselves:

pask=r+δa+δb2,pbid=r−δa+δb2 p^{ask} = r + \tfrac{\delta^a+\delta^b}{2}, \qquad p^{bid} = r - \tfrac{\delta^a+\delta^b}{2}

Let's read these three lines. The orders are symmetric around the reservation price, and it is skewed against the position: after we buy, we place both orders lower so that the next fill is more likely to be a sell. The width of the spread does not depend on the position. It is determined by volatility, risk aversion, and how fast the execution intensity decays with distance. And the model has no view on the future: StS_t is a martingale in it, so the best estimate of the future mid-price is the current one.

Our version: the same construction and two fixed numbers

In the full model the half-width of the spread and the tilt against the position depend on the time left to the horizon and on the parameters γ\gamma, σ\sigma and kk, which still have to be estimated. We kept only the model's core structure and fixed both quantities: a half-width δ\delta and a skew κ\kappa. The reservation price becomes:

r=s−κ q r = s - \kappa\, q

and the orders sit at the same distance on either side of it:

pbid=r−δ,pask=r+δ p^{bid} = r - \delta, \qquad p^{ask} = r + \delta

Our numbers are these. The half-width δ\delta is $8 from the reservation price in each direction. The skew κ\kappa shifts the reservation price linearly with the position: by $1.00 when the position is at its limit, which is $0.20 for every 0.01 BTC of position. One order is 0.01 BTC, and the position cannot exceed five such orders, 0.05 BTC, in either direction. Every 50 ticks of the tape both orders are pulled and placed again from the fresh reservation price.

This is the strategy drawn in the first chart. There is nothing else in it. No forecast, no news protection, no adaptive spread. It earns the spread and pays for trading against those who know more than it does about the next price move. The chart shows that the second costs more than the first.

The trace of the loss: one second after a trade the price is, on average, already against it

A market maker has to trade with whoever shows up. It loses when a better-informed trader takes the other side. The signature is simple: immediately after the trade, the price moves against the market maker.

This can be measured on every trade. Take the price at which our order was filled and see where the mid-price is after a given time. For a fill at time t0t_0 and horizon hh the measure is written as:

markout⁡(h)=sign⁡(order) mid⁡(t0+h)−pfillpfill 104 bp \operatorname{markout}(h) = \operatorname{sign}(\mathrm{order})\,\frac{\operatorname{mid}(t_0+h) - p_{\mathrm{fill}}}{p_{\mathrm{fill}}}\,10^4\,\mathrm{bp}

Here sign⁡(order)\operatorname{sign}(\mathrm{order}) is +1+1 for a buy (our buy order was filled) and −1-1 for a sell, and pfillp_{\mathrm{fill}} is the execution price of that fill. A positive value means the price moved in our favour. This measure is called the markout and is quoted in basis points: one basis point, bp, is a hundredth of a percent.

At the moment of the trade the strategy's mean markout is +1.18 bp.

One second later it is already −0.58 bp, and only 39% of trades are still in our favour.

One second, and the plus has on average turned into a minus. The markout shows this directly, and it does not depend on whether the market happened to move our way on a given day.

What if we give it a forecast? One line of the model's answer changes

The strategy knows nothing about the future. Can it be improved? Yes, if you have even a little information about where the price is going over a short horizon.

We go back to the model and change one assumption in it. We add a drift αt\alpha_t to the price process. It is an arbitrary stochastic process; we impose no particular form on it. Everything else stays the same: the same intensities, the same position, the same objective.

dSt=αt dt+σ dWt dS_t = \alpha_t\, dt + \sigma\, dW_t

Of the whole drift, one quantity enters the model's answer: the expectation of the cumulative drift to the horizon, given the information Ft\mathcal{F}_t available at time tt:

mt=E ⁣[∫tTαu du  ∣  Ft] m_t = \mathbb{E}\!\left[\int_t^T \alpha_u\, du \;\Big|\; \mathcal{F}_t\right]

It is added to the reservation price:

r(s,q,t)=s+mt−q γσ2 (T−t) r(s,q,t) = s + m_t - q\,\gamma\sigma^2\,(T-t)

and nothing happens to the spread:

δa+δb — the same as without drift \delta^a + \delta^b \text{ — the same as without drift}

That is the whole logic. Only the conditional expectation of the drift enters the formula. Whatever dynamics αt\alpha_t follows, only mtm_t matters. The width of the spread does not depend on it. The reservation price shifts, and both orders move with it. For a short-lived signal whose horizon is much shorter than T−tT - t, mtm_t is simply the expected price move implied by the signal. In our simplified version the orders shift by that forecast, ΔS^\widehat{\Delta S}:

r=s+ΔS^−κ q r = s + \widehat{\Delta S} - \kappa\, q

That added term is what is called alpha. Alpha is not a strategy and not a program. It is a number: how far, by our estimate, the mid-price will move in the near term. If we expect a rise, both orders sit higher. If we expect a fall, both sit lower. We call the strategy without this term baseline and the strategy with it baseline with alpha, as on the charts. All other components are identical.

We estimate the forecast ΔS^\widehat{\Delta S} from high-frequency data. Our information set Ft\mathcal{F}_t is what is visible on the exchange up to time tt: the order book (the list of all resting orders) and the tape (the stream of executed trades). They carry predictive information about price changes over short intervals.

Only the forecast's coefficient is fitted, and it is fitted on the past only. The coefficient is estimated on the two previous days, and the backtest runs on the next day. For 1 July the coefficient is estimated on 29 and 30 June, for 2 July on 30 June and 1 July, and so on to the end of the sample. The tested day takes no part in the estimate, and the days after it even less so. At every moment the strategy knows only what it could have known in live trading. This procedure is called walk-forward. Shuffling the days, for example estimating the coefficient on all the other days including later ones, is not allowed on financial data: information from the future leaks into the estimate, and the backtest looks better than the trading would.

Everything else was left as it was: the same $8, the same shift against the position, the same order size, the same limit, the same requoting frequency. The same recorded data, the same 12 days, the same simulation engine. The two versions differ by one term.

One term, and the result is better on 11 days out of 12

Since the days are the same, the versions can be compared in pairs: the day's result with the forecast minus the result of the same day without it. That difference is the forecast's contribution.

On 11 days out of 12 the forecast helped. On average its contribution is +2.06% of capital per day.

The result of each of the 12 days for both versions. The scale is logarithmic in both directions from zero. The number above each pair is the forecast's contribution on that day.

How much this looks like chance is what a sign test estimates: it counts how often a fair coin would give a tilt at least this large. For 11 out of 12 the exact two-sided test gives p = 0.006. Both versions lived through the same day, so the conditions they shared are controlled for in the difference. The orders, trades and position of the two versions could still diverge during the day.

The daily average became +0.10%. It looks like a rescue

Without the forecast it was −1.96% of capital per day. With the forecast it became, on average, +0.10% of capital per day.

Cumulative result over 12 trading days: the version without the forecast declines, the version with the forecast stays near zero. This is the opening chart with a second line added.

One term in a formula, and the line that was heading down stays near zero, with a plus on average. Has the losing strategy been saved?

But only six days out of twelve were positive: you cannot tell it from a coin

Now count the days of the version with the forecast itself. Six out of twelve are positive. Exactly half.

The 12 daily results of each version. All points are shown as they are, without smoothing; the vertical bar marks the mean.

The same sign test gives p = 1.0 here: six out of twelve is just what you expect from a coin. By this test the result is indistinguishable from zero. These 12 days do not let us say that the version with the forecast makes money on its own.

The two findings do not conflict, because the two numbers answer two different questions. Does the forecast help? Yes: the result is better on 11 days out of 12. Where did it take the strategy? To about zero: the average gain of 0.10% per day is made of six days up and six days down.

What the forecast changed: one second after a trade, the average trade is still ahead

If the forecast did not make the strategy profitable, what exactly did it change? The day's total will not show that. The same markout will: where the price went after the trade.

At the moment of the trade the version with the forecast looks worse: +0.59 bp against +1.18 bp without it. Its filled orders sat, on average, closer to the mid-price. The distance between the orders did not change. When the reservation price shifts, one order ends up closer to the mid and the other further away.

One second later the picture is reversed. Without the forecast the mean markout is −0.58 bp, with 39% of trades in our favour. With the forecast the mean markout is +0.15 bp, with 47% of trades in our favour.

Markouts from 300 seconds before the trade to 300 seconds after it, buys and sells separately. Top: the mean with a 95% band. Bottom: the share of trades where the price moved in our favour. The time axis is logarithmic in both directions: negative times show how the price approached our order, positive times show where it went afterwards.

After five minutes the uncertainty band around the mean for the version with the forecast includes zero, and 50% of trades are in our favour. This is consistent with the forecast having decayed by five minutes. But how exactly it decays is something this interval alone does not show, and the data do not establish a non-zero markout at that horizon.

All of these figures are calculated over filled orders.

What we were not looking for: intraday drawdowns were shallower in these 12 days

We were not looking for this result; it came out of the same runs.

We looked at the maximum drawdown within each day. Averaged over the days it was 2.59% without the forecast and 0.97% with it. On each version's worst day: 6.69% without the forecast and 1.84% with it.

Maximum drawdown within each of the 12 days for both versions, in percent of capital. Computed from the one-minute curve of the day.

This describes our twelve days and nothing more. We applied no statistical test to the drawdown comparison.

The sober part: a forecast does not trade by itself, it only moves the orders

Here is what we are prepared to claim.

Even a losing strategy can be improved with information from market microstructure. The result rests on event-level high-frequency data and explicit hypotheses: the two versions are compared on the same days, and the forecast coefficient is estimated walk-forward, on past days only.

The forecast enters the strategy as one term. It shifts the price the orders stand around. We added that term, left every setting (half-width, skew, order size, position limit and requoting) in place, and on the same 12 days the result was better on 11 of them, by 2.06% of capital per day on average.

Shifting the result is not yet making money. On these 12 days the version with the forecast cannot be told apart from zero by the sign test. How the forecast is put to work is determined by the rest of the system.

Look at the price after the trade, not only at the day's total. We calculated the markout for every trade, with confidence intervals, instead of relying on the average return over the whole period.

The spread is compensation for not knowing. A market maker has to trade with anyone, including those who know more. A short-horizon forecast changes how exposed it is to them. We have a separate measurement of what a market maker loses after its trades: the article on adverse selection. The parameters there are different, and the numbers of the two articles must not be combined.

Where these conclusions stop holding

  • This is a simulation on history, not live trading. Event by event, on recorded Coinbase data. Trades in it are assigned by a probabilistic queue model: the closer our order is to the front of the queue, the higher the chance it is filled. An order reaches the exchange in 3 ms. The whole order, 0.01 BTC, is always filled; there are no partial fills. Our orders do not move the market and do not compete for the recorded flow.
  • One venue, one pair, 12 days. Coinbase BTC-USD, July 2026, one order configuration and one short-lived forecast.
  • No fees, maker or taker. With positive fees the result would be lower for both versions. The simulator treats a fee as a proportional deduction, so the trades would stay the same. The version without the forecast has higher turnover, so its deduction would be larger. We did not consider maker rebates.
  • The forecast coefficient is estimated on two past days. For each day it is fitted on the two previous days only (walk-forward), so there is no future data in the estimate.
  • The sign tests treat the days as independent. Each day runs as a separate session, and the position is closed at its boundary. The means in this article show the size of the effect, while the sign tests answer only how often a day, or a daily difference, comes out positive.
  • Markouts are measured against the mid-price from the raw order book, using the last value at or before the moment in question and only those observations where the best buy and sell prices on the exchange are no more than $0.02 apart. Buys and sells are calculated separately. At the moment of the trade, the event that filled us may already have carried the mid past our price, so the share of trades in our favour can be below 100% there. The band around the mean comes from a bootstrap over five-minute blocks, because trades within one window are not independent; for the share we use a Wilson interval.
  • Drawdown here is only the maximum within a day and only on these 12 days. There is no test for it.

So, can a losing strategy be saved?

It can be shifted, and noticeably: a strategy that lost on all 12 days ended up near zero with one added term. That a forecast alone is enough to make money is something these 12 days do not show. A forecast answers the question of where the price will go. How much to earn on that answer is decided by everything built around it.

If your market maker earns the spread and loses after its trades, the next question is what a short-horizon forecast would change on your own data. Our HFT consulting for strategy design and risk controls starts with the rules you run and the measurement that would settle that question.