Loading market…
EVE Market Predictor

About

Written by Johnathan D. Shirley

About the predictions

How the data is collected, what the models do, how they're evaluated, and how to reproduce everything on your own machine.

What gets tracked

Only two hand-picked lists are collected, both defined in data_sets/tracked_items.py as {"in-game name": type_id} dictionaries:

Items were chosen by average ISK traded per day over 90 days, keeping items that also have enough individual trades per day for prices to be meaningful. The seven specialty minerals are the exception: they're included for completeness but trade only a handful of times a day, so their forecasts are very noisy.

Trade hubs

The same items are tracked at the five major high-sec trade hubs and at Zarzakh, CCP's neutral null-sec hub, all defined in data_sets/markets.py. Use the Market picker at the top of the Market data and Predictions pages to switch between them.

HubRegion (price history)Station (bid/ask snapshots)
JitaThe ForgeJita IV - Moon 4 - Caldari Navy Assembly Plant
AmarrDomainAmarr VIII (Oris) - Emperor Family Academy
DodixieSinq LaisonDodixie IX - Moon 20 - Federation Navy Assembly Plant
HekMetropolisHek VIII - Moon 12 - Boundless Creation Factory
RensHeimatarRens VI - Moon 8 - Brutor Tribe Treasury
ZarzakhYasna ZakhZarzakh - Deathless Custodians - The Fulcrum

ESI only keeps price history per region, so a hub's charts and forecasts reflect every trade in its region; most of that volume happens at the hub station itself. Order-book snapshots are filtered to the hub station. PLEX trades on one global market, so its price history is the same at every hub, but its bid/ask is still taken at each hub's station. Each hub gets its own model, trained only on that hub's history.

Other low-sec and null-sec trading mostly happens in player citadels with private markets, which ESI only shows to characters allowed to dock there. Zarzakh is alone in its region, so its history really is the hub's own, but it is a thin market (24 of the tracked items trade there, since November 2023).

Where the data comes from

Everything comes from EVE's public ESI API; no login is needed.

EndpointWhat we keep
/markets/{region}/historyOne row per item per day: average, highest and lowest trade price, units traded, number of trades. ESI serves about 13 months.
EVE Ref archiveOlder daily history in the same format, archived from ESI back to 2003-10-01. backfill streams each day's file, keeps only the tracked items, and stores them; nothing else is saved to disk.
/markets/{region}/ordersA snapshot of the live order book each time you collect: best bid, best ask, and total volume on each side at each hub station.

Items are fetched from each hub's region. PLEX is the exception: it moved to its own global market (region 19000001), so current data is fetched from there and its order snapshot covers the whole market rather than one station. Its older Jita history is kept too; if both markets have a row for the same day, the one with more volume is used. Items only have history from their release (for example, today's PLEX and skill injectors date from 2016–2017).

Data is stored in a local SQLite file, data/market.db. Collecting again updates history in place and appends a new order snapshot, so running it daily builds a bid/ask history that ESI doesn't keep for you.

Station prices

Players trade at a specific station, not "in a region", so the hub station's own price is what matters. ESI has no per-station history, so the tool builds one: a Windows scheduled task (EVE Market Collect) runs every hour and saves each hub station's order book.

Market health

A healthy market lets you trade a meaningful size quickly, close to fair value, without moving the price, and its price reflects many independent traders rather than one or two. Economists split that into four things: tightness (the cost of a round trip), depth (how much is on offer near the best price), resilience (how fast price recovers after a big trade) and breadth (how many people are trading). EVE is a good place to measure them: every order is public, fees are known and nobody can sell short.

The Health page measures each item at each hub:

