Zerodha Pi (legacy desktop trading terminal)

From WebNotes, a public knowledge base. Last updated . Reading time ~7 min.

Zerodha Pi (often written as Pi) was a proprietary Windows desktop trading terminal developed and operated by Zerodha from approximately 2014. Pi was designed as an advanced trading platform for active traders who required sophisticated charting, strategy scripting, and back-testing capabilities not available in the NEST-based Zerodha Trader terminal that preceded it. Pi was retired and replaced by the browser-based Kite platform after Kite became feature-mature between 2016 and 2018.

Pi was notable in the Indian discount brokerage market as an attempt to offer features comparable to full-service broker desktop terminals (which licensed platforms such as ODIN from Financial Technologies India or advanced charting add-ons) to discount brokerage clients without additional charge.

History and background

Zerodha launched Pi in 2014 as its second-generation trading terminal, following the initial Zerodha Trader (NEST-based) platform. The motivation, as described in Zerodha’s Z-Connect blog posts of that period, was to provide retail traders with advanced tools that had previously been available only through expensive proprietary desktop terminals used by institutional desks and full-service broker branches.

Pi was developed on Microsoft’s .NET framework and required installation on a Windows PC. It connected to Zerodha’s OMS (order management system) via an internal API. Pi was offered free of charge to Zerodha clients; no separate software license fee was charged.

The development and maintenance of Pi became increasingly difficult as Zerodha’s engineering resources shifted toward Kite, the browser-first platform that could reach a much larger user base without the Windows installation requirement. Zerodha announced the phased retirement of Pi through Z-Connect blog posts, with support for Pi discontinued after Kite 3 reached feature parity in 2018-2019.

Features

Charting

Pi’s charting module was powered by the ChartIQ library (a professional-grade HTML5-based charting engine used by institutional platforms), providing a wide range of chart types and technical indicators. The charting module was considered superior to most other broker terminals available in India at the time of Pi’s peak usage (2014-2018).

Chart types included candlestick, bar, Heikin-Ashi, line, and area. Indicators included moving averages (SMA, EMA, WMA), Bollinger Bands, MACD, RSI, Stochastic, ATR, Supertrend, Parabolic SAR, and many others. Drawing tools included trend lines, channels, Fibonacci retracements, pitchforks, and annotations. Intraday charts were available at one-minute, three-minute, five-minute, ten-minute, fifteen-minute, thirty-minute, and sixty-minute intervals.

AFL scripting (Expert Advisor)

Pi’s Expert Advisor feature allowed traders to write strategy scripts in AFL (AmiBroker Formula Language) syntax. AFL is a programming language originally developed for the Amibroker desktop charting and back-testing software, widely known in the Indian retail trading community. Pi’s AFL implementation was not fully identical to Amibroker’s AFL; Pi supported a subset of AFL functions relevant to indicator calculation and strategy back-testing.

Through AFL scripting, traders could:

  • Define custom indicators and overlay them on Pi’s charts.
  • Define buy and sell conditions based on indicator values.
  • Run back-tests of the strategy against historical intraday or daily candle data.
  • Set alerts triggered when AFL conditions were met on live data.

AFL scripting was the primary feature differentiating Pi from NEST-based terminals and from the original Kite, which initially did not support scripted strategies or back-testing.

Order management

Pi supported the standard NSE and BSE order types available at the time: limit, market, stop-loss limit, stop-loss market, AMO (after-market order), cover order, and bracket order. The order book and trade book were displayed within Pi’s own interface, distinct from the web-based back-office.

Spread orders and basket orders

Pi included a spread order feature for entering two-legged derivative trades (e.g., a calendar spread or a bull call spread) as a single basket submission. This simplified multi-leg option strategy entry compared to submitting each leg individually.

Technical architecture

Pi was built on the .NET Framework (targeting Windows Vista/7/8/10). It communicated with Zerodha’s OMS via a proprietary TCP-based protocol. Market data was streamed from a Zerodha data server using the same market data infrastructure that fed the NEST terminal, adapted for Pi’s internal data model.

Pi’s installation package bundled the ChartIQ charting library (running within a .NET WebBrowser control or a Chromium Embedded Framework shell) and the AFL scripting engine. Historical intraday data for back-testing was stored locally after download from Zerodha’s servers.

Comparison with competitor desktop terminals

Pi competed in the market with several other advanced desktop trading terminals used by Indian retail brokers in the 2014-2018 period. The principal alternatives were:

NEST (by OMNESYS/NSE IT): The dominant retail and discount broker terminal in India during this period. NEST provided the standard order entry and market watch functions that all NSE/BSE-registered brokers needed. Pi’s differentiation was its advanced charting (ChartIQ vs NEST’s more basic charting) and AFL scripting (not present in NEST).

ODIN (by Financial Technologies India / 63 moons): Used by full-service brokers, ODIN provided advanced charting, risk management tools, and market maker functionality. ODIN was typically available only to high-value clients of full-service brokers. Pi democratised access to comparable charting quality for Zerodha’s discount brokerage clients.

