Where the latency actually goes
A tick-to-order budget for a NIFTY weekly options engine on a retail broker API, and why the broker leg, not your code, sets the floor.
5 min readAn algo is a rule. A system is the feed, the book, the order path and the exits that carry that rule from tick to order in under a millisecond, and through a whole live session without dropping one. That low-latency layer is the part nobody else is selling, and it is the only part we build.
Every algo shop can show a backtest. What decides whether a system survives a live session is smaller and less glamorous, and it is what we design for first.
Socket read, book update, analytics, decision and risk gate all run in memory. Nothing on that path touches a disk, a lock or the network. The broker leg is the slow part, and the engine is built never to be the slow link behind it.
Stop, target, trail, time limit and expiry buffer evaluate in one fixed order for every open position. A strategy writes a plan and hands off. The engine sells.
The recorder keeps the raw wire bytes, not a parsed summary. A session replays with order placement off, and its decision log is hashed and diffed against the live run.
A daily loss floor, a consecutive-loss switch, a broker-reject cooldown, a stale-feed ladder, a data-feed fatal and a funds check. Each one is independent of the others, each writes its reason to the ledger, and each halts the engine before an operator has to.
Five stages, one team. Keep scrolling.
Point at any planet to see what that broker's API gives you: depth levels, order limits, brokerage and the API fee, from their own documentation.
You have the capital or the edge. The system underneath is the part we build and hand over.
Your capital, your rules, our execution core.
An order path your compliance function can read.
A method that works by hand, run without you.
Every engagement is some combination of these. Hover one.
Book decoding to submission on one hot loop.
Your rules, running unattended, the same on day forty.
Every strike on every tick, filtered to the few that matter now.
One decision, many accounts, each with its own caps.
Each venue on its own adapter, capabilities declared at boot.
A live chain with your own Greeks and OI boards.
Yesterday's wire bytes, replayed and diffed.
One gate before the OMS; floors that scale with capital.
Health lamps, the position book, the ledger, the log.
The same engine, a 24/7 session and a funding-aware cost model.
A system somebody else built, read, fixed and documented.
A tick leaves the exchange and comes back as a fill. Scroll it through. Point at the book. Send an order.
A tick leaves the matching engine.
place_order() returns an acknowledgement, sometimes. Scroll the order through.
Accepted by risk. An ID is minted before anything leaves the process.
We hear these five complaints most often about the last vendor, and each one is something we handle differently, on purpose.
A production intraday options engine on a 200-level depth feed. It streams NIFTY and BANKNIFTY weeklies, routes between strategies on a regime classifier and manages every exit through one cascade. Deterministic replay, a Postgres ledger and Prometheus metrics, so any session can be reproduced tick for tick months later.
A complete desk for one client. Engine, web control plane and eleven operator screens. He pastes his broker token, presses start, and watches the chain, the OI boards and the decision tape. Paper and live are separate rungs, and the switch between them is a deliberate act with a confirmation.
Notes from building execution systems for Indian options desks. Written for the engineer who has to run one, not for the search engine.
A tick-to-order budget for a NIFTY weekly options engine on a retail broker API, and why the broker leg, not your code, sets the floor.
5 min readRecord the wire bytes, not the parsed ticks, hash the decision log, and never grade a change on the first half of a tape.
5 min readOne exit cascade for every strategy, a fixed evaluation order, and a risk gate that sits in front of the OMS instead of inside any strategy.
5 min readThe more specific you are, the more useful the first reply. Broker, product, and what the current system does wrong beats "I want an algo".
Prop desks needing an execution or risk layer · traders with a proven manual edge to automate · fintech teams who need an order path they can trust · anyone holding an engine they cannot debug.
"Build me a strategy that makes X% a month." We build systems that execute your strategy correctly. We do not sell signals, tips or returns.