Skip to content
Parth Parekh

QUANTITATIVE DEVELOPER · MUMBAI, INDIA

Parth
Parekh

Quant developer — market-data infrastructure, research and backtesting, and live multi-broker execution.

Tick to fill on an Indian derivatives desk: the feed, the warehouse, the research clock, the risk gate, and the door five brokers share.

Drawn by
Parth Parekh
Discipline
Trading systems, end to end
Location
Mumbai, India
Employer
Endovia Wealth · Jul 2024–
Prior
Anived Portfolio Mgrs · 2023
School
DJSCE · B.Tech CE · 9.58
Experience
2+ years
Status
Open to new roles
09:15 OPEN15:30 CLOSE
SHT 01THE WORKDATA · RESEARCH · EXECUTION

Two planes.
Data in,
orders out.

I build and run what a trading desk is made of: market data coming in, research in the middle, orders going out. On the data side that is the exchange feed, tick distribution across equities, derivatives and commodities, a serving API, and a platform whose pipelines and quality gates research replays. In the middle it is the simulation engine an idea has to clear — next-bar fills, real Indian costs, walk-forward — and the paper stage that uses the live order path. On the execution side it is a control layer turning one master trade into orders for twenty to thirty client accounts, and an OMS layer where each instance holds every client on its broker. Python across the desk, C++ where the packet path is hot, two-plus years of it in production in Mumbai.

Everything below is drawn, because the useful question about a trading system is never the feature list — it is what the shape is, what is allowed to block an order, and what happens at 09:16 when a broker stops answering. Every stage on the drawing opens into what I actually built there.

SHT 02GENERAL ARRANGEMENT — THE DESKSCALE 1 : DESK

Eight stages, end to end.

Four stages carry market data in — feed, distribution, serving, warehouse. Four carry orders out — research, risk, control, OMS. The figures hang off the drawing as dimensions, the way a measurement belongs on a plate.

01FEEDgap · dup · reorder15–20Kticks / sec02DISTRIBUTIONevery segment, one tape4segments served03SERVINGclosed candles are frozen04PLATFORMstaged, validated, promoted300–600Mticks / day stored05RESEARCHnext-bar fill · India costs8strategies to live06RISKbasket, not the sum07CONTROLone master, many books20–30client accounts08OMSmany clients, one broker10–20ms colo order pathOVERALL — ONE SESSION09:15 → 15:30 · TICK TO FILL
SHT 03EXECUTION — MASTER, CONTROL, OMS, VENUEFOUR TIERS

One master trade.
Thirty client books.

This is the shape these roles are hiring for. A strategy publishes a single master trade at unit size and never names a broker. The control layer sizes it against each client’s own capital and resolves which order-management system it has to leave through. Each OMS instance owns one broker’s API and holds every client account that trades on it, each in its own lane.

FIG. H · MASTER TO VENUETIER 1MASTER TRADEpublished once, at unit sizeTIER 2CONTROL LAYERsize · route · risk gate · write-ahead20–30 accountsTIER 3OMS ×5each holds every client on its broker5 brokersTIER 4VENUENSE · BSE · NFO · BFO · MCXDESK CONTROLSpause · freeze · square-offTHE STRATEGY NEVER NAMES A BROKER.The control layer resolves the account, the size andthe door.Desk controls sit beside the path, never on it.

← DRAG TO READ THE FULL DRAWING

MASTER

Published once

The strategy writes one tradesheet at unit size. It knows nothing about clients, capital or brokers, which is why adding either is not a strategy change.

CONTROL

Sizes and routes

Per client: how large, which broker, which OMS. Routing keeps working from same-day cached state when the client directory is unreachable, and marks the orders that did.

OMS

Holds the clients

One instance per broker, every account on that broker inside it — own connection, own cache, own rate limit, own lane. Dealer and retail accounts route differently.

SHT 04SECTION A–A — TICK TO SIGNAL TO ORDER TO RISKWHAT BLOCKS, WHAT OBSERVES

What is on the path,
and what is beside it.

A tick becomes a feature, a feature becomes a signal, a signal meets the risk gate, and only then is there an order. Pre-trade risk blocks: no answer, no order. Post-trade risk observes: position, charges and P&L are allowed to be a moment behind, and never hold a trade. Keeping those two apart is most of what makes a desk fast and safe at once.

SECTION A–A · TICK TO FILL1 · MARKET DATATICKsequenced2 · MARKET DATABOOK · CHAINIV, then Greeks3 · RESEARCHFEATUREpoint-in-time4 · RESEARCHSIGNALlegs, not prices5 · RISK — PRE-TRADEPRE-TRADE GATEmargin · limits · killblocks6 · EXECUTIONSIZE · ROUTEper account7 · EXECUTIONSENDnever storage-gated8 · VENUEFILLbroker book is truthPOSITION · P&Lobserves, never gatesPRE-TRADE RISK BLOCKS. POST-TRADE RISK OBSERVES.10–20 ms colo · 80–500 ms internet, end to end.A timeout returns to a recheck, not to done.

