DEV Community

Cover image for Checking 32 bitcoin price forecasts against daily candles with Python
Melbo
Melbo

Posted on Originally published at melbo.io

Checking 32 bitcoin price forecasts against daily candles with Python

In late 2025, banks, brokers, funds and well-known investors published their bitcoin price forecasts for 2026. We wanted to know how they did, and we wanted a check that anyone can rerun. This post covers the rules, the data and a 40-line script. The full table of 32 forecasts, with a source for every row, is in the original analysis.

With prices up to 24 November 2026:

  • 0 of 20 forecasts of a higher price were reached.
  • 7 of 10 downside levels were reached.
  • For all 17 numeric targets, "the price stays where it was" ended up closer to the 24 November price than the target.

Write the rules before you look at the data

The code was the easy part. The work was deciding what counts as a forecast, and what counts as "reached", before seeing a single result.

  1. Only dated, checkable statements. A row needs a name, a publication date, a deadline and a price level, on a page you can open. That removed several widely quoted figures. Tom Lee is often quoted with $200,000 to $250,000 for 2026, but the dated statement we found (5 January) was a new all-time high by the end of January, so that is what we checked.
  2. Reached means touched. A target above the price is reached if any daily high between publication and deadline is at or above it. A level below the price is reached if any daily low is at or below it.
  3. Give ranges the benefit of the doubt. For "$120,000 to $170,000" we use the lower edge. Each choice like this favours the forecast.
  4. Respect partial windows. "In the first half of 2026" is checked from 1 January to 30 June only.
  5. Pick one market and say which. Exchanges disagree by a few dollars: bitcoin's record is quoted anywhere from $126,080 to $126,300. We use Binance BTCUSDT spot, daily candles in UTC.

The data

Binance serves daily candles from a public endpoint with no API key. Each row is [open time, open, high, low, close, volume, ...], up to 1,000 rows per request, so a short loop covers any period.

The script

import json, urllib.request
from datetime import datetime, timezone

API = "https://data-api.binance.vision/api/v3/klines?symbol=BTCUSDT&interval=1d&startTime={}&limit=1000"

def daily_candles(start="2025-11-01"):
    """{'YYYY-MM-DD': (high, low, close)} from Binance daily candles, UTC."""
    t = int(datetime.fromisoformat(start).replace(tzinfo=timezone.utc).timestamp() * 1000)
    days = {}
    while True:
        rows = json.load(urllib.request.urlopen(API.format(t)))
        for r in rows:
            day = datetime.fromtimestamp(r[0] / 1000, timezone.utc).date().isoformat()
            days[day] = (float(r[2]), float(r[3]), float(r[4]))
        if len(rows) < 1000:
            return days
        t = rows[-1][0] + 86_400_000

# who, published, deadline, level, direction (a few of the 32 rows)
FORECASTS = [
    ("Standard Chartered", "2025-12-09", "2026-12-31", 150_000, "up"),
    ("Citi, 12 months",    "2025-12-19", "2026-12-19", 143_000, "up"),
    ("CoinShares, low end","2026-01-07", "2026-12-31", 120_000, "up"),
    ("CryptoQuant",        "2025-12-19", "2026-06-19",  70_000, "down"),
    ("Mike McGlone",       "2025-11-24", "2026-12-31",  50_000, "down"),
]

def first_hit(c, published, deadline, level, direction, cut):
    for day in sorted(d for d in c if published <= d <= min(deadline, cut)):
        high, low, _ = c[day]
        if (direction == "up" and high >= level) or (direction == "down" and low <= level):
            return day
    return None

c = daily_candles()
cut = "2026-11-24"          # last full day we checked
now = c[cut][2]
for who, published, deadline, level, direction in FORECASTS:
    hit = first_hit(c, published, deadline, level, direction, cut)
    line = f"{who:<20} {direction:<4} {level:>8,}  reached: {hit or 'no'}"
    if direction == "up":  # baseline: the price stays where it was on the day of the forecast
        no_change = c[published][2]
        line += f"  | no change closer: {abs(no_change - now) < abs(level - now)}"
    print(line)
Enter fullscreen mode Exit fullscreen mode

Output, run on 26 November 2026:

Standard Chartered   up    150,000  reached: no  | no change closer: True
Citi, 12 months      up    143,000  reached: no  | no change closer: True
CoinShares, low end  up    120,000  reached: no  | no change closer: True
CryptoQuant          down   70,000  reached: 2026-02-05
Mike McGlone         down   50,000  reached: no
Enter fullscreen mode Exit fullscreen mode

A baseline makes the point

Hit or miss on its own says little: none of the 20 upside calls was reached, and that is all. So we compared every numeric target with the dullest forecast there is, the price on the day the target was published. For all 17 numeric targets, that "no change" forecast is closer to the 24 November price. The typical "no change" is about $32,000 away; the typical target, about $115,000.

"No change" was not a good forecast either: bitcoin fell 32% in 2026. It just did not assume that the price had to go up.

20 bitcoin price targets for 2026 against the range bitcoin traded in during 2026

Things that tripped us up

  • Revisions. Citi published five 12-month targets between December 2025 and November 2026. Each note gets its own row and its own date. Pick a different note and the same bank looks right or wrong.
  • Model values are not targets. JPMorgan's $170,000 came from a comparison with gold and was not presented as a price target. The TD Cowen and Benchmark figures were bitcoin assumptions inside valuations of Strategy shares. We kept them, labelled.
  • Open deadlines. 16 of the 20 upside deadlines run to December 2026, so the table is not final. The script takes a cut-off date, so it can be rerun on 1 January.
  • A sample is a sample. We found twice as many upside forecasts as downside ones. That reflects what we could find and date, not every forecast made.

Rerun it on 2027

Swap the list for 2027 forecasts and move the cut-off date. The 2027 numbers published so far run from about $100,000 to $250,000, and some firms give no number at all.

The full table, the downside forecasts and the charts are in Bitcoin Price Predictions for 2026 vs Reality.

This post was written with AI assistance. The script was run, and its output checked against the published analysis, before posting. It checks forecasts made by others and makes none of its own. Not investment advice.

Top comments (0)