MetricHow it is computedHealthy looks like
ISK/day (turnover)Median of average price × volume, last 30 daysHigh
Trades/day, no-trade daysMedian trade count, and the share of the last 30 days with no tradeMany trades, no empty days
Impact /B (Amihud illiquidity)Median of |daily return| ÷ ISK traded that day, per billion ISKLow: size does not move the price
Implied spread (Roll)2 × sqrt(−cov(rt, rt−1)) over 90 days. When trades alternate between the bid and the ask, the daily average bounces, and the size of the bounce reveals the spreadLow
Spread, Eff. spread(ask − bid) ÷ mid at the hub station: for the single best orders, and for the best 5% of volume on each sideNear or under the ~5% cost of fees and tax
DepthISK resting within 5% of the best price, on the thinner side of the bookHigh
Imbalance(bid depth − ask depth) ÷ total, from −1 to +1Near zero; extremes can lead price
VolatilityStandard deviation of daily returns over 90 days, annualizedModerate and steady
BounceLag-1 autocorrelation of daily returns. Strongly negative means the daily average is flipping between bid and ask fills, which is noise, not a real reversalNear zero
Gap vs JitaTypical price difference from Jita over 30 days. Hubs joined by haulers should differ by little more than freightSmall
Top order, ChurnFrom individual orders near the top of the book: the share of the ISK held by the largest single order, and the share of orders placed or repriced in the last hour (undercutting wars)Low

The score (0 to 100) is the average percentile of turnover, impact, implied spread, trade activity, quoted spread and depth, ranked across every item at every hub. Items trading under 1B ISK a day are labelled Illiquid whatever they score, 60 and up is Healthy, the rest Thin. Volatility, imbalance, bait orders, outlier prints and the rest appear as warnings rather than in the score, because a volatile market is not unhealthy by itself.

Health feeds the models in three ways. Items under the ISK floor are left out of training, backtests and forecasts (override with --min-isk). Outlier prints, such as fat-finger trades, are clipped: each day's price is limited to a band around the median of the previous 7 days, using past days only. And the implied spread, price impact and share of no-trade days are model features.

ESI does not reveal who owns a public order, so concentration is measured per order, not per trader, and the tool cannot prove that two orders belong to the same person. Individual orders within 20% of the best price are kept for 90 days.

Hauler

The Hauler page asks: if I buy an item at one hub and carry it to another, which hub pays the most after fees? It works from the latest hourly order book at each hub station, using every individual order within 20% of the best price.

PLEX trades on one global market from the PLEX vault, so there is nothing to haul and it shows no profit. Destinations are ranked by total net profit; missing or old snapshots and thin books are flagged on the row instead of hidden.

Starting system. Type the system you are in and every hub can be the buy hub. A trip is then two legs: an empty flight from your system to the buy hub, which costs nothing but takes jumps, and the loaded haul to the sell hub. Both legs show high-sec and shortest jumps and their low/null-sec systems. Profit per total jump = net profit ÷ (jumps to the buy hub + loaded jumps), counting the high-sec route where one exists; trips are ranked by it, or by total profit if you prefer. The nearest hub is the one with the fewest jumps. System names come from ESI and are cached; the static copy of this site only knows the systems on the trade lanes between hubs.

Arbitrage runs the same math for every tracked item over every ordered pair of hubs (buy at one, sell at another) and lists the trades that make money after fees, filtered by minimum profit, minimum ROI, buy hub and sell hub, and sorted by total profit, ROI, profit per m³, profit per jump or (with a starting system) profit per total jump.

What the model predicts

For each item and day t, the target is the log return of the daily average price over the next h days: log(price[t+h] / price[t]), with h = 7 by default. A log return of 0.05 is roughly a 5% rise. Days with no trades carry the last price forward with zero volume.

Each day is described by these features, all computed only from data up to that day:

FeatureMeaning
ret_1 … ret_30Log return over the past 1, 3, 7, 14 and 30 days
vol_7, vol_30Standard deviation of daily returns over 7 and 30 days (volatility)
ma_ratio_7, ma_ratio_30How far today's price sits above or below its 7- and 30-day moving average
range_pctToday's high minus low, as a fraction of the average price
volume_zToday's volume compared with its 30-day norm (z-score of log volume)
dowDay of the week (weekend activity differs)
roll_30Roll implied spread over 30 days (how much of the recent movement is bid-ask bounce)
amihud_30Price impact over 30 days: total |return| per billion ISK traded (log scale)
zero_30Share of the last 30 days with no trade

One model is trained across all items in a list at once (a "pooled" model). That gives it far more examples than any single item has, at the cost of assuming items behave similarly once their features are scaled.

Models