← DRAG TO READ THE FULL SECTION

SHT 05RESEARCH — IDEATION TO LIVE CAPITALA LOOP WITH GATES

How an idea
becomes a position.

I have taken strategies the whole way — from an observation about how a market behaves, through specification and backtesting, around the iteration loop more times than anyone enjoys, out to paper on the live order path, and into client capital. The gates are the product. An engine that never kills an idea is not measuring anything.

FIG. J · STRATEGY LIFECYCLEITERATE1IDEATIONmicrostructure, desk, data2HYPOTHESISa reason to be paid3SPECIFYlegs, entries, exits4BACKTESTnext-bar fill, real costsshelved5WALK-FORWARDtrain frozen, OOS scoredshelved6PAPERthe live OMS doorshelved7LIVEclient capitalTHE GATES ARE THE PRODUCT.Most ideas leave through the side, not the end.Eight cleared every gate into live capital.

← DRAG TO READ THE FULL LOOP

THE ENGINE

A strategy is a spec

Instruments, entries, legs, exits and lifecycle rules are declared rather than coded, so iterating on an idea does not mean maintaining another fork. Multi-leg structures, Greeks and strike selection come with it.

THE GATES

Costs and causality

Fills land on the next bar after the broker clock. Indian charges are applied by product class. Walk-forward freezes the training window before out-of-sample is scored. Most ideas end here, and that is the point.

THE HANDOFF

Paper is not a rehearsal

Paper trading leaves through the same OMS door as live, with the same timeouts and the same fan-out. What clears it is the same program that runs on capital, not a lookalike.

SHT 06CAPABILITIESMARKET DATA · RESEARCH · RISK · EXECUTION

Named in your vocabulary.

I have built across all four of these, so I am not scoping myself to one of them. Grouped the way these briefs are usually written, so nobody has to translate.

Trading infrastructure

  • Production OMS and EMS: one interface over five broker APIs, each instance holding every client account on its broker.
  • Order routing and execution frameworks — a master trade sized per client and routed to the right door.
  • Exchange connectivity in C++ on the binary feed path; broker connectivity over REST and WebSocket.
  • Recovery built in: silence failover, venue recheck on timeout, per-host circuit breaking, last-known-good routing.

Market-data systems

  • Real-time pipelines from exchange transport and broker sockets through sequencing, normalization and distribution.
  • Cash equities, index and stock derivatives, futures and commodities — the whole board, not one segment.
  • A serving API with tiered reads and immutable closed candles, so two consumers never disagree.
  • Historical tick and bar storage in ClickHouse, with reference data versioned on its own clock for replay.

Execution analytics

  • Post-trade forensics over level-2 top-of-book snapshots: liquidity state at the moment of the order, execution quality, and order-book replay.
  • Replay and live share one pipeline, so an incident can be re-run against exactly what the desk saw rather than an approximation of it.
  • Slippage and transaction costs modelled in research and measured again after the fact, across equities and derivatives.
  • Per-minute margin and P&L snapshots per strategy and client through the session.

Data platform and operations

  • Around nineteen orchestrated pipelines behind a single control centre that is the only thing allowed to trigger a run — no second scheduler, no concurrent duplicate loads.
  • Staging, validation and promotion into the system of record, so nothing reaches the tables strategies read without passing a gate.
  • Freshness reporting and a gap detector that diffs stored data against the exchange trading calendar and says which missing days are still fillable.
  • Broker and exchange report ingestion across brokers into one shape — trade and settlement reports, corporate-action factors, charge reconciliation for client statements.
  • Container healthchecks, restart policies, drain-on-shutdown, backup replication for both stores, a written disaster-recovery path and alerting into the desk's own channel.

Risk and controls

  • Pre-trade margin from exchange SPAN files, with proper basket netting across legs and expiries.
  • A what-if workbench that prices a proposed book — margin and charges — before anyone sizes it.
  • Kill switch, freeze and square-off as desk operations, with a second factor on the destructive ones.
  • Reconciliation against the broker book, plus per-minute margin and P&L snapshots for intraday forensics.