Metastock and AmiBroker with broker plugins: Some active traders used standalone charting and back-testing software (Metastock, AmiBroker) alongside a separate order entry terminal, connecting via end-of-day data feeds. Pi attempted to combine both functions in a single application, though its AFL implementation was a subset of AmiBroker’s full AFL.

Pi’s integrated approach (charting, scripting, and order entry in a single application) was valued by traders who wanted a unified workflow without switching between a charting application and a separate trading terminal.

Limitations and criticisms

Pi was not without limitations acknowledged by Zerodha and its users:

Windows-only: Pi’s .NET framework base restricted it to Windows PCs. macOS and Linux users had no native Pi equivalent, and mobile users were entirely excluded.

Incomplete AFL compatibility: Pi’s AFL implementation was a subset of AmiBroker’s AFL. Traders who attempted to migrate AmiBroker strategies to Pi often found that specific functions or syntax variants were unsupported, requiring rewriting.

Installation and update overhead: As a desktop application, Pi required manual download and installation of updates. Some users reported compatibility issues with specific Windows versions or hardware configurations.

Market data dependency: Pi’s market data feed was dependent on Zerodha’s server infrastructure. During periods of high market volatility or connectivity issues at Zerodha’s data infrastructure, Pi’s market data could lag or disconnect.

Browser-based alternative: As Kite Web matured, the browser-first approach proved more resilient to OS-specific issues and required no installation, addressing Pi’s principal operational disadvantages.

Retirement

Pi’s retirement was gradual. Zerodha announced in Z-Connect blog posts that Pi would not receive new feature development once Kite 3 launched in 2018. Support tickets for Pi bugs were gradually deprioritised. The Pi download links were eventually removed from Zerodha’s website, and the platform’s server-side infrastructure was decommissioned. Clients who wished to continue using AFL-based strategy automation were directed to third-party platforms integrating with Kite Connect or to Streak’s no-code strategy builder.

The loss of AFL scripting was cited by some users as a gap in Kite 3 relative to Pi. Kite 3 addressed the back-testing need partially through its TradingView integration (Pine Script for charting indicators) and the ecosystem of algorithmic trading platforms built on Kite Connect. For most retail traders, the no-code strategy builder provided by Streak was a more accessible replacement for Pi’s AFL scripting than writing Pine Script code, which has its own learning curve.

Pi’s legacy in the Indian retail brokerage market is as a transitional platform that demonstrated the viability of an advanced trading terminal offered free of charge to discount brokerage clients, breaking the assumption that professional-grade charting tools required either a full-service brokerage relationship or a separate software subscription.

Pi in the history of Indian retail algorithmic trading

Pi’s Expert Advisor and AFL scripting capability represented one of the first accessible entry points for Indian retail traders into systematic or rules-based trading using a broker-provided platform. Before Pi, retail traders who wanted to automate strategy testing or create custom indicators either used standalone charting software (AmiBroker, MetaTrader, Metastock) with data feeds disconnected from their broker’s order entry system, or wrote scripts for NEST’s limited scripting interface. Pi’s integration of AFL-style scripting within a platform connected to Zerodha’s live order feed was a meaningful step toward making algorithmic strategy testing accessible to non-institutional traders.

The limitation that Pi’s scripting generated back-test results but required manual order placement (Pi did not provide automated order submission from AFL scripts into the live exchange without additional configuration) meant that Pi was more a research and strategy development tool than a true automated trading system. Fully automated execution required Kite Connect, which launched in 2016 and ultimately provided the programmatic order placement capability that Pi’s scripting had previewed conceptually.

Pi’s user community, particularly the subset who used AFL scripting, formed a cohort that transitioned to Kite Connect and pykiteconnect for algorithmic execution and to Streak for no-code strategy deployment, providing the initial audience for both of these successor platforms.

See also

References

  1. Zerodha Z-Connect Blog. “Introducing Pi, Zerodha’s trading platform”. z-connect.zerodha.com. 2014.
  2. Zerodha Z-Connect Blog. “Pi, advanced features update”. z-connect.zerodha.com. Accessed May 2026.
  3. Zerodha Z-Connect Blog. “Kite 3.0, the new Kite”. z-connect.zerodha.com. 2018.
  4. Zerodha Support. “Pi, FAQs (archived)”. support.zerodha.com. Accessed May 2026.

Reviewed and published by

The WebNotes Editorial Team covers Indian capital markets, payments infrastructure and retail investor procedures. Every article is fact-checked against primary sources, principally SEBI circulars and master directions, NPCI specifications and the official support documentation published by the intermediary in question. Drafts go through a second-pair-of-eyes review and a separate compliance read before publication, and revisions are tracked against the SEBI and NPCI rule changes referenced in the methodology section.

Last reviewed
Conflicts of interest
WebNotes is independent. No relationship with any broker, registrar or bank named in this article.