The exchange as the system renders it. Each tower is a listed company, placed in a sector district and scaled by capitalisation, tagged with its last traded price. Green tags are advancing, red declining.
The Jamaica Stock Exchange is a small market by global measure and a difficult one by every measure that matters to a modelling problem. It is thin. A single institutional order can move a Junior Market listing several per cent. Reporting is quarterly and sparse. The macroeconomic series that drive it, the Bank of Jamaica policy rate, inflation, the exchange rate, quarterly GDP, arrive at different cadences and revise afterwards. None of the assumptions that make a large liquid market tractable hold here.
That difficulty is the reason the market is worth modelling rather than the reason to avoid it. Techniques calibrated on the S&P 500 assume continuous trading, deep order books, and a news flow dense enough that sentiment can be treated as a smooth signal. Point them at a market where a listing may not trade for a session and they produce confident nonsense. A model that works on the JSE has to be built for the JSE.
What follows is what is actually running, layer by layer.
Layer One: Ingestion and Calibration
The system pulls the full list of securities across the Main Market and the Junior Market, their sector classifications, their daily price and volume history, and the published macroeconomic series. Alongside that it takes a live feed of financial news covering the listed companies and the wider Jamaican economy.
The historical series are not stored as decoration. They are what every parameter in the price engine is fitted to. For each security the system estimates its own volatility, its correlation with its sector and with the index, the autocorrelation structure of its returns, how often it trades at all, and how far it typically moves on a day when it does. Scotia Group Jamaica, capitalised at J$131.2 billion with a 52-week range of 40.37 to 66.96 and a dividend yield of 3.1 per cent, produces a very different parameter set from a Junior Market listing that changes hands twice a week.
This is the step that decides whether anything downstream means anything. A simulation calibrated on generic market assumptions produces a generic market. Fitted to the actual return distributions of actual JSE securities, it produces something whose statistical fingerprint resembles the exchange it is named after.
Layer Two: A Price Engine Grounded in Physics
The behaviours that make a price series look real are specific and well documented. Prices drift. They disperse over time in proportion to the square root of that time. They revert towards levels they have wandered from. Their volatility clusters, so that violent sessions arrive in runs rather than independently. And they occasionally gap in a way no continuous process explains.
Every one of those behaviours was formalised in physics before finance adopted it. The diffusion that underpins the Black-Scholes framework is the mathematics Einstein published for Brownian motion in 1905. Mean reversion is the Ornstein-Uhlenbeck process, which is a damped spring with noise. Volatility clustering is relaxation: a system knocked out of equilibrium stays agitated for a characteristic time before settling. Gaps are jump processes.
So the engine treats each listed security as a body. It has a position, which is its price. It has momentum, carried from recent returns. And it has mass, set by its liquidity and capitalisation. Forces act on it from four directions: its sector, the macroeconomic state, its own mean-reverting pull towards a fitted fair value, and whatever the news layer has just done to it.
Mass is the part that earns its keep. An identical piece of news applied to a large, liquid, heavily capitalised bank and to a thinly traded Junior Market name produces very different accelerations, because the same force divided by different masses gives different results. That single choice reproduces one of the most reliable features of a small exchange, the wild sensitivity of its smallest listings, without anybody hand-tuning a volatility multiplier for each security. It falls out of the formulation.
Volatility clustering, visible as runs of large sessions rather than large sessions scattered independently. Reproducing this is the test a price engine has to pass. Photo via Unsplash.
Layer Three: Generative News and the Sentiment Loop
A market with no narrative is a moving line. Real prices move because information arrives, and information arrives as text.
A language model synthesises the market's news flow, conditioned on two things at once: the state the simulated market is currently in, and the real reporting calendar, so that a company due to report does so at the right time. The output is the ordinary journalism of a small exchange. Quarterly earnings with the numbers attached. Regulatory notices. Dividend declarations. Sector pieces on tourism arrivals or on the effect of a policy rate decision on bank margins.
The generation is constrained rather than free. A company that has been losing ground for three weeks does not wake up to an unexplained profit story, because the conditioning includes its recent trajectory. Where the model does produce a surprise it is drawn deliberately from a tail, at a rate fitted to how often real surprises occur, because a market without them teaches something false.
The text is then scored for sentiment and directed back into the price engine as a force on the named security and, at lower weight, on its sector. That loop is the point. Narrative moves price, price conditions the next round of narrative, and the two co-evolve the way they do in a real market rather than running as independent tracks.
The same pipeline consumes real news. Ingesting live coverage, scoring it, and mapping it onto the affected securities is exactly what a working research desk does. Building it inside a simulation means it can be evaluated against outcomes the system already holds, which is considerably cheaper than evaluating it live with capital attached.
Layer Four: The Fourteen-Day Forward Distribution
The forecast runs the whole apparatus forward. Not once, but several thousand times in parallel, each path carrying its own generated news, its own macroeconomic realisation, and its own draws from the stochastic engine. The paths are then collapsed into a distribution for each listed security fourteen sessions out.
The output is deliberately not a target price. It is a set of quantiles and a probability of finishing above or below a given level. That distinction is the whole of the discipline. A single number invites belief. A distribution shows the honest shape of the thing: a central case among many, an interval that widens with horizon, and a tail in which a position that looks comfortable at the median is ruinous.
Macroeconomic conditioning runs on the same ensemble. Policy rate paths, inflation, and exchange rate movement follow standard relationships rather than invented ones, so an assumed rate change propagates in the observed order: into bank margins first, into consumer-facing names later, into small capitalisations hardest.
Quality is assessed by calibration before accuracy. A forecast that assigns seventy per cent probability to an outcome should be right about seventy per cent of the time across many such calls. Reliability of that kind is measurable, and it is a far more useful property than a single impressive hit. Alongside it the system is scored on the sharpness of its intervals, because a forecast wide enough to be always right says nothing, and against a naive random-walk baseline, because any market model that cannot beat a random walk has earned no confidence at all. Those evaluations are running now and I will publish the numbers when there are enough sessions behind them to be worth reporting.
The City Is the Interface
The visualisation is not ornament. Spatial memory is stronger than tabular memory, and a table of forty tickers teaches nobody the structure of a market.
Each listed company is a tower, positioned in a district by sector and scaled by capitalisation. Banking and finance occupies one quarter of the map, agriculture another. Height and lighting track how a company is trading. Sector rotation, which is a column of percentages in any brokerage interface, becomes something you can see from across the city: one district dimming while another lifts.
The macroeconomic strip sits across the top. JSE Combined at 394,660, the Junior Market at 2,881, the policy rate at 5.75 per cent, inflation at 5.2, the exchange rate at J$158 to the US dollar, GDP at negative 0.3. These are inputs, and the market underneath responds to them.
Click a tower and you get the security: sector, capitalisation, 52-week range, dividend yield, liquidity, and a price chart carrying 20-day and 50-day moving averages, Bollinger bands, and RSI. Then a position box with fees included in the cost before you commit. Time advances one session every five seconds, and you can pause it or push it to triple pace to watch a position develop over months.
You start with a million Jamaican dollars. You can also close the panels and walk the streets, which sounds like decoration until you watch somebody do it and notice they have started asking what the buildings are.
The conventional view, and the one most people meet first. It assumes you already know what you are looking at. Photo via Unsplash.
Why This Matters for a Market This Size
Jamaicans are underinvested in Jamaican companies, and the constraint is not capital. Anyone running a partner draw is already allocating monthly. The constraint is that the exchange is invisible, transacted in a vocabulary nobody was taught, and first encountered at the moment a broker asks for a signature.
A simulation solves a specific part of that. Losing two hundred thousand simulated dollars by concentrating a portfolio into one Junior Market listing ahead of an earnings release is a cheap lesson delivered at the right time. The same lesson delivered once, for real, is usually enough to keep a person out of the market permanently.
What it teaches is mechanical and temperamental in equal measure: what you actually pay once fees are counted, what a 3.1 per cent dividend yield means against a 5.75 per cent policy rate, why a high-liquidity security absorbs news that would move a thin one violently, and why owning eight banks is not a diversified portfolio. Holding through a drawdown feels a particular way, and it is better to feel it the first time with money that is not yours.
There is a second point, aimed at every Jamaican organisation being told this class of system requires an overseas vendor and a twelve-month engagement. Every component here is generally available. Language models, stochastic methods that have been in the literature for fifty years, financial data APIs, and a browser that renders a city at sixty frames a second. What is new is that one person can assemble them into a running market in a reasonable stretch of time.
Limitations
The calibration is bounded by the history behind it, and for a market this size some listings have thin, gappy, awkward series. Parameters fitted to forty trading days carry a great deal less weight than parameters fitted to a thousand, and the system's confidence in those names should be read accordingly.
The news layer produces plausible journalism, and plausible is not the same as representative. A generative model reproduces the distribution of what it was trained to produce, which is not identical to the distribution of what a small exchange actually reports.
Any simulation is smoother than the market it describes. The real exchange includes settlement delays, a broker who does not answer the phone, a listing suspended pending an announcement, and the session cancelled because a hurricane is crossing the island. Those are not noise to be modelled away. They are a real part of the return an investor receives, and they are absent here.
And nothing in this is investment advice. I am not a licensed adviser, the output is a probability distribution rather than a recommendation, and anyone acting on it is making their own decision with their own money.
What Comes Next
Three lines of work. The evaluation record needs enough sessions behind it to publish calibration curves rather than assertions, which is a matter of waiting and measuring. The news pipeline needs to run fully on live coverage, scored and evaluated on its own rather than as a component. And the system belongs in classrooms, where a term spent trading a simulated JSE would do more for financial literacy in this country than any lecture I could deliver.
If you run a school, a credit union, a brokerage, or a training programme, that last one is where I would like the work to go.
What does the fourteen-day forecast actually produce?
An ensemble of several thousand independent paths per security, each with its own news and macroeconomic realisation, collapsed into a forward distribution. The output is a set of quantiles and a probability of finishing above or below a level, not a single target price.
Why build the price engine on physics rather than financial formulas?
Because the statistical behaviour that makes a price series realistic was formalised in physics first: diffusion for drift and dispersion, the Ornstein-Uhlenbeck process for mean reversion, relaxation for volatility clustering, jump processes for gaps. Giving each security a mass set by its liquidity is also what makes thin Junior Market names respond violently to news a large bank absorbs, without tuning each security by hand.
What does the generative model do?
It synthesises the market's news flow, conditioned on the market's current state and the real reporting calendar: earnings, regulatory notices, dividend declarations, sector commentary. That text is scored for sentiment and returned to the price engine as a force, closing the loop between narrative and price.
How is forecast quality measured?
By calibration first. A seventy per cent call should be right about seventy per cent of the time across many such calls. The system is also scored on interval sharpness, since a forecast wide enough to always be right says nothing, and against a random-walk baseline, since a market model that cannot beat one has earned no confidence.
Why a voxel city instead of a dashboard?
Spatial memory beats tabular memory. Towers are companies, districts are sectors, height tracks capitalisation. Sector rotation becomes a visible change in the skyline rather than a column of percentages, and a learner reads the structure of the market before reading a single number.
If you run a school, a credit union, a brokerage, or a training programme and a simulated Jamaica Stock Exchange would be useful to the people you teach, I would like to hear from you. Reach me at insights@starapple.ai.
See the AI Boss Tools