Research and backtesting

  • A configuration-driven simulation engine where a strategy is a declarative spec — instruments, entries, legs, exits, lifecycle rules — so an idea is a config to iterate on, not a fork to maintain.
  • Multi-leg option structures: spreads, straddles, butterflies, with strike selection, Greeks, linked exits, hedge injection, re-entry guards and end-of-day flatten.
  • Fills on the next bar after the broker-acknowledgement clock, transaction costs by product class, and slippage — the three things that kill most backtests, applied by default.
  • Walk-forward evaluation that freezes training-window decisions before test sessions are scored, plus a scanner for running a hypothesis across a universe.
  • A trader-facing strategy builder over the same engine, so a researcher without the codebase open can still specify and run one.
  • Ideation through iteration, paper on the live order path, and live — I have taken strategies the whole way, and eight cleared every gate into capital.

Backend and services

  • FastAPI services with REST and WebSocket surfaces, asynchronous throughout — the order path, the data API and the risk service are separate services with separate failure domains, not one process wearing three hats.
  • Separation of concerns as the operating principle: ingestion, computation and delivery are independent, so a slow consumer cannot back-pressure ingest and a dashboard cannot gate a trade.
  • Message transport chosen per job — Redis streams for tick fan-out, pub/sub for control, and a durable queue where an order record must survive the process that wrote it.
  • Python across the desk with asynchronous I/O and per-client concurrency lanes; C++ where the packet path is hot.
  • Docker, Linux, pipeline builds, health endpoints, structured logging and alerting into the desk's own channel — the system reports its own problems before a trader notices.
SHT 07PARTS LISTTOOLS BY THE JOB THEY DO

The stack.

Grouped by the job each tool does rather than listed as a cloud, because the useful question is never how many I can name — it is which one I reach for and why.

01

Languages

  • Python
  • SQL
  • C++

Python across the desk and the services. C++ on the exchange feed path, where the packet loop is hot.

02

Storage and caching

  • ClickHouse
  • Redis
  • Redis Streams
  • MongoDB

Column store for ticks and bars, cache for what has to be instant, streams for fan-out, document store for order and desk state.

03

Services and interfaces

  • FastAPI
  • REST
  • WebSockets
  • ZeroMQ pub/sub
  • Django
  • Binary exchange protocols
  • Broker APIs

Asynchronous services with REST and socket surfaces, plus the binary and broker interfaces underneath them.

04

Runtime and operations

  • Linux
  • Docker
  • Git
  • Dagster
  • Pipeline builds
  • Structured logging
  • Health checks and alerting

Containerised services on Linux hosts, orchestrated pipelines, and systems that report their own problems.

05

Quantitative

  • NumPy
  • pandas
  • Options pricing and Greeks
  • Walk-forward
  • Market microstructure
  • scikit-learn

Vectorised computation over market data, derivatives pricing, and evaluation that holds up out of sample.

06

Brokers and venues

  • Zerodha Kite
  • Motilal XTS
  • IBKR
  • Nuvama
  • JLite
  • NSE
  • BSE
  • NFO
  • BFO
  • MCX

Five broker APIs behind one interface, across cash, index and stock derivatives, and commodities.

SHT 08RUNNING IT LIVE09:15 → 15:30

Someone has to
hold the desk.

Building it is half the role. The other half is being on the end of it at 09:16 when something breaks in front of live client capital.

Front-line during market hours

I am the person the desk calls when something is wrong while the market is open — abnormal prints, a margin call, a position breach, a broker-side failure. The goal is not heroics, it is no disruption to live trading across every client account.

Diagnose while it is still moving

Structured logs, health endpoints and alerts on stuck state mean the system reports its own problems. Most incidents are identified from the service before a trader notices, which is the only version of this that scales.

Recover, then explain

Failover, circuit reset, reconciliation against the broker book, then a written account of what happened. Order-book replay makes the post-mortem an examination of the actual session rather than a reconstruction from memory.

SHT 09SCHEDULE OF QUANTITIESWHAT IT RUNS AT

The figures.

What the desk moves in a session, and what the order path costs in time. Each one is measured where the drawing says it is measured.

REFQUANTITYWHERE IT IS MEASURED
A115–20Kticks / secfeed → sequenced book
A2~40Kinstrumentssubscribed universe
A3300–600Mticks / daystored in the warehouse
B15broker APIsbehind one OMS interface
B220–30client accountsone signal, fanned out
B310–20msorder path, colocated
B480–500msorder path, over internet
C18strategiescleared paper → live
C22+yearson a production desk
C39.58CGPAB.Tech CE, DJSCE
SHT 10PUBLIC WORKOPEN SOURCE
SHT 11NOTESSYSTEMS ESSAYS
SHT 12EXPERIENCEMUMBAI

Where this was built.

Quantitative Developer — Endovia Wealth, Mumbai · Jul 2024 – present

Quant Developer Intern — Anived Portfolio Managers · Jun 2023 – Aug 2023. IBKR path before this desk.

B.Tech Computer Engineering — Dwarkadas Jivanlal Sanghvi College of Engineering · 2021–2024 · CGPA 9.58