Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Why Every Trader Should Learn Partial Derivatives

3 min read

Most traders hear the words partial derivatives and immediately think:

“That’s for mathematicians, not me.”

Ironically, if you’ve ever traded options, adjusted your stop loss, watched India VIX, or built an algorithm, you’ve already been thinking in terms of partial derivatives.

The only difference is that mathematics gives those ideas a name.

Let’s understand them without any complicated calculus.


Imagine Nifty is at 24,200

Suppose you’re trading the 24,200 ATM Weekly Call.

The option premium isn’t determined by just one thing.

It depends on many factors simultaneously.

Option Price = f(Nifty Price,Time,Implied Volatility)

Think of f() as a black box.

You put three things into the box:

  • Nifty Price
  • Time
  • Implied Volatility (IV)

The box gives you the option premium.

Now comes the important question.


The Question Every Trader Asks

Every trading decision is simply asking:

“What happens if I change only ONE variable?”

That is exactly what a partial derivative measures.


Example 1: Only Nifty Moves

Current Market

  • Nifty = 24,200
  • Option Premium = ₹240
  • IV = 14%
  • Time Remaining = 2 Days

Now imagine only one thing changes.

Nifty rises

24,200 → 24,250

Everything else remains exactly the same.

What happens?

The premium may become

₹240 → ₹266

We are asking

If only Nifty changes,
how much does the option price change?

That is called Delta.

Option Price = f(Nifty Price)

Delta is simply the sensitivity of the option price to Nifty.


Example 2: Nifty Doesn’t Move

Now suppose something strange happens.

Nifty stays at

24,200

The entire afternoon.

But time passes.

2:30 PM

↓

3:15 PM

Your option premium becomes

₹240 → ₹232

Nothing happened.

No price movement.

No IV movement.

Only time passed.

This is the famous Theta.

Option Price = f(Time)

Theta answers

“How much money do I lose simply because time passed?”


Example 3: RBI Announcement

Suppose the RBI Governor starts speaking.

Nifty

Still

24,200

But traders become nervous.

India VIX jumps

14%

↓

18%

Now your premium becomes

₹240 → ₹258

Price didn’t move.

Time barely moved.

Only volatility increased.

That sensitivity is called Vega.

Option Price = f(Implied Volatility)

Example 4: Delta Keeps Changing

Morning

Nifty = 24,200

Delta = 0.50

Afternoon

Nifty = 24,350

Now

Delta becomes

0.72

Notice something interesting.

Delta itself changed.

That rate of change is called Gamma.

Delta = f(Nifty Price)

Gamma tells us

“How quickly does Delta change?”


Example 5: Execution Algorithms

Imagine you’re managing a fund.

You need to sell

800 Nifty option lots.

If you dump everything immediately,

you move the market.

If you sell slowly,

you’re exposed to market risk and theta decay.

The algorithm continuously asks

Execution Cost = f(Remaining Inventory,Time Remaining,Liquidity)

Now ask

If only inventory increases,
should I trade faster?

That question is answered using a partial derivative.

Modern execution algorithms from firms like Citadel, Jane Street and Virtu rely heavily on this concept.


Example 6: Slippage

Suppose you’re placing market orders.

Slippage = f(Order Size,Liquidity)

Current situation

Buy

10 lots

Slippage

₹0.20

Now increase only the order size.

Buy

500 lots

Slippage becomes

₹2.80

Nothing else changed.

Only order size.

That sensitivity tells execution engines how aggressively they should trade.


Example 7: Portfolio Risk

Your portfolio contains

  • Nifty Futures
  • Bank Nifty Futures
  • Nifty Calls
  • Nifty Puts

Portfolio value depends on several markets.

Portfolio Value = f(Nifty,Bank Nifty,India VIX)

Now ask

What happens if only Nifty moves?

Risk managers answer this question thousands of times every day.


Example 8: Position Sizing

Suppose you always risk

1%

of your capital.

Your position size depends on

Position Size = f(Account Balance,Stop Loss)

If your stop loss doubles,

your position size automatically reduces.

Only one variable changed.


Example 9: ATR

ATR depends on

ATR = f(High,Low,Close)

Suppose today’s High increases.

Low and Close stay unchanged.

How much does ATR change?

Again,

you’re thinking in terms of partial derivatives.


Example 10: VWAP

VWAP depends on

VWAP = f(Price,Volume)

Suppose volume suddenly doubles.

Price remains unchanged.

How does VWAP move?

Again,

you’re changing only one variable.


You Already Know More Than You Think

Every experienced trader naturally asks questions like

  • What if Nifty rises 100 points?
  • What if IV jumps after RBI?
  • What if one day passes?
  • What if I double my position?
  • What if liquidity dries up?
  • What if I split my order into smaller pieces?

Every one of these is asking

“Change one thing. Keep everything else fixed.”

That is precisely what a partial derivative does.


Where Should You Start?

Forget calculus books.

Start with this habit.

Whenever you see a formula,

write it like this.

Option Price = f(Nifty Price, Time, IV)

Now ask one question at a time.

Change only Nifty.

↓

Delta


Change only Time.

↓

Theta


Change only IV.

↓

Vega


Change Delta itself.

↓

Gamma

That’s all.

Once this thinking becomes natural,

the mathematical notation becomes easy.


One-Line Examples Every Trader Should Recognize

Option Price = f(Nifty Price)

Option Price = f(Time)

Option Price = f(Implied Volatility)

Option Price = f(Nifty Price, Time)

Option Price = f(Nifty Price, Time, Implied Volatility)

Portfolio Value = f(Nifty, Bank Nifty, India VIX)

PnL = f(Nifty Price)

Market Impact = f(Order Size)

Execution Cost = f(Order Size, Liquidity)

Slippage = f(Order Size, Bid Ask Spread)

Portfolio Risk = f(Nifty Price, India VIX)

Margin Required = f(Position Size, Volatility)

Position Size = f(Account Balance, Stop Loss)

VWAP = f(Price, Volume)

ATR = f(High, Low, Close)

Execution Speed = f(Remaining Inventory)

Optimal Trading Rate = f(Remaining Inventory, Time Remaining)

Black-Scholes Price = f(Spot Price, Strike Price, Time, IV, Interest Rate)

Final Thought

Partial derivatives are not about solving difficult equations.

They are about asking better trading questions.

Every profitable trader constantly asks,

  • What happens if only price changes?
  • What happens if only time changes?
  • What happens if only volatility changes?
  • What happens if only liquidity changes?

The mathematics simply gives a precise language to questions that experienced traders already ask instinctively.

Once you start thinking this way, you’ll realize that partial derivatives are not just a topic in calculus—they are one of the foundational ideas behind options pricing, risk management, market making, portfolio optimization, and modern algorithmic trading.

Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More