ModelWhat it does
No change (baseline)Always predicts a 0% move. Any useful model must beat this.
Momentum (baseline)Predicts the last h days' move will repeat.
Ensemble (default)The average of four models below: Ridge, Quantile boosting, LightGBM and CatBoost (the last two trained on absolute error). Had the lowest error on average over every hub and list in a 12-fold backtest (Nov 2026). If LightGBM or CatBoost isn't installed, it averages the members that are.
Quantile boostingThree scikit-learn gradient-boosted models that predict the 10th, 50th and 90th percentile of the move. The median is the forecast; the other two give the price band. Nearly as accurate as the ensemble and needs only scikit-learn.
Ridge regressionA linear model on standardized features with L2 regularization (alpha=10). Simple and hard to overfit.
Gradient boostingscikit-learn's HistGradientBoostingRegressor on squared error (300 trees, learning rate 0.05, 15 leaves, min 50 samples per leaf). The original model; kept for comparison.

More models can be scored from the command line with backtest --models all: LightGBM, XGBoost and CatBoost on absolute error, sklearn boosting on absolute error, random forest, extra trees and a robust (Huber) linear model. Models trained on absolute error beat the same models on squared error at every hub, because the backtest scores absolute error and price moves have fat tails. Also tried and dropped for not beating Ridge: squared-error LightGBM/XGBoost/CatBoost, exponential smoothing (ETS) per item, and a per-item autoregression (ARIMA-style).

The shaded forecast range on the Predictions page is the 10–90% band from the quantile model (for Ensemble, the same band centred on the ensemble's forecast). In the backtest about 75–80% of outcomes landed inside it, a little under the 80% it aims for. For Ridge and Gradient boosting it is ±1 standard deviation of the expected h-day move (30-day volatility × √h), a rough guide to typical noise.

How the models are evaluated

A walk-forward backtest mimics using the model in real time. The last 105 days are split into five 21-day test windows. For each window the model is trained only on data that ended h days before the window starts (so no training target overlaps the test period), then scored on that window.

The orange dots on each prediction chart are those out-of-sample backtest predictions, plotted on the date they were aiming at, so you can see how the model has tracked reality.

Limitations

Nothing here is financial advice, in-game or otherwise.

How to replicate

On Windows, from the repository folder:

py -3.13 -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt

python -m eve_market collect                    # both lists, ~30 seconds
python -m eve_market backfill                   # one-off: history back to 2003 (several GB streamed; re-run to resume)
python -m eve_market backtest --list commodities --market Amarr
python -m eve_market forecast --list core --model ensemble --out data/forecast.csv
python -m eve_market health --market Amarr      # health score and warnings per item
python -m eve_market dashboard                  # this site, at http://127.0.0.1:5000
python -m eve_market backtest --station --market Jita   # station model, once enough snapshots exist

On Windows, run these through the included eve wrapper (.\eve collect) or after activating the venv. The hourly task runs scheduled_collect.pyw, which takes snapshots every hour and refreshes daily history every 12 hours; its log is data/collect.log. Remove it with Unregister-ScheduledTask -TaskName "EVE Market Collect".

Options: --market Jita|Amarr|Dodixie|Hek|Rens|Zarzakh (collect and backfill take several, default all), --list core|commodities|all|faction_ships, --horizon N, --model ensemble|quantile|ridge|gbm|… (backtest --models all --folds 12 scores every model), and for the dashboard --port. To keep data current, schedule python -m eve_market collect once a day (ESI history updates shortly after downtime, 11:00 UTC). Refresh this page after collecting; predictions retrain automatically when new data arrives.

To track a different item, add its name and type_id to one of the dictionaries in data_sets/tracked_items.py (and a display group in ITEM_GROUPS), then collect again. Type IDs can be looked up in data_sets/invTypes_clean.csv.

Code layout

eve_market/esi.pyESI client with retries, error-limit backoff and pagination
eve_market/collect.pyCollection job
eve_market/storage.pySQLite schema and queries
eve_market/forecast.pyFeatures, models, backtest, forecasts
eve_market/health.pyMarket health metrics, score and warning flags
eve_market/dashboard/This website (Flask + Chart.js)