> For the complete documentation index, see [llms.txt](https://docs.openalgo.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openalgo.in/analytics-and-options-tools.md).

# Analytics and Options Tools

OpenAlgo ships **20 analytics surfaces** under `/tools`, covering the options desk, portfolio analysis and backtesting. They run inside your own installation using broker data or stored Historify history, depending on the tool. Market-data access still depends on your broker and its entitlements.

<figure><img src="https://17901342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBwEhITzgv0O0fEGIIRN%2Fuploads%2Fgit-blob-f95c4aaa01baa33441126585e1f3fd182b160588%2Fopenalgo-ui-tools-hub.png?alt=media" alt="Tools page grid of options and analytics tools"><figcaption></figcaption></figure>

These are interactive UI tools rather than API endpoints. Several are backed by the [Options API](https://docs.openalgo.in/api-documentation/v1/data-api/option-chain.md), and some have dedicated analysis APIs. A screen does not imply a matching public API for every control.

***

## Options Desk

| Tool              | Path           | What it shows                                                       |
| ----------------- | -------------- | ------------------------------------------------------------------- |
| **Option Chain**  | `/optionchain` | Real-time chain with live Greeks, OI data and quick order placement |
| **Option Greeks** | `/ivchart`     | Historical IV, Delta, Theta, Vega and Gamma charts for ATM options  |
| **Max Pain**      | `/maxpain`     | Max pain strike with the pain distribution across strikes           |
| **IV Smile**      | `/ivsmile`     | Call and put IV curves, ATM IV and skew analysis                    |
| **Vol Surface**   | `/volsurface`  | 3D implied volatility surface across strikes and expiries           |

<figure><img src="https://17901342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBwEhITzgv0O0fEGIIRN%2Fuploads%2Fgit-blob-337d1fd30433ce61c152ca191615aac70bfa13dd%2Fopenalgo-ui-vol-surface.png?alt=media" alt="3D implied volatility surface for NIFTY"><figcaption></figcaption></figure>

## Open Interest

| Tool               | Path             | What it shows                                                                                           |
| ------------------ | ---------------- | ------------------------------------------------------------------------------------------------------- |
| **OI Tracker**     | `/oitracker`     | CE and PE OI bars, PCR overlay and the ATM strike marker                                                |
| **OI Range**       | `/oirange`       | OI by strike over a custom range, with ATM-relative selectors and optional one-minute auto-refresh      |
| **OI Profile**     | `/oiprofile`     | Futures candlesticks with an OI butterfly and daily OI change across strikes                            |
| **GEX Dashboard**  | `/gex`           | Gamma exposure with OI walls, net GEX per strike and the top gamma strikes                              |
| **Strike Profile** | `/strikeprofile` | GEX and DEX by strike and expiry, with per-expiry peaks, gamma flip and call/put walls                  |
| **Gamma Density**  | `/gammadensity`  | Gamma times OI density and convexity zones, intraday and to-expiry, with ATM IV and expected-move bands |

<figure><img src="https://17901342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBwEhITzgv0O0fEGIIRN%2Fuploads%2Fgit-blob-54bf91cfb14296250365427c283a7a2ca05c924a%2Fopenalgo-ui-gex.png?alt=media" alt="GEX dashboard with OI walls and net GEX charts"><figcaption></figcaption></figure>

## Straddles and Spreads

| Tool               | Path           | What it shows                                                                                         |
| ------------------ | -------------- | ----------------------------------------------------------------------------------------------------- |
| **Straddle Chart** | `/straddle`    | Dynamic ATM straddle with rolling strike, spot and synthetic futures overlay                          |
| **Straddle PnL**   | `/straddlepnl` | Simulated intraday ATM straddle P\&L with automated adjustments and a trade log                       |
| **Arbitrage**      | `/arbitrage`   | Real-time futures calendar-spread scanner across NFO and MCX, ranked by executable bid and ask spread |

<figure><img src="https://17901342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBwEhITzgv0O0fEGIIRN%2Fuploads%2Fgit-blob-33eb70d741d6a3cfeb92b4636b2af12066dd1bb5%2Fopenalgo-ui-straddle.png?alt=media" alt="ATM straddle chart for NIFTY"><figcaption></figcaption></figure>

## Strategy Building

| Tool                   | Path                         | What it shows                                                                       |
| ---------------------- | ---------------------------- | ----------------------------------------------------------------------------------- |
| **Strategy Builder**   | `/strategybuilder`           | Multi-leg option strategies with live Greeks, payoff diagram and what-if simulators |
| **Strategy Portfolio** | `/strategybuilder/portfolio` | Saved strategies across MyTrades and Simulation watchlists                          |

## Portfolio and Backtesting

| Tool                     | Path                    | What it shows                                                                                                                            |
| ------------------------ | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **Portfolio Backtester** | `/portfolio-backtester` | Weighted portfolio against an index with real delivery costs, rebalancing rules, crisis periods and a full tearsheet                     |
| **SIP Backtester**       | `/sip-backtester`       | What a monthly, weekly or quarterly SIP would have returned: XIRR, rupee-cost averaging, start-date sensitivity and a lumpsum comparison |
| **Sector Rotation**      | `/sector-rotation`      | Daily or weekly relative rotation map of sectors, stocks and indices against a benchmark, with trails and unavailable-series reporting   |
| **Portfolio Analyzer**   | `/portfolio-analyzer`   | Grades the holdings you actually own: concentration, co-movement, drawdown resilience and behaviour in past crises                       |

<figure><img src="https://17901342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBwEhITzgv0O0fEGIIRN%2Fuploads%2Fgit-blob-d78ab45b7b5d353c30b37503a66a4545d50dc446%2Fopenalgo-ui-portfolio-backtester-results.png?alt=media" alt="Portfolio backtest report overview"><figcaption></figcaption></figure>

***

## What These Tools Need

**A connected broker for live data.** The options tools read the live option chain, so they need a broker session with market-data entitlement for the relevant exchange. A plugin that does not cover NFO or MCX cannot feed the tools that depend on it. See [Brokers](https://docs.openalgo.in/connect-brokers/brokers.md) for per-plugin exchange coverage.

**Local history, for historical analysis.** The portfolio and SIP backtesters read stored data by default rather than calling the broker on every run. Download the range you need with [Historify](https://docs.openalgo.in/new-features/historify.md) first. Portfolio, SIP and sector-rotation requests can also use broker history; local history runs still require a valid OpenAlgo API key, while broker history additionally requires a broker login.

**Nothing else.** There is no external data vendor, no subscription and no account beyond your own broker.

***

## Automating What You See

Several tools have a REST equivalent, so a strategy can consume the same numbers the screen shows:

| Tool                              | API                                                                                                                                                                                         |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Option Chain                      | [Option Chain](https://docs.openalgo.in/api-documentation/v1/data-api/option-chain.md)                                                                                                      |
| Option Greeks                     | [OptionGreeks](https://docs.openalgo.in/api-documentation/v1/data-api/optiongreeks.md) and [MultiOptionGreeks](https://docs.openalgo.in/api-documentation/v1/data-api/multioptiongreeks.md) |
| Straddle and synthetic futures    | [SyntheticFuture](https://docs.openalgo.in/api-documentation/v1/data-api/syntheticfuture.md)                                                                                                |
| Portfolio Backtester and Analyzer | [Portfolio API](https://docs.openalgo.in/api-documentation/v1/portfolio.md)                                                                                                                 |
| Sector Rotation                   | [Sector Rotation API](https://docs.openalgo.in/api-documentation/v1/sectorrotation.md)                                                                                                      |
| SIP Backtester                    | [SIP Backtest](https://docs.openalgo.in/api-documentation/v1/utilities-api/sip-backtest.md)                                                                                                 |

The Greeks endpoints are rate limited separately and more tightly than general data endpoints. See [Rate Limiting](https://docs.openalgo.in/api-documentation/v1/rate-limiting.md) before polling them in a loop.

***

## Related

* [Why to Build with OpenAlgo?](https://docs.openalgo.in/why-to-build-with-openalgo.md)
* [Chart Trading Terminal](https://docs.openalgo.in/new-features/trading-terminal.md) for trading from the chart itself
* [Scalping Terminal](https://docs.openalgo.in/new-features/fast-scalper.md) for keyboard-driven execution
