Gielinor Greeks
Volatility and options analytics for Grand Exchange items — a RuneLite plugin that treats GE prices like financial assets.
Overview
Gielinor Greeks brings quantitative finance to Old School RuneScape’s Grand Exchange. It treats tradeable items like financial assets and uses options-pricing math to estimate volatility, expected price ranges, and the probability an item ends above a target price.
Status: v1.0 submitted to the RuneLite Plugin Hub (PR #21726), pending review.
How it works
- Data: 1-year price history from the OSRS Wiki real-time prices API, using the midpoint of each interval’s high and low price.
- Volatility: annualized standard deviation of log returns, adjusted for uneven spacing between data points (365-day year, since the GE never closes).
- Model: prices follow a driftless lognormal random walk (r = 0, since the GE pays no interest).
- 90% range:
S · exp(−σ²T/2 ± 1.645·σ·√T) - P(price > X) = N(d₂), the same term as in Black-Scholes
- 90% range:
Findings
The interesting part was seeing where the model breaks on real game data:
- Tick-size discreteness. At 6 gp, the smallest possible move (1 gp) is about 17%. The Air rune showed 0% volatility over 30 days and 94% over a year. Both are meaningless. I added reliability checks that show a warning instead of a misleading number.
- Averaging bias. The wiki reports interval-averaged prices, which smooth out moves within each interval and bias volatility estimates low.
- Fat tails. Game updates cause sudden price jumps that a lognormal model doesn’t capture.
- Price ceiling. High-value items like the Obligator trade near max cash (~2.147B gp), but a lognormal model assumes unlimited upside. Upper ranges near the cap need capping or a warning.
- Short history. New items have only weeks of data, mostly from the volatile launch period, so “1-year” volatility can really describe only a few weeks.
Shipped (v1.0)
- Item search with live GE price
- Historical volatility (30d and 1y, annualized)
- 90% expected price ranges over 7 and 30 days
- Target-price probabilities
- Reliability checks for low-priced and thinly traded items
- Read-only: no automation, no trading, no data collection
Next
- v1.1: Model calibration. Backtest how often real prices actually land inside the 90% range.
- v1.2: Option calculator. Price hypothetical calls and puts with Greeks (Δ, Γ, Θ, Vega).
Technology
- Java 11 — RuneLite Plugin Hub compatibility
- RuneLite API —
ItemManager, sidebar panels, client threading - OSRS Wiki Prices API — price history via OkHttp and Gson
- Lognormal / Black-Scholes model — price ranges and N(d₂) probabilities
- Gradle + JUnit — build and unit tests