

Kotak
Stockshaala
Chapter 4 | 2 min read
एल्गो स्ट्रेटेजी: वीवैप (VWAP) स्ट्रेटेजी – बड़े खिलाड़ियों की तरह ट्रेड करें
तुमने शायद ट्रेडिंग सर्कल्स में ये शब्द सुना होगा — VWAP।
लेकिन इसका सच में मतलब क्या है?
VWAP = वॉल्यूम वेटेड एवरेज प्राइस (Volume Weighted Average Price)
यह आपको बताता है कि एक स्टॉक का एवरेज प्राइस पूरे दिन में कितना रहा है, लेकिन इसे वॉल्यूम (volume) द्वारा वेट किया जाता है।
संस्थाएं — जैसे म्यूचुअल फंड्स (mutual funds) और एफआईआई (FIIs) — अक्सर VWAP को एक बेंचमार्क के रूप में उपयोग करती हैं। उनके कई खरीद/बेच ऑर्डर्स VWAP के आसपास एक्सीक्यूट होते हैं ताकि वे मार्केट को डिस्टर्ब न करें।
यही कारण है कि VWAP-आधारित एल्गो स्ट्रेटजीज बहुत पावरफुल हो सकती हैं।
VWAP क्या है?
आइए इसे सरलता से समझें:
कल्पना करें कि एक स्टॉक दिन में इस तरह ट्रेड करता है:
9:15 | ₹100 | 1,000 |
10:00 | ₹102 | 2,000 |
11:00 | ₹98 | 500 |
सिंपल एवरेज प्राइस ₹100 होगा।
लेकिन VWAP वॉल्यूम के आधार पर वेटेड होगा। तो, ₹102 ट्रेड का ₹98 ट्रेड की तुलना में अधिक "वेट" होगा।
यह बताता है कि असल पैसा कहां फ्लो हो रहा है।
अल्गोस में VWAP का उपयोग कैसे होता है
-
VWAP से नीचे खरीदें, VWAP से ऊपर बेचें
अगर स्टॉक VWAP से नीचे ट्रेड कर रहा है, इसे सस्ता माना जाता है — एल्गो खरीद सकता है।
अगर यह VWAP से ऊपर ट्रेड कर रहा है, इसे महंगा माना जाता है — एल्गो बेच सकता है। -
VWAP की ओर रिवर्शन
कुछ एल्गोस मानते हैं कि प्राइस VWAP की ओर रिवर्ट करेगा — खासकर एक शार्प मूव के बाद। जब यह बहुत नीचे गिरता है, खरीदें, और जब यह करीब आता है, बेचें। -
VWAP क्रॉसओवर
जब प्राइस VWAP से ऊपर क्रॉस करता है तो खरीदें (बुलिश मोमेंटम)। जब यह VWAP से नीचे क्रॉस करता है तो बेचें या शॉर्ट करें।
उदाहरण
स्टॉक ABC का VWAP ₹150 है।
10:30 AM पर:
- मौजूदा प्राइस: ₹145 (VWAP से काफी नीचे)
- एल्गो सोचता है: “स्मार्ट मनी शायद जल्द ही खरीदारी शुरू कर देगी”
→ यह लॉन्ग एंट्री करता है → टारगेट्स ₹149–₹150 → टाइट स्टॉपलॉस ₹143 पर
तेज़ ट्रेड, वॉल्यूम-बैक्ड लॉजिक का उपयोग करते हुए।
import yfinance as yf
import pandas as pd
def calculate_vwap(df: pd.DataFrame) -> pd.Series:
"""Session-reset VWAP using typical price ((H+L+C)/3)."""
tp = (df['High'] + df['Low'] + df['Close']) / 3
session = df.index.date
cum_pv = (tp * df['Volume']).groupby(session).cumsum()
cum_v = df['Volume'].groupby(session).cumsum()
return cum_pv / cum_v # <- returns a Series
#Download recent intraday data
symbol = "AAPL" # use NSE tickers like "RELIANCE.NS" if needed
df = yf.download(symbol, period="5d", interval="5m")
#Calculate VWAP
df['VWAP'] = calculate_vwap(df)
#Strategy parameters (mean-reversion toward VWAP)
deviation_threshold = 3.0 #enter if price is >3% below VWAP
stop_loss_points = 2.0 #fixed SL below entry
target_offset_points = 0.5 #target slightly under VWAP
signals = []
for ts, row in df.iterrows():
vwap = row['VWAP']
price = row['Close']
if pd.notna(vwap) and price < vwap * (1 - deviation_threshold / 100.0):
entry = price
target = vwap - target_offset_points
stop = entry - stop_loss_points
signals.append({
'Time': ts,
'Entry Price': round(entry, 2),
'VWAP': round(vwap, 2),
'Target': round(target, 2),
'Stop Loss': round(stop, 2),
'Comment': 'Long: far below VWAP, expecting bounce'
})
signals_df = pd.DataFrame(signals)
print(signals_df)
signals_df.to_csv("vwap_mean_reversion_signals.csv", index=False)
क्यों एल्गोस VWAP को पसंद करते हैं
- डायनेमिक: समय और ट्रेड्स के साथ बदलता है
- ऑब्जेक्टिव: अनुमान या भावनाओं पर आधारित नहीं
- वॉल्यूम-बैक्ड: नकली मूव्स को फिल्टर करने में मदद करता है
ध्यान रखें
- डेली रीसेट होता है, इसलिए इंट्राडे ट्रेड्स के लिए सबसे उपयुक्त है, न कि स्विंग पोजीशन के लिए
- लो-वॉल्यूम स्टॉक्स में प्रभावी नहीं
- न्यूज इवेंट्स या सडन गैप्स के दौरान गलत संकेत दे सकता है
प्रो टिप
कई एल्गोस मल्टिपल VWAPs का भी उपयोग करते हैं:
- डे VWAP
- ऑवरली VWAP
- एंकरड VWAP (किसी विशेष इवेंट से जैसे बजट या अर्निंग्स)
VWAP स्ट्रेटजीज आपको स्मार्ट मनी के करीब लाती हैं। और एल्गोस के साथ, आप उतनी ही तेजी से काम कर सकते हैं जितना वे करते हैं।
अगला, हम इस मॉड्यूल को एक कूल, फ्यूचरिस्टिक स्ट्रेटजी के साथ रैप करेंगे — सेंटिमेंट-ड्रिवन एल्गोस।
This content has been translated using a translation tool. We strive for accuracy; however, the translation may not fully capture the nuances or context of the original text. If there are discrepancies or errors, they are unintended, and we recommend original language content for accuracy.
Disclaimer: This article is for informational purposes only and does not constitute financial advice. It is not produced by the desk of the Kotak Neo Research Team, nor is it a report published by the Kotak Neo Research Team. The information presented is compiled from several secondary sources available on the internet and may change over time. Investors should conduct their own research and consult with financial professionals before making any investment decisions. Read the full disclaimer here.
Investments in securities market are subject to market risks, read all the related documents carefully before investing. Brokerage will not exceed SEBI prescribed limit. The securities are quoted as an example and not as a recommendation. SEBI Registration No-INZ000200137 Member Id NSE-08081; BSE-673; MSE-1024, MCX-56285, NCDEX-1262.
Recommended Courses for you
Beyond Stockshaala
Discover our extensive knowledge center
Learn, Invest, and Grow with Kotak Videos
Explore our comprehensive video library that blends expert market insights with Kotak's innovative financial solutions to support your goals.














