Orders & Super Orders
Regular, cover and bracket-style super orders, GTT forever orders, price triggers and large-order slicing.
- POST /v1/orders
- POST /v1/orders/slice
- POST /v1/super/orders
- POST /v1/forever/orders
Trading APIs · Developer preview
Orders, live market data, portfolio and risk — the full SMIFS trading stack behind clean REST and websocket endpoints. Start in the paper sandbox today; exchange connectivity follows the same contract.
No sign-up for sandbox · familiar broker-API request shapes · v1
| Instrument | LTP | Δ session |
|---|
The surface
Every endpoint works identically against the paper venue and, as connectivity ships, the live exchange lines.
Regular, cover and bracket-style super orders, GTT forever orders, price triggers and large-order slicing.
Snapshot quotes over REST and a binary websocket that streams ticks, quotes and market depth.
Positions with live mark-to-market, holdings, and position conversion between products.
Fund limits, per-order margin requirements and multi-leg margin with spread benefit.
Intraday and daily candles, option chains with greeks, expiry lists and the instrument master.
A risk layer above the OMS: kill switch, daily loss limits and order-modification caps — enforced server-side.
Integration
# 1 · get a sandbox token
curl -X POST https://smifsgq.smifs.com/v1/auth/token/issue \
-H 'Content-Type: application/json' \
-d '{"clientId":"you"}'
# 2 · place a paper order
curl -X POST https://smifsgq.smifs.com/v1/orders \
-H "access-token: $TOKEN" -H 'Content-Type: application/json' \
-d '{"transactionType":"BUY","exchangeSegment":"NSE_EQ",
"productType":"INTRADAY","orderType":"MARKET",
"validity":"DAY","securityId":"11536","quantity":1}'
from smifsgq import GodQuant
gq = GodQuant.sandbox(client_id="you") # issues a token
order = gq.place_order(security_id="11536", # TCS
exchange_segment="NSE_EQ",
transaction_type="BUY",
quantity=1, order_type="MARKET",
product_type="INTRADAY")
print(order["orderId"], gq.funds()["availableBalance"])
// .mcp.json — give Claude a trading desk
{
"mcpServers": {
"smifsgq": {
"command": "python",
"args": ["-m", "smifsgq_mcp"],
"env": { "SMIFSGQ_BASE_URL": "https://smifsgq.smifs.com",
"SMIFSGQ_CLIENT_ID": "you" }
}
}
}
// then, in Claude:
// "Buy 1 TCS at market and show my positions."
Model Context Protocol
God Quant ships an MCP server that exposes the whole API — orders, quotes, portfolio, risk controls — as typed tools any MCP client can call: Claude, Claude Code, or your own agent stack.
Why God Quant
Every account starts on the paper venue with ₹10,00,000 of practice capital and a synthetic NSE/MCX universe ticking every 500 ms. Same endpoints, same error codes, zero risk.
Kill switch, daily-loss exits and modification caps run on the venue — not in your client code.
Request and response shapes follow the conventions Indian algo developers already know, so existing bots port in minutes.
Python SDK and MCP server maintained in the same repo as the API — versioned together.
10 orders/sec, 7,000/day, 5 data calls/sec per client — enforced and documented. When we raise them, the changelog says so.
Questions
Not yet. The developer preview runs entirely on a paper venue with synthetic market data. Live NSE/BSE/MCX connectivity through the SMIFS OMS ships next, behind the same API contract — code written against the sandbox carries over unchanged.
POST your client id to /v1/auth/token/issue and pass the returned JWT in the access-token header on every call. Tokens live 24 hours. The production portal will replace open issuance with login-based consent.
Everything the REST API can: place and manage orders, read quotes and option chains, inspect positions, funds and margins, and arm the kill switch. Each capability is a typed MCP tool, and the bundled SKILL.md teaches agents the venue's rules before they trade.
Largely yes. Endpoint paths, order payloads and error envelopes follow conventions common to mainstream Indian broker APIs, so most bots need only host, auth and small field changes — all listed in the API reference.
API access is free in the developer preview. Live trading, when it arrives, is charged as standard SMIFS brokerage — the API itself stays ₹0.