Geometer markets

Let your bot trade. Keep your limits. Prove every order.

Every order your bot or AI sends is checked against your limits before it reaches your broker. It runs on your own computer or server, so your broker login and money never leave it. Tools only: your trading logic stays yours.

One order through the guard
Your bot sendsBUY 100 NSE:EXAMPLE_ETF LIMIT 100.00 (intraday)

All limits pass · 2/8 orders this second · charges previewed

Order Guard decidesAPPROVED · egress 2400:1a00:b010::42 · tag G01A9

Sent from your static IPv6 · appended to hash chain

Broker & signed recordOrder sent · charges logged · signed entry #418 written

Within every limit, routed from your own static IPv6 address, and logged with full charges. Order Guard, in full

Your bot sendsBUY 200 NSE:EXAMPLE_ETF LIMIT 100.00 (opening)

Day's realized and open loss exceeds your configured daily cap

Order Guard decidesREFUSED · code: strategy_daily_loss · broker not contacted

Refusal signed into chain with limits version

Your bot receivesNew risk halted for today. Position-reducing orders remain allowed.

Opening risk stops at your cap. Only you at the terminal can lift a stop switch, never the bot. See all guard checks

Your bot sends500 orders in 1 second from a runaway loop

Token bucket per account and segment · 300 ms wait cap

Order Guard decidesREFUSED · code: order_rate · 492 excess orders stopped locally

Burst refusals written to chain and evening report

Broker & signed recordAt most 8/s sent · stays below the 10/s exchange threshold

A stuck loop never floods your broker or crosses the exchange order-rate threshold. How rate limits work

Your bot sendsSELL 150 NSE:EXAMPLE_IDX_PE (unhedged short option)

Worst-case option loss check runs before any broker request

Order Guard decidesREFUSED · code: option_worst_case · unbounded risk disallowed

Refusal code and plain sentence returned to bot

Your bot receivesUnhedged short option blocked unless explicitly permitted in limits.json.

Each option order reserves its worst-case loss against your budget before leaving your machine. Read safety limits

Mistakes it stops

Three costly mistakes, caught before they reach your broker

  • A loop sends hundreds of orders

    A bug repeats the same order again and again, faster than the exchange allows.

    The guard keeps orders under the exchange's rate limit and refuses the rest.

  • A wrong side or a wrong size

    A flipped sign sells instead of buying, or 100 shares becomes 10,000.

    The guard checks size, value, price and symbol, and refuses what does not fit your limits.

  • A bad day keeps getting worse

    Losses pile up while nobody is watching the screen.

    When your daily loss limit is hit, new orders stop. Only you, at your own terminal, can switch them back on.

The Order Guard, in full

Who it is for

Built for traders who run their own bots

  • Traders who run their own bots

    It sits in front of the bot you already have and works with Kite Connect, Upstox, Fyers, XTS and Noren, on any stock market.

  • AI-written bots and AI agents

    AI-written code can loop or swap buy and sell. An AI agent can be talked into a bad order. Limits kept outside the bot catch it first.

  • People building their own bots

    Write your logic once in Python or Go, then test it on past data, on paper and live, the same way each time.

One package, four parts

Use one part or all four

The Order Guard works in front of any bot you already have. The other three parts help with the broker's new rules, with building a bot, and with keeping proof.

  • Order Guard

    Every order is checked against your limits before it reaches your broker.

    Too many orders, too big, a wrong price or a bad day: refused. A stop switch that only you can switch back on.

    Order Guard, in full
  • Static IPv6 Address

    Meet your broker's static IP rule with one fixed address that stays yours.

    Sets up a small server in Mumbai on your own cloud account and sends your broker traffic only from that address.

    Static IPv6 Address, in full
  • Framework

    Build your own bot once, then test it, practise on paper and run it live the same way.

    Live runs always go through the guard. Comes with exchange calendars, holidays and charges for your market.

    Framework, in full
  • Signed Record & Daily Report

    A record of every order, charge and refusal, plus a plain report after the close.

    The record is signed, so anyone can check offline that nothing was changed afterwards.

    Signed Record & Daily Report, in full

Tools only

What Geometer Markets does not do

We build tools you run yourself, not investment products. The limits are stated plainly.

  • No strategies for sale, no stock picks, no trade ideas. Geometer Markets runs only your own logic. Bundled examples are full open source code on index instruments, for learning how it works.

  • Never holds your broker login or money. Your broker session stays encrypted on your own machine or cloud server. Geometer never sits inside your order path.

  • Cannot block outside orders. Orders sent from your broker's app or another API key are spotted, flagged in your report and counted against your limits, but cannot be blocked.

  • No performance claims or market-data feeds. Tests use your broker's historical data or files you bring. Your daily report goes only to you.

Read the full list of limits

Try it with pretend orders first

Install it, answer four questions, and test your limits with pretend orders before you go near a live broker.

For your technical team

The detail, for the people who will run it

Install and first run

Install via pip install geometer-markets (wheels bundle the Go binary) or grab the standalone geometer-markets Go binary for macOS, Linux or Windows.

Run geometer-markets init to answer four questions (broker, limits, where it runs, Python or Go) and start with a working paper setup on your own machine.

Read the install guide
Install and start the guard on paper
# Python package (includes the geometer-markets Go binary)
pip install geometer-markets

# Four-question setup: creates limits.json and a paper bot
geometer-markets init

# Start the local Order Guard on paper
geometer-markets guard --paper

Signed record and daily report

Every approved order, refusal, broker reply, fill with dated charges and stop-switch change goes into an Ed25519-signed hash chain on your machine, with optional OpenTimestamps anchoring.

Check any day's record offline with geometer-markets verify or the open Apache-2.0 checker in geometer-verify, and read a plain summary after the close.

How the signed record and daily report work
Verify a record offline or stop everything immediately
# Check signatures, hash links and timestamps offline
geometer-markets verify ./records/2026-12-05
# exit 0  verified

# Stop all new risk and cancel open orders from your terminal
geometer-markets kill --mode cancel-all

Engine and address

One Go engine runs backtest, paper and live over a versioned local stdio JSON protocol (gm-strategy/1), and live mode always routes through the guard.

The address setup creates a dual-stack subnet, a reserved static IPv6 address and a small Mumbai VM on your own Google Cloud account, and binds outgoing broker sockets to it.

The Framework, in full
The commands for each part
geometer-markets guard
geometer-markets address create --gcp --project my-trading-box
geometer-markets backtest | paper | run
geometer-markets report | verify | kill