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:
- Core (
TRACKED_ITEMS, 12 items): PLEX, skill injectors and extractors, Logic Circuits, and the most-traded Marauders and pirate cruisers. These are the highest-value, highest-turnover items in the game. - Commodities (
COMMODITY_ITEMS, 29 items): all fifteen minerals, the most-traded compressed ores, and T2 and capital ship components. - Faction ships (
FACTION_SHIPS, 43 hulls): navy and pirate hulls priced over 20M ISK in Jita (list built 2026-11-20 byscripts/find_faction_ships.py). Not part of the hourly collect; load it withpython -m eve_market backfill --list faction_ships.
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.
| Hub | Region (price history) | Station (bid/ask snapshots) |
|---|---|---|
| Jita | The Forge | Jita IV - Moon 4 - Caldari Navy Assembly Plant |
| Amarr | Domain | Amarr VIII (Oris) - Emperor Family Academy |
| Dodixie | Sinq Laison | Dodixie IX - Moon 20 - Federation Navy Assembly Plant |
| Hek | Metropolis | Hek VIII - Moon 12 - Boundless Creation Factory |
| Rens | Heimatar | Rens VI - Moon 8 - Brutor Tribe Treasury |
| Zarzakh | Yasna Zakh | Zarzakh - 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.
| Endpoint | What we keep |
|---|---|
/markets/{region}/history | One row per item per day: average, highest and lowest trade price, units traded, number of trades. ESI serves about 13 months. |
| EVE Ref archive | Older 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}/orders | A 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.
- Station mid is halfway between the best 5% of buy volume and the best 5% of sell volume at the station, ignoring orders more than 20% from the best price. That's steadier than the single best order, which can be one bait unit or a huge lowball buy order.
- Premium is how far the station mid sits from the region's daily average. It's small in Jita (about 3%), where the station does nearly all the region's trading, and larger at the smaller hubs (up to about 11% in Rens).
- Station forecast: until there are 45 days of hourly snapshots, the regional forecast's percentage move is applied to the current station mid. After that, a station model takes over. It uses the regional features above plus the station premium, the station's own 1/3/7-day returns and its spread, and predicts the station mid directly. The Predictions page says which one is in use.
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:
| Metric | How it is computed | Healthy looks like |
|---|---|---|
| ISK/day (turnover) | Median of average price × volume, last 30 days | High |
| Trades/day, no-trade days | Median trade count, and the share of the last 30 days with no trade | Many trades, no empty days |
| Impact /B (Amihud illiquidity) | Median of |daily return| ÷ ISK traded that day, per billion ISK | Low: 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 spread | Low |
| Spread, Eff. spread | (ask − bid) ÷ mid at the hub station: for the single best orders, and for the best 5% of volume on each side | Near or under the ~5% cost of fees and tax |
| Depth | ISK resting within 5% of the best price, on the thinner side of the book | High |
| Imbalance | (bid depth − ask depth) ÷ total, from −1 to +1 | Near zero; extremes can lead price |
| Volatility | Standard deviation of daily returns over 90 days, annualized | Moderate and steady |
| Bounce | Lag-1 autocorrelation of daily returns. Strongly negative means the daily average is flipping between bid and ask fills, which is noise, not a real reversal | Near zero |
| Gap vs Jita | Typical price difference from Jita over 30 days. Hubs joined by haulers should differ by little more than freight | Small |
| Top order, Churn | From 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.
- Buy cost: walk the origin's sell orders from the cheapest up until the quantity is filled (Instant), or place a buy order one price tick over the best bid and pay the broker fee on it (Buy order; how long it takes to fill is not estimated).
- Sale value: Instant walks the destination's buy orders from the highest down. Patient lists a sell order one tick under the destination's lowest sell order (prices keep 4 significant digits) and pays the broker fee. If that lowest listing is more than 1.5× the region's latest daily average, nobody is really buying there, so the daily average is used instead and the row is flagged.
- Fees: sales tax 7.5% less 11% of it per level of Accounting (3.37% at V), broker fee 3% less 0.3 points per level of Broker Relations (1.5% at V). Broker fees apply only to orders you place (patient sales and buy orders), not to buying or selling instantly. Standings, relist fees and player-structure rates are not included; Zarzakh uses the same NPC defaults.
- Net profit = sale value − sales tax − broker fees − buy cost, for the units that can actually be filled from the book. ROI = net profit ÷ buy cost. Max profitable (instant buy and sell) is how many units are worth carrying before the next unit costs more than it sells for.
- Quantity: your number, or auto: what the ISK budget buys at the origin, and for patient sales at most 7 days of the destination's trade. A cargo size caps each item at what fits, using packaged volume (from ESI, cached).
- Speed: units per day is the median daily volume in the destination's region over 30 days, and days to sell is the quantity divided by it. You will share that volume with other sellers, so treat it as a lower bound.
- Route: jumps come from ESI's route planner between the hub systems, both shortest and high-sec-only, cached for 7 days with every system on the route and its security. Profit per jump uses the high-sec route. Low/Null counts those systems on the shortest route; there is no risk score yet.
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:
| Feature | Meaning |
|---|---|
ret_1 … ret_30 | Log return over the past 1, 3, 7, 14 and 30 days |
vol_7, vol_30 | Standard deviation of daily returns over 7 and 30 days (volatility) |
ma_ratio_7, ma_ratio_30 | How far today's price sits above or below its 7- and 30-day moving average |
range_pct | Today's high minus low, as a fraction of the average price |
volume_z | Today's volume compared with its 30-day norm (z-score of log volume) |
dow | Day of the week (weekend activity differs) |
roll_30 | Roll implied spread over 30 days (how much of the recent movement is bid-ask bounce) |
amihud_30 | Price impact over 30 days: total |return| per billion ISK traded (log scale) |
zero_30 | Share 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
| Model | What 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 boosting | Three 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 regression | A linear model on standardized features with L2 regularization (alpha=10). Simple and hard to overfit. |
| Gradient boosting | scikit-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.
- MAE: average absolute error of the predicted log return. Lower is better; compare it against "no change".
- Direction: how often the model got the sign of the move right, on days the price actually moved. 50% is a coin flip.
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
- The models beat "no change" at every hub, but by little on Jita's core list (PLEX, injectors, ships): about 2% lower error, ~56% direction accuracy. Deep, efficient markets are hard to predict, and the features don't capture what moves them (patch notes, PLEX sales, events). The edge is bigger at smaller hubs (8–20% lower error), partly because their noisier prices revert to the mean.
- The daily average mixes buy-order and sell-order fills, so part of any day-to-day "move" is just which side traded more. That flatters direction accuracy.
- Backtests cover only items above the health floor, and their targets use prices with outlier prints clipped, so results are not comparable with runs from before the floor was added.
- The backtest ignores broker fees, sales tax, and how much you could actually trade without moving the price.
- Markets from a decade ago behaved differently (fewer players, different game mechanics), so old history adds examples but not always relevant ones.
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.py | ESI client with retries, error-limit backoff and pagination |
eve_market/collect.py | Collection job |
eve_market/storage.py | SQLite schema and queries |
eve_market/forecast.py | Features, models, backtest, forecasts |
eve_market/health.py | Market health metrics, score and warning flags |
eve_market/dashboard/ | This website (Flask + Chart.js) |