Skip to content

Opt-in modules and Guard Console

Geometer Markets compiles every core tool, every opt-in analytical module, and the embedded local Guard Console into a single statically linked executable (geometer-markets).

There are no per-module Docker containers, sidecar processes, extra images, or plugin downloads to manage:

  • Install once: every capability (core, guard, gauntlet, monitor, scenarios, tca, and the local Guard Console) ships inside the same geometer-markets binary you already installed.
  • Preview offline with --demo: every paid module supports --demo on bundled synthetic data so you can inspect the exact CLI output, JSON format, and Guard Console views locally before enabling a paid plan.
  • Enable without redeploying: when you add or remove a module on your monthly plan, refresh your signed lease in place with geometer-markets licence renew. No container rebuild, reinstall, or infrastructure change is required.
Module ID Tier & monthly price Primary CLI commands What it provides
core Free forever (₹0 / $0) backtest, paper, verify, init, kill Deterministic strategy framework, paper venue, Order Guard on paper, signed hash-chain records, offline verification, and --demo previews of all 4 add-ons.
guard Paid base: Personal ₹199/mo ($3/mo, 1 account) · Pro ₹599/mo ($9/mo, up to 5 accounts) guard, run, address, report, login, mcp Live Order Guard, static IPv6 setup, daily signed report, and the embedded local Guard Console.
gauntlet Opt-in add-on: ₹99/mo ($2/mo) gauntlet, backtest --gauntlet Stress Gauntlet: walk-forward splits, CPCV overfitting checks, transaction-cost stress, market-regime splits, and LORD FDR sequential holdout accounting.
monitor Opt-in add-on: ₹99/mo ($2/mo) monitor Drift Monitor: live-vs-paper parity checks, execution cost drift detection, and automatic no_new_risk demotion.
scenarios Opt-in add-on: ₹149/mo ($2/mo) scenarios Portfolio Shock Lab: Black-76 option repricing across spot, volatility, and time shocks, historical stress regime replays, ranked loss drivers, and unpriced-leg provenance.
tca Opt-in add-on: ₹99/mo ($2/mo) tca, report Execution & Fee Audit: arrival-price implementation shortfall and broker contract-note fee reconciliation, also embedded in the daily signed report.
Option Monthly (INR / USD) Notes
Free Core ₹0 / $0 forever Unlimited backtest, paper venue, Order Guard on paper, signed record & offline verify, plus --demo previews of every add-on.
Order Guard — Personal ₹199/mo · $3/mo 1 live broker account.
Order Guard — Pro ₹599/mo · $9/mo Up to 5 live broker accounts; opt-in add-ons cover every account on the Pro lease.
Individual opt-in add-ons ₹99–₹149/mo · $2/mo each gauntlet ₹99/mo ($2/mo), monitor ₹99/mo ($2/mo), scenarios ₹149/mo ($2/mo), tca ₹99/mo ($2/mo).
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).

Inspect compiled modules and licence status

Section titled “Inspect compiled modules and licence status”

List all six capabilities compiled into your binary along with their current entitlement state (allowed, grace_warning, active_until_close, locked_not_entitled, or locked_expired):

Terminal window
geometer-markets modules

If you invoke a paid module that is not active on your current lease, the CLI prints the exact module state, the renewal command (geometer-markets licence renew), and reminds you that --demo runs immediately on synthetic data. Guard HTTP routes for locked modules respond with structured HTTP 402 Payment Required JSON naming the module, state, and ?demo=1 preview option.

Every module operates strictly on your own data, your own strategy code, and your own signed records — consistent with the tools-only boundary. None of these modules generate trade picks, market views, or position sizing.

Stress-test your own strategy’s historical equity curve and backtest configurations for overfitting and cost sensitivity before putting a strategy into paper or live mode.

Terminal window
# Preview Stress Gauntlet offline on bundled synthetic data
geometer-markets gauntlet --demo
# Run Stress Gauntlet on your own JSON input file
geometer-markets gauntlet --input ./strategy_runs.json
# Run a deterministic backtest with the Stress Gauntlet suite attached
geometer-markets backtest \
--strategy "python3 bot.py" \
--limits ./limits.json \
--data ./bars.jsonl \
--gauntlet

What gauntlet evaluates:

  • Walk-forward validation: splits historical series into sequential in-sample and out-of-sample windows with purging and embargo gaps so boundary bars do not leak across folds.
  • CPCV overfitting checks: runs Combinatorially Purged Cross-Validation across multiple parameter or variant trials to quantify probability of backtest overfitting and deflated Sharpe diagnostics.
  • Cost stress: re-evaluates your fills under escalated slippage and fee multipliers so you can see how fragile an equity curve is to real execution friction.
  • Regime splits: slices outcomes across volatility and trend regimes so concentration in one market environment stands out immediately.
  • LORD FDR holdout tracking: maintains sequential False Discovery Rate accounting across repeated strategy tests so multi-trial testing bias stays visible rather than hidden.

Compare how a strategy behaves in live execution against its parallel paper simulation and halt new risk automatically when live execution diverges beyond your configured thresholds.

Terminal window
# Preview Drift Monitor offline on bundled synthetic parity data
geometer-markets monitor --demo
# Evaluate drift from your own live-vs-paper snapshot input
geometer-markets monitor --input ./parity_snapshot.json

What monitor tracks and enforces:

  • Live-vs-paper parity: applies sequential e-process and CUSUM drift tests comparing live fills, fill rates, and realized outcomes against the parallel paper engine running the exact same strategy code.
  • Execution cost drift: monitors live slippage and statutory/broker charges against your expected baseline to surface venue degradation or spread widening early.
  • Automatic no_new_risk demotion: when a configured drift threshold trips, the monitor engages no_new_risk on that strategy’s stop switch (recording a signed stop_switch entry in your hash chain) so no new opening orders leave while cancellations and risk-reducing exits remain permitted. Only you on the human control plane (geometer-markets kill) can re-arm the strategy to normal.

Stress-test your current or proposed portfolio — including equity, futures, and index option legs — across spot, implied-volatility, and time-decay grids as well as historical stress episodes.

Terminal window
# Preview Portfolio Shock Lab offline on a bundled synthetic portfolio
geometer-markets scenarios --demo
# Reprice your own portfolio across spot/vol/time shocks and historical stress episodes
geometer-markets scenarios --portfolio ./portfolio.json --episodes

What scenarios computes:

  • Black-76 option repricing: revalues each option leg across multi-dimensional spot, implied-volatility, and time-to-expiry shock grids (alongside linear equity and futures legs) using exact decimal inputs and deterministic pricing math.
  • Historical stress regimes (--episodes): replays past Indian market stress episodes (gap moves, volatility spikes, and expiry-week squeezes) against your portfolio positions.
  • Ranked loss drivers: attributes worst-case scenario drawdowns back to the exact instruments and option legs contributing most to tail risk.
  • Honest unpriced-leg provenance: if any position lacks a required reference price, strike, expiry, or volatility surface input, scenarios flags that leg explicitly as unpriced in the output provenance instead of silently dropping it or inventing a placeholder value.

Measure execution quality from arrival price to fill and reconcile your signed fill ledger against broker contract-note charges line by line.

Terminal window
# Preview Execution & Fee Audit offline on synthetic fills and contract notes
geometer-markets tca --demo
# Reconcile your signed record fills against broker contract notes
geometer-markets tca --records ./records_export.json --notes ./contract_notes.json

What tca audits:

  • Arrival-price implementation shortfall: breaks execution cost down from decision/arrival timestamp to actual broker fill price across spread, timing, and market-impact components.
  • Contract-note fee reconciliation: compares every itemized fee calculated from the dated India rate card (brokerage, STT, exchange transaction fee, SEBI turnover fee, stamp duty, and GST) against your broker’s contract-note JSON, flagging exact paisa discrepancies by order and fee line.
  • Embedded in the daily signed report: when tca is active, geometer-markets report automatically embeds the day’s shortfall summary and fee reconciliation table directly inside your evening HTML and JSON report. See Verify a signed record.

Embedded local Guard Console (127.0.0.1:7878/admin)

Section titled “Embedded local Guard Console (127.0.0.1:7878/admin)”

When geometer-markets guard is running, the embedded local Guard Console is served straight out of the same binary on loopback:

http://127.0.0.1:7878/admin

If you host your Order Guard on a Mumbai cloud VM, open the authenticated loopback tunnel first (geometer-markets connect) and visit http://127.0.0.1:7878/admin in your local browser. See Static IPv6 address.

Key properties of the Guard Console:

  • Zero external network requests: every HTML view, stylesheet, and script is compiled into the geometer-markets binary. Opening /admin makes zero requests to external CDNs, font hosts, or analytics endpoints, and never transmits positions, P&L, or order data off your host.
  • Loopback-only privilege boundary: served strictly on 127.0.0.1, separated from bot keys, and protected by local human-session authentication.
  • Unified operational workspace:
    • Risk budget meters: live utilization bars for daily loss cap, daily trade count, open orders, order rate, and option worst-case loss budget from limits.json.
    • Stop switch controls: inspect active switches across global, account, strategy, and symbol scopes and engage or re-arm switches directly.
    • First-live safety checklist: verifies limits.json configuration, static IP egress (address check), daily broker login status, signed record checkpoint health, and stop-switch readiness before you switch from paper to run.
    • Portfolio Shock Lab heatmap: interactive spot-by-volatility shock matrix, historical episode replays, ranked loss drivers, and unpriced-leg provenance badges.
    • Stress Gauntlet, Drift Monitor, and TCA tabs: inspect latest walk-forward/CPCV runs, live-vs-paper parity status, and arrival-shortfall plus fee-reconciliation tables in one local screen.
    • Module status panel: shows every module’s current lease state, renewal countdown, and --demo preview toggle.

Per-module billing and safety-first enforcement

Section titled “Per-module billing and safety-first enforcement”

Opt-in modules extend Geometer Markets’ offline-resilient licensing model without adding runtime dependencies on Geometer’s servers.

Signed Ed25519 gl1 lease with modules claim

Section titled “Signed Ed25519 gl1 lease with modules claim”
  • Your paid subscription issues an Ed25519-signed gl1 monthly lease containing your plan tier, hashed broker account identifiers, validity timestamps, and an explicit modules claim listing every enabled capability (for example, ["guard", "gauntlet", "scenarios"]).
  • The binary verifies the Ed25519 signature and claims completely offline on startup and before module execution.
  • Adding, removing, or renewing a module takes effect locally as soon as you run:
Terminal window
geometer-markets licence renew

Renewal exchanges only licence metadata — zero order history, positions, symbols, strategies, or P&L ever leave your machine.

  • Live licences bind to hashed broker account identifiers rather than CPU or disk hardware fingerprints, so you can move cleanly between a laptop and a Mumbai cloud VM:
    • Personal plan: 1 live broker account.
    • Pro plan: up to 5 live broker accounts.
  • core (backtest, paper, Order Guard on paper, signed records, offline verify) remains free forever with zero live broker accounts required.

Renewal warnings and post-market-close expiry (15:30 IST)

Section titled “Renewal warnings and post-market-close expiry (15:30 IST)”
  • Advance warnings: the CLI, Guard Console, and daily report surface renewal reminders at 7 days, 3 days, and 1 day before a lease expires, followed by a 7-day grace window (grace_warning).
  • Never cuts off intraday: if a lease’s grace window reaches its end while markets are open (before 15:30 IST on NSE/BSE, or venue close), entitled modules remain active in active_until_close state until the session closes. Expiry only locks modules after market close.

An expired lease, a removed add-on, or a renewal-server outage never interferes with protecting or flattening your account:

  • Risk-reducing orders (reduce_only) are always permitted.
  • Order cancellations (DELETE /v1/orders/{id}) are always permitted.
  • The stop switch (geometer-markets kill) always works across every scope and mode.
  • Signed record writes and offline geometer-markets verify always work.
  • paper mode, backtest mode, and --demo previews always work.