Windows desktop · Kite + Breeze + Dhan · Self-hosted

Time decays.
Discipline shouldn't.

ThetaPrime runs your options-selling strategies — strangles, straddles, diagonals — across NIFTY, BankNifty, FinNifty, and F&O stocks, on your own Windows PC, with the safety rails a manual trader always means to build and rarely finishes. Connects directly to Zerodha Kite, ICICI Breeze, and Dhan. No cloud account, no code required to build a strategy.

365-day license · one machine · runs as a Windows service, survives reboots

ThetaPrime — dashboard
BANKNIFTY 9:20 STRADDLE
Weekly · 3 lots · Kite
Token OK Auto Live
Today P&L
+₹4,260
Lots
3
Expiry
3D
Stop
−80 pts
SC Sell 52200 CELTP 186.40
SP Sell 52200 PELTP 171.85
Reconcile: clean Notional ₹38.9L · Margin ₹2.1L
The problem

Manual premium selling has a math problem you can't out-focus.

None of this is about strategy edge. It's about the small operational failures that erase it.

15:29 ISTForget to square off and the exchange doesn't grant extensions.
RE-TRIGGERA signal fires twice and you're double the size you meant to carry.
POST-CRASHYour broker and your spreadsheet disagree about what's actually open, and neither says so out loud.
HABITA strategy flips from paper to real money by muscle memory, not intent — and there's no undo on a fill.
How it works

Connect, build, go live.

01

Connect

Log in to Kite, Breeze, or Dhan the way you already do — OAuth right inside the app window, TOTP and all, no separate browser tab. ThetaPrime stores the resulting token, not your password, and a refresh each morning is one click.

02

Build

Click blocks together in the Composer — structure, strikes, exits, sizing. The spec preview validates every parameter as you go, and a payoff diagram with one-click AI review helps you sanity-check the shape before you save.

03

Go live

Every strategy starts in Paper. Switching it to Real is the only gate for live trading — one deliberate toggle, with a confirmation showing today's P&L before it takes effect. A separate Automation switch controls whether it runs on schedule at all, so pausing a strategy never means quietly forgetting its mode.

No-code strategy composer

Build a strangle by clicking, not scripting.

The Composer opens pre-seeded with a working ATM strangle. Swap the structure, tighten a strike, add a trailing stop — the live spec preview tells you the instant it's valid. Every saved strategy runs on the same engine, dashboard, and P&L reports — there's no separate code path to fall back to.

  • Build with AI — describe what you want in plain English. With an AI provider configured it's an in-app chat, each reply validated server-side against the composer's own rules before you can apply it, with one automatic retry if a reply comes back invalid. No provider configured falls back to a copy/paste prompt handoff instead.
  • Validates as you build — every parameter checked against its allowed range before you can save.
  • Payoff diagram + Ask AI — see max profit/loss, breakevens, probability of profit, net Delta/Gamma/Theta/Vega, and a P&L what-if at spot ±1/2/3%, then hand the structure to your own ChatGPT, Claude, Perplexity, or Gemini for a second opinion. No API key stored.
  • Edit in place — reopen any composed strategy pre-filled, tune it, save over it.
  • Reorder blocks — move any block up or down within its slot without rebuilding the strategy.
  • Runs on NIFTY, BankNifty, FinNifty, or any F&O stock — strike ladders and lot sizes resolve from the exchange's live instrument list, not a hardcoded table that goes stale.
  • Diagonal/Calendar legs roll independently — the short leg re-sells itself each time it closes, and the long hedge leg can roll on its own delta-drift trigger, so one side parking doesn't leave the other sitting idle.

Structures

Short strangleShort straddleLong strangleLong straddleIron condorIron butterflyDiagonalVertical spreadCalendar spreadSingle-leg

Leg selectors

OTM %ATMPremium targetDelta targetDelta OTM

Expiry

Next weeklyMonthly

Exits

Profit targetProfit target (% premium)Stop lossStop loss (% premium)Delta stopVolatility stopTrailing stopPer-leg stopPer-leg price stopTime-locked profitSoft exitCarry positionLong leg exitEOD

Adjustments

Roll a leg

Filters

Time windowVIX skipVIX floorVIX + gap skipGap skip

Sizing

Fixed lotsCapital %

Re-entry

Directional re-entry
strategy-composer — payoff preview
Max profit
₹9,600
Max loss
Undefined
POP
68%
Delta
−0.04
Theta
+1,180
Vega
−340
Option Scanner

Read the option chain's own footprints, not just the price.

Three scan modes, no strategy required: a specific underlying's full chain, a Top F&O Stocks sweep, or Flow — per-strike OI buildup and PCR, live off whichever broker you pick.

  • Flow (OI Analysis) — every strike tagged Long Buildup, Short Buildup, Short Covering, or Long Unwinding from price + OI direction combined, plus PCR (OI) for the whole chain.
  • Unusual-volume flag — a strike is flagged the instant today's volume reaches 50% of its open interest.
  • Any connected broker — Kite, Breeze, or Dhan, switchable mid-scan; instruments, spot, OI, and LTPs all come from the one you pick.
  • Ask AI — hand the scan straight to your own ChatGPT, Claude, Perplexity, Gemini, or Copilot for a second read on notable strikes. No API key stored.
  • Auto-refresh + CSV export — Flow mode can poll on an interval for a live view, or export any scan straight to CSV.
option-scanner — Flow (OI Analysis)
NIFTY 28-AUG PCR (OI) 1.18
24700 CEShort Buildupbearish
24900 PELong Buildupbullish
25000 CEShort Coveringunwind
25100 PELong Unwindingfading
Safety rails

The discipline built in, not remembered.

This is the part a solo Python script usually skips. It's the part that matters most.

Real mode

Real ≠ live by accident

Switching a strategy to Real triggers a confirmation showing today's P&L before anything takes effect — never a setting you flip without noticing. Lose that state — a restart that didn't keep it on, or a daily loss-limit trip — and the strategy stays set to Real but stops placing live orders, alerting you daily until you switch it back on by hand.

Automation

Pause without losing your mode

One switch creates or removes a strategy's scheduled entry and monitor jobs. Turning it off — or switching a Real position back to Paper — asks for confirmation first whenever it would stop exit monitoring on an open trade.

Loss limit

Daily stop, whole account

Set a hard stop in points, rupees, or both. The instant combined real-mode P&L crosses it, every Real strategy stops placing live orders and Real mode locks for the rest of the day.

Entry guard

No double entry

A strategy already holding a position can't open a second one. No accidental doubling from a re-triggered signal or a stray manual click.

Sizing

Hard lot cap

A ceiling on lot size per strategy, enforced before the order is placed. A misconfigured strategy gets silently capped, never silently oversized.

Capital

Margin required, before you commit

Every strategy card shows notional exposure and margin required — a real broker basket-margin call where available, a conservative estimate otherwise — so sizing isn't a guess. A Covered call or Covered strangle template won't arm until a live holdings check confirms you actually hold the lot — priced and margined as naked otherwise, never assumed covered.

Reconciliation

Orphan detection

Every five minutes during market hours, and at startup, ThetaPrime diffs your broker's live positions against its own trade state. A crash or a manual square-off shows up as a red badge, not a surprise next week.

Bookkeeping

Fix state, never place an order

Manual Entry and Edit Trade State correct ThetaPrime's own record when a fill happened outside automation — never a backdoor for placing or closing a position, and every edit is checked against the broker and logged.

Auth

Expired login, no live orders

No fresh broker token, no live trading — full stop. Paper trading and backtests keep running regardless, so a stale login degrades gracefully instead of silently.

Login check

Broker API validated on login

Every Kite, Breeze, or Dhan token is checked against the exact read-only endpoints strategies depend on, the moment you log in. A broken or changed broker API fails at Auth, not mid-strategy at 9:20am.

Execution

Fill confirmation, not assumption

A real order isn't done until the broker confirms the fill. An unconfirmed or partial entry rolls back — but only after cross-checking the broker's actual positions first, so a leg mis-reported as rejected during a fill-confirmation race isn't unwound by accident. A close order that never confirms behaves the same way in reverse: the leg is flagged, blocks new entries and re-entries, and surfaces to reconciliation, until you confirm it by hand.

Manual takeover

Close one leg, autopilot handles the rest

Close a single leg outside automation and ThetaPrime pauses just that strategy — a ✋ MANUAL badge marks it and every automated entry, exit, and adjustment stands down until you close what's left. No re-enable step: the moment every leg is closed, autopilot resumes on its own.

Always watching, always provable

Nothing this tool does happens silently.

Discipline handles the moment of decision. Monitoring is what lets you trust it afterward — live state you can check right now, and a record you can point to later.

Trade Status — 9:20 ATM Straddle
SC Sell 24700 CELTP 38.20 · +₹1,860
SP Sell 24300 PELTP 41.05 · −₹640
Live P&L +₹1,220
Auto-refreshing · next in 00:14
Send via WhatsApp
App Events
All Trade Auth System
09:20:04strategy.entryinfo
09:45:31broker.token_refreshinfo
10:02:18strategy.exitinfo
14:31:52reconcile.mismatchwarning
Live P&L

Per-leg, not a static ticket

Trade Status shows live P&L for every leg, priced off the broker's current LTP and refreshing automatically every 30 seconds while it's open — not a number you have to manually pull.

Alerts

Entries, exits, status — off the dashboard

Every entry, exit, and adjustment can push straight to WhatsApp, Telegram, email, or a webhook — no bridge process to babysit, useful mid-meeting, mid-commute, anywhere a screen isn't handy. Windows toast notifications too, right from the tray, while the app window's open.

Event Log

Every action, one searchable trail

Login, entry, exit, adjustment, error — every action lands in a filterable log (by category and level) with CSV export, so you can reconstruct exactly what happened and when.

Live status

Badges, not a one-time check

Broker connection, available margin, and the Nifty LTP sit in the navbar on every page, updating in the background for the whole session — not just at login.

AI Assistant

Ask Claude Desktop or Cursor, not just the dashboard

An MCP server exposes read-only tools — strategy status, positions, P&L, reconciliation health, recent logs — to your AI assistant over local stdio, authenticated with your dashboard password. Nothing new leaves your machine.

One engine, three brokers

Kite, Breeze, and Dhan, side by side.

Write or compose a strategy once; run it against any connected broker's live data and order book from the same dashboard. Enable or disable a broker with one switch — no restart.

  • Dhan support — OAuth login with a manual access-token fallback, contract-validated before a token is stored, same as Kite and Breeze.
  • Breeze quote batching — option-chain lookups are batched per expiry so delta-target scans stay under ICICI's own rate limit.
  • India VIX sourced correctly — pulled from NSE directly for brokers that don't quote it themselves.
  • One dashboard, one history — trades, P&L, and reconciliation look identical regardless of which broker filled the order.
Your machine, your data

Nothing about your trading leaves your desk.

  • No ThetaPrime cloud. The app installs and runs entirely on your PC as a background Windows service.
  • Windows Credential Manager for secrets. API keys, access tokens, dashboard password, and license key live in the same vault Windows uses for its own saved passwords.
  • Trade data encrypted at rest. Your trade history and P&L database are AES-256-GCM encrypted whenever ThetaPrime isn't running, keyed from the same Credential Manager vault. A one-time recovery code is issued on first run, so scheduled trading survives a reboot unattended without you re-entering anything.
  • Two things leave your machine: HTTPS calls to your broker's API, and one silent version check against GitHub, once a day. Nothing else.
  • One-click backup, or scheduled. A single zip of strategies, trade history, and credentials — trade data encrypted inside it — restoring first snapshots your current data automatically, so a bad restore is one click to undo. Set it to run daily to any local folder, including one synced by OneDrive, Dropbox, or Google Drive, with configurable retention.
License

One license. One machine. A year of updates.

  • Term365 days from purchase
  • ScopeOne machine, offline activation
  • Updates included3 quarterly feature releases
  • Expiry warning30 days ahead, in-app
  • Grace period7 days after expiry
  • Scheduled strategiesKeep running through expiry
  • Moving PCsNew fingerprint, same-year, no charge

Activate the same day.

Once ThetaPrime is running, open the License page and click Request Standard or Request Pro — your machine fingerprint is included automatically, nothing to copy or paste. Have a coupon code? It's approved instantly. Otherwise we review and email your key within one business day. No account, no recurring check-in: the license check itself runs entirely offline on your machine.

Request a license →
FAQ

Before you ask.

Is ThetaPrime a broker or an investment adviser?
No. It's a self-hosted automation tool that places orders through your own Zerodha, ICICI Direct, or Dhan account. You choose the strategies and carry SEBI compliance responsibility; the broker's own API subscription is billed to you directly, separately from ThetaPrime.
Does my computer need to stay on during the trading day?
Yes. ThetaPrime runs as a Windows service on your own PC, not in any cloud — it can only enter, monitor, and exit positions while that machine is powered on and the service is running. A laptop that sleeps or shuts down stops managing your open trades until it's back.
What if my internet connection drops?
ThetaPrime needs a live connection to your broker for as long as a position is open — entries, monitoring, and exits all depend on it. Brief blips are retried automatically, but a sustained outage means it can't act on your positions until connectivity returns, the same as if you were watching a terminal yourself. A stable, always-on connection is part of the setup, not optional.
Do I need a static IP address?
Yes. SEBI's API trading rules require a fixed IP address for order placement, which you register with your broker alongside your API credentials. Most ISPs offer a static IP as a paid add-on to a home broadband plan — request one before setting up your Kite, Breeze, or Dhan API app.
Can I run one license on two computers?
No — one license, one machine. Buy a second license for a second machine.
I reinstalled Windows. Do I need a new key?
Only if your network adapter changed. If the machine fingerprint on the Activation page still matches, your existing key works as-is.
What happens to my data if my license lapses?
Nothing is deleted. Strategies, trade history, and configuration all stay on disk exactly as they were. Renewing restores full dashboard access immediately — and any strategy the scheduler was already running kept running the whole time.
Do I need to know how to code?
No. Every strategy — a simple strangle, an iron condor, a calendar spread — is built entirely in the Composer by clicking blocks together. There's no code path to write or maintain.