Buyer's guide ยท Thesis

Hyperliquid strategy backtester source code: rules, a robustness lab and paper-first runs

THESIS is the source code for a self-hosted trading desk on Hyperliquid. A user writes or loads rules, backtests them on past Hyperliquid candles with fees, slippage and funding, and has a robustness lab grade them A to F. Runs start on paper. Testnet and mainnet runs are optional, signed from the user's own browser tab, and mainnet ships switched off. The result is meant to be honest, and the desk often says a strategy lost. The operator can rebrand it and manage it from an admin console.

What you get

  • Rules editor

    A visual editor with a live chart preview, JSON rules, templates and a saved strategy library. Edits made in plain language are shown as a diff that the user accepts or rejects. A strict schema clamps limits and reports every change.

  • Backtest

    Bar-by-bar on up to 5,000 Hyperliquid candles, with fees, slippage, stop-first handling and hourly funding from Hyperliquid's funding history. The in-sample and out-of-sample split is built in, and trades export to CSV.

  • Robustness lab

    Walk-forward, Monte Carlo, parameter sensitivity and a look-ahead check, summarised as an A to F grade. It runs in a Web Worker so the page stays responsive.

  • Paper, testnet and mainnet runs

    One runner decides on each closed candle, using the same engine as the backtest. A guided flow only unlocks live modes above the minimum grade you set.

  • Safety tools

    A kill switch that stops the run, cancels the desk's orders and flattens. Operator risk caps that can only be tightened. A panel showing where the key lives and a network log of every host the tab contacts.

  • Journal and alerts

    Expected versus actual per trade (fills, slippage, fees, funding) with CSV export, a drift warning against the lab's Monte Carlo range, and in-app or browser alerts.

  • Operator console

    Built on the MIKODES Admin Kit: settings, status checks, revenue view, metrics, team, 2FA, audit log, rollback and import/export. Source, tests and HTML documentation are included.

Who runs it

THESIS is operated by a person or group that wants a branded Hyperliquid strategy desk. How a copy earns anything is the operator's own business decision, and the product does not promise any result.

  • A trader, self-hosted

    Run it for your own account. This is the simplest set-up, because no other users are involved.

  • A trading community or research group

    Host it for members under your own name and accent, and cap risk from the console. Members share rule sets as links, with the rules in the URL hash and no server involved.

  • A developer building a branded tool

    Take the rules engine, backtester and lab as a base and change them. All of it is source code.

  • Optional operator settings

    A Hyperliquid builder fee, a Pro plan paid in USDC and a referral link are all off by default. Legal review of any of them is the operator's job.

What it needs to run

  • Node.js 22.12 or newer and pnpm; a Node host with a disk, or a Vercel project
  • ADMIN_SECRET_KEY to turn on the /admin console
  • Admin storage: Postgres (required on Vercel) or SQLite on a Node server
  • End users: an EVM browser wallet, and a Hyperliquid account with USDC for testnet or mainnet runs. Paper mode needs neither
  • Optional: your own Anthropic API key for the chart-to-rules reader, billed per use by Anthropic. The desk works without it
  • Hosting, a domain and TLS are yours to arrange

What it does not do

  • It does not promise any result. The lab often grades strategies F, and live trading can lose more than the collateral posted.
  • Rules run only while the browser tab is open. Protective stop and target orders rest on Hyperliquid, but there is no headless 24/7 runner.
  • One position and one market per run.
  • The chart-to-rules reader has not been run against a real Claude call by MIKODES, and it is inactive without your key. The files record that no AI output quality is verified.
  • Wallet approvals in a browser wallet and a funded testnet round trip are listed as unverified. The signed order path was verified against the testnet signer only.
  • Legal clearance for offering automated trading to the public is not included. Hyperliquid's own jurisdiction rules apply.
  • Hosting, Hyperliquid funding, trading fees and slippage are not included.

Questions

Can it place real orders?

Yes, once the operator turns on mainnet, which ships off. Orders are signed in the user's own browser tab with an agent key, and the server never holds a key. Live modes also need a minimum robustness grade, wallet, acknowledgements and, on mainnet, a typed confirmation.

Does it need an AI key?

No. Templates, JSON rules, the rules editor, the backtest, the lab and paper runs all work without one. The optional chart-to-rules reader needs your own Anthropic key.

What happens if the browser tab is closed?

The runner stops deciding. Protective stop and target orders that were already placed rest on Hyperliquid. There is no server-side runner in this version.

Which database does the admin use?

Postgres, which is required on Vercel, or SQLite on a Node server.

Is it financial advice?

No. It is software. The product files describe the AI reader as translating a chart into rules, never predicting price, and no result is promised.

How much does Thesis cost, and what does the licence allow?

$169, one payment, no subscription. One licence, no tiers: any number of projects and clients, a paid SaaS, every line changed. The only limit is reselling or publishing the source code itself. The services you connect bill you directly. See the licence.

Is setup included?

Yes. We install Thesis for you and put in your logo, colours and texts. Bigger changes or new features get a fixed price before we start.

What if it does not work?

Write to us within 14 days. We fix it, usually the same day. If we cannot fix it within 7 days, you get your money back. See the refund policy.