Mithraeum · Agora

Inputs

Data and connections

Brokers and market-data providers are pluggable, and which one you are talking to is never ambiguous. That sounds like a small property. It is the difference between a system you can audit and one you have to trust.

One selector, no fallbacks

The data-source selector is the single source of truth for where price data comes from. Every request dispatches explicitly to the provider you chose, and an unrecognised source requests nothing at all rather than defaulting to a public endpoint.

Why that matters more than it sounds. The convenient design is a fallback chain: try the configured provider, and if it fails, quietly try a free one. It works beautifully right up until you are unknowingly trading on a different data source than you configured, with different adjustments, different timestamps and different gaps. There is no fallback here, and the absence is deliberate.
**** brokerage **** brokerage **** brokerage **** data vendor **** data vendor offline / none
The names are withheld on purpose. Three brokerages and two market-data vendors have integrations here, and none of them is named anywhere on this site — not in this list, not in the screenshots, where the names are redacted out of the frames. Naming a company beside a description of what this software does invites the reading that they are involved with it, endorse it, or have approved anything about it. None of that is true of any of them. Each integration is written against a published interface and used under the reader's own account and the vendor's own terms.

Brokerage and market data are separate choices. You can hold a live broker connection for execution while taking history from somewhere else, and you can run entirely offline against stored data with no connection at all.

Adding a provider is a specification, not a branch

Each source declares what it offers — which bar sizes, which fields, what its rate limits are, how its symbols are spelled. The pipeline reads that specification. Adding a provider means writing one, not threading a new conditional through the request path, which is how data layers accumulate subtle per-source differences nobody can enumerate.

The shared store

The gate

Outbound data requests pass through a gate with three positions, and it governs every source rather than one:

PositionBehaviour
EnabledRequests go out, subject to the rate floor, and are logged.
ManualNothing goes out on a schedule. Requests happen when you ask for them.
TrialRequests are queued for your review and never transmitted. You see exactly what the system wanted to ask for, before anything is asked.

No hidden traffic, and the receipt is part of the interface. In trial the requests drawer fills with what the system wanted to ask for and sends none of it, so the queue is readable before anything leaves the machine rather than a log you inspect afterwards.

The Mithraeum — Connections · one selector, the gate, the receipt
The Connections view with a keyed provider selected as the single data source, its credential field blank in the demonstration instance, the source's trial mode on, and the data-requests drawer open showing the two queued, never-sent requests the trial gate held back. Provider names are redacted.
The selector, the gate and the receipt, in one frame. One keyed provider is selected — there is no fallback list to fall through — the gate sits in trial, and the requests drawer shows the two requests the gate held rather than sent. Credential fields are blank: this is the demonstration instance, and keys never appear in any frame on this site. Provider names are redacted out of the image.

What the vendor actually permits

A rate limit you can switch off is not a rate limit. The gate above governs whether a request goes out; this governs how fast, and the numbers in it are the vendor's rather than a preference — because the consequence of exceeding them is not a warning, it is an account the vendor stops answering.

This part of the system was rebuilt after a defect that had been quietly running for months, and the shape of it is worth describing because nothing in the application was reporting anything wrong.

The evidence had stopped in 2024, and the panel called it complete. The store is gap-filling: it asks the provider only for the bars it does not already have. A local safeguard capped how far back a single request could reach — a sensible number, set by hand — and because the store only ever asked about the window inside that cap, it concluded there were no gaps outside it. Every curated symbol had settled on about 550 days of history and would never have asked for another, for ever. The one symbol with a longer record had it only because it had been imported from a file. A cap on how much you request became a ceiling on how much you can ever know, and the completeness indicator was telling the truth about the wrong question.

Correcting it meant asking for a great deal more history, which is what made the vendor's own rules suddenly matter. Counting honestly: forty-four symbols is not forty-four requests. One symbol's history is fetched in chunks, so a full backfill is over a thousand requests — and the application's own settings, as configured, would have sent them at roughly forty times the rate the vendor publishes. Nothing would have reported that either; the vendor's answer would simply have been an error code.

RuleHow it is held
Requests per ten minutes A window of exactly that width, which the application did not previously have — it counted per second, per minute and per hour, so the one limit that was published was the one nothing measured.
Repeat requests for the same instrument Already being broken, by a single symbol's own chunk walk. Twenty requests in ten minutes is far inside the ten-minute budget while being far outside this one — two rules, one counter, and only one of them was counted.
The size of one request Derived from the vendor's own duration table rather than typed in, so a request too long to be legal cannot reach the wire whatever the local settings say.
Concurrent live quotes An account allowance rather than a published rule, so it is a setting — but a stated one. Past the allowance the vendor simply stops sending, silently, which is the failure the cap exists to convert into a message.

The stricter setting now slows the request rate as well as shortening the history asked for, which is worth saying plainly because the natural reading is the opposite: strict fetches less history in fewer requests, more slowly. And the note in the application states what it does not cover — a second copy of the application running at the same time keeps its own count, and other software on the same vendor account is counted by the vendor and not by this.

History is measured in bars

"Two years of history" means very different things at different bar sizes, and the reach used to live in two tables that said one thing in two units — days for the unattended backfills, bars for everything asked for by hand — so the same deployment could see further back when a person asked than when it reconnected on its own. There is one limit now, stated in bars — a thousand by default — clamped to how far the source actually reaches and halved by the strict setting. The figure in days is derived from it rather than kept beside it, and the old table was retired by a migration that converts what it finds, records what it did, and can be run twice without doing anything twice.

Counted properly, the request bill was already close to its floor. The source serves at most a year of daily bars in one request, so ten years cannot cost fewer than ten; one deep pull of 7,868 bars went out as 36 requests, about 219 bars apiece against a ceiling of 260. "Why so many requests for one asset?" had an honest answer, and the answer was arithmetic.

One trail for every request

The request log wrote one row for each gap it filled, so a pull that went out as thirty-six requests appeared as eight — and the usage meter, reading that log, said eight, beside an hourly meter reading the gate's own count. Two figures side by side, four times apart. The trail records the fetch and every request that went out on the wire beneath it, market data and brokerage alike, linked so that opening one shows the rest. Recording fails on, because an empty trail reads as "nothing happened". The meter counts wire requests now and says which basis it is counting, so a low number is always named rather than implied.

Both faults were found by driving it, not by reading it. The identifier that groups a fetch's requests outlived the fetch that minted it, so a brokerage order and then a quote poll were each filed inside an unrelated backfill; only a fetch may inherit a group now, and a wire request must state its own. And the hourly figure's fallback had been asking for a channel where it needed a source, so it had read zero since the day it was written. A fallback that is always zero is worse than no fallback — it reads as "nothing has been requested."

Credentials

Broker and data credentials are stored locally, encrypted at rest, and are never included in any diagnostic bundle — the bundle reads the selected data provider's identity and never the configuration or profile sections, which is where a key would be. No backend service in this project is given a way to request them.

Working offline

With the source set to none, the application runs entirely against stored history: full strategy design, backtesting, mining, validation and portfolio modelling, with no network activity of any kind. Entitlement is a signed statement with a validity period rather than a live check, so this is a supported way to work rather than a degraded mode.

The synthetic generator — where every frame on this site comes from

The application can invent price series of its own: pick a regime character, a volatility, a length and a seed, and it writes an OHLCV tape with no real market behind it into the stored library under an unmistakable SYN-* name. It exists for testing the machinery — and it is what makes this site's screenshot rule possible: every capture here runs on tapes this panel generated.

The Mithraeum — the Synthetic data generator
The synthetic data panel's generator form: regime, granularity, trading days, start date, base price, volatility and an optional seed, a preview-only button beside generate, and the panel's own note that names are always forced under the SYN namespace so synthetic data can never overwrite a real ticker.
The provenance machine. Regime, volatility, length, seed — deterministic, so a series can be regenerated exactly — with the panel's own rule printed on it: names are forced under the SYN-* namespace, so an invented tape can never overwrite or be mistaken for a real ticker. Every other frame on this site was captured against tapes this form generated.

No brokerage or market-data vendor is named on this page, in this site's screenshots, or anywhere else on this site. Nothing here is a statement that any company is associated with this project, endorses it, sponsors it, or has reviewed it — none of them is, and none of them has. Nothing on this page is investment advice or an offer of any product or service.

A personal project. Not advice. Nothing for sale.

This site describes a personal engineering project, written and run by one person in their own time and published under the name Mithraeum Agora. There is no company behind it, no team and no other contributor. It is not a product and not a business. Nothing here is for sale — there is no account to open, nothing to buy, no subscription, no waiting list, and no service is being offered or solicited. Sending a message through the note form creates no customer, client or contractual relationship of any kind. The note form on the contact page is the way to reach me, and it is the only one.

Nothing on this site is investment advice, financial advice, tax advice, or a recommendation, solicitation or offer to buy or sell any security or financial instrument. I am not a financial adviser, a broker, an investment manager or a regulated firm, and nothing here should be relied on as though I were. If you are making decisions about money, take advice from someone qualified and regulated to give it.

Figures do appear on this site, inside screenshots, and none of them is a performance claim. Every one is a demonstration instance's own arithmetic over price series the application generated itself — synthetic data, with no real market behind it — shown to illustrate what the tools display. They are hypothetical and simulated: no capital was at risk, no orders were placed, and a result computed over history with the benefit of hindsight carries limitations that live trading does not forgive. Hypothetical results are not indicative of future returns, and past performance — real or simulated — predicts nothing.

No brokerage, market-data vendor or other company is named anywhere on this site, and where a name appeared inside a screenshot it has been redacted out of the image. Nothing here states or implies that any company is associated with this project, endorses it, sponsors it, supplies it or has reviewed it. None is, and none has.

What this site collects. Nothing, unless you write to me. There is no analytics, no tracking, no advertising, and nothing at all is loaded from another domain. If you use the note form it takes the name, address and message you type, stores them privately where only I can read them, and keeps them for up to a year before they are deleted — sooner if you ask, and you do not have to give a reason. Your IP address is not kept. One thing is stored on your own device: the colour theme you pick, remembered by your browser so the site does not change appearance every time you arrive. It is written only when you choose a theme, and it identifies nothing and nobody. The preference itself never leaves your browser, but the screenshots follow it, so the pictures your browser fetches from this site are the ones drawn in that palette. The contact page answers all of this in more detail.

Terms of use. This site is provided as is and as available, with no warranty of any kind, express or implied. It describes software under active development: anything here may be incomplete, out of date or simply wrong, and it may change or disappear without notice. Nothing on it is a contract, a term of service for any product, or a promise that anything described will be built, released or kept running. To the fullest extent the law allows, I accept no liability for any loss or damage arising from use of this site or from reliance on anything it says. Nothing here excludes or limits any liability that cannot lawfully be excluded or limited.

Trading involves risk of loss.