Geometer Markets
This content is not available in your language yet.
Geometer Markets is a self-hosted program that runs on your own computer or your own cloud server. It sits between your trading bot and your broker. Your bot can be code you wrote, code an AI wrote, or an AI agent speaking MCP.
Every order passes through Geometer Markets before it leaves for the broker. It checks your limits, previews itemized charges, stays under the 10-orders-per-second exchange threshold per segment, sends orders from your own reserved static IPv6 address, and appends each decision, order and fill to a signed hash chain. After market close, it generates a short evening report. One stop switch halts new risk immediately.
One package, four parts
Section titled “One package, four parts”Geometer Markets ships as a single executable (geometer-markets), a companion Python package (geometer-markets), and a Go module. Each part has a clear boundary and works on its own:
| Part | Subcommands | What it does |
|---|---|---|
| Order Guard | guard, login, kill, mcp |
Local proxy on 127.0.0.1:7878 that holds your daily broker session, enforces limits.json and order-rate limits, previews charges, and isolates bots behind scoped local keys. |
| Static Address | address, connect |
Provisions a Mumbai VM with a reserved static IPv6 address on your own cloud account, binds outgoing broker sockets to that address alone, enforces the weekly change rule, and falls back to IPv4 for brokers without IPv6. |
| Framework | backtest, paper, run |
Deterministic Go engine that runs the same Python or Go strategy code in backtest, paper and live modes over a local JSON protocol (gm-strategy/1), with dated NSE and BSE reference data. |
| Proof and Report | report, verify |
Append-only hash chain with Ed25519 signed checkpoints, default-on OpenTimestamps anchoring for live runs, an evening summary report, and an offline verifier anyone can run. |
| Opt-in Modules & Console | modules, gauntlet, monitor, scenarios, tca |
Compiled into the same single binary (zero per-module Docker): Stress Gauntlet, Drift Monitor, Portfolio Shock Lab, Execution & Fee Audit, and the embedded local Guard Console at http://127.0.0.1:7878/admin. |
You do not need to adopt every part at once:
- Already have a Python bot using Kite Connect? Run only the Order Guard and change one line (the base URL).
- Need a compliant static IP on your own cloud account? Use the Static IPv6 address commands.
- Building a new bot from scratch? Write it once with the Strategies in Python framework and run
backtest,paperandrunon the same code path. Live and paper runs always route orders through the local Order Guard, with no bypass. - Want overfitting checks, live-vs-paper drift monitoring, option shock replays, or broker contract-note fee audits? Preview any add-on offline with
--demoor inspect the embedded Guard Console in Opt-in modules and Guard Console.
Why self-hosted
Section titled “Why self-hosted”- Your broker session never leaves your host. Geometer never holds your broker API secret or daily access token and never touches your funds or orders.
- Your own broker API app. Each trader connects through their own broker developer app and credentials.
- Your own registered static IP. Outgoing order requests leave directly from the static address registered to your broker account, with no middleman server in the order path.
Tools-only boundary
Section titled “Tools-only boundary”Geometer Markets sells software tools that run your own trading logic under your own limits. It is not a Research Analyst, Investment Adviser, broker, or strategy marketplace. It provides no trade ideas, no strategies for sale, no stock picks, and no performance figures. Read What Geometer Markets does not do for the full boundary and operational limitations.
Plans, accessible pricing, and offline-resilient licensing
Section titled “Plans, accessible pricing, and offline-resilient licensing”| Plan or add-on | Monthly (INR / USD) | Scope |
|---|---|---|
Free Core (core) |
₹0 / $0 forever | Backtest, paper venue, Order Guard on paper, signed record & offline verify, and --demo previews of all 4 add-ons. |
Order Guard — Personal (guard) |
₹199/mo · $3/mo | 1 live broker account: pre-trade risk caps, rate queue, stop switch, static IPv6 setup, daily signed report, and local Guard Console. |
Order Guard — Pro (guard) |
₹599/mo · $9/mo | Up to 5 live broker accounts with independent per-account limits and stop switches. |
Stress Gauntlet (gauntlet) |
₹99/mo · $2/mo | Opt-in add-on: walk-forward splits, CPCV overfitting checks, cost stress, regime splits, and LORD FDR holdout tracking. |
Drift Monitor (monitor) |
₹99/mo · $2/mo | Opt-in add-on: live-vs-paper parity and cost drift checks with automatic no_new_risk demotion. |
Portfolio Shock Lab (scenarios) |
₹149/mo · $2/mo | Opt-in add-on: offline Black-76 option repricing across spot/vol/time grids, stress episodes, ranked loss drivers, and unpriced-leg provenance. |
Execution & Fee Audit (tca) |
₹99/mo · $2/mo | Opt-in add-on: arrival-price shortfall and broker contract-note fee reconciliation inside your daily signed report. |
| Full-Suite Add-On Bundle | ₹299/mo · $5/mo | All 4 opt-in add-ons together — save ~33% compared with ₹446/mo ($8/mo) individually. |
| Hosted Static IPv6 Address | ₹99/mo · $2/mo | Optional fixed Mumbai IPv6 egress from Geometer’s pool for home setups without a cloud VM. |
Typical monthly totals: Solo live guard ₹199/mo ($3/mo) · Solo + Full Suite ₹498/mo ($8/mo) · Pro 5-account + Full Suite ₹898/mo ($14/mo). Annual billing saves 2 months (~17% off) via Razorpay Subscriptions.
- Free tier: the strategy framework,
backtest,papermode, the Order Guard on paper, signed records, offlineverify, and--demopreviews of all 4 add-ons work at zero cost with no live licence required. - Paid monthly plans and opt-in modules: signed Ed25519
gl1monthly leases carry an explicitmodulesclaim (guard,gauntlet,monitor,scenarios,tca) verified offline and bound to hashed broker account identifiers (one account on Personal, up to five accounts on Pro) rather than hardware fingerprints, so you can move between a laptop and a Mumbai cloud VM freely. Refreshing add-ons takes onlygeometer-markets licence renew— see Opt-in modules and Guard Console. - Safety-first expiry: live leases surface 7-day, 3-day, and 1-day renewal warnings, include a 7-day grace window, and send zero trading telemetry during renewal. Expiry never takes effect intraday before
15:30 IST(venue close), and never blocks risk-reducing orders (reduce_only), order cancellations, the stop switch,paper,backtest, or offlineverify.
Start here
Section titled “Start here”- Install Geometer Markets — Python package, standalone Go binary, and
geometer-markets init. - Quickstart — go from install to your first paper bot and a verified signed record in under 10 minutes.
- Limits and the Order Guard — pre-trade checks,
limits.json, Kite Connect drop-in,/v1/*API, local keys, and the stop switch. - Static IPv6 address —
address create --gcp,address use,address check, weekly change rule, IPv4 fallback, and IAP tunnel. - Brokers and daily sessions — supported Indian brokers, daily login,
16:00 ISTlogout, morning reminders, and IPv6 status. - Strategies in Python —
Strategy,View,gm-strategy/1, backtest/paper/live parity, and white-box examples. - AI agents and MCP — MCP tools, tight limits, engage-only stop switch, and tools-only refusal policy.
- Opt-in modules and Guard Console — Stress Gauntlet, Drift Monitor, Portfolio Shock Lab, Execution & Fee Audit, embedded
127.0.0.1:7878/adminconsole, and per-modulegl1leases. - Verify a signed record — hash chain, Ed25519 checkpoints, OpenTimestamps anchoring, and offline verification.
- What Geometer Markets does not do — regulatory boundary, outside orders, and security limits.