Lesson · Trading Systems
Backtesting — does the edge exist?
बैकटेस्टिंग — क्या edge है भी?
Backtesting runs your exact rules over historical data to answer one question: would this have actually made money? It's how you separate a real edge from a nice-sounding idea before you risk a rupee. But it's easy to fool yourself — 'curve-fitting' rules to past noise, peeking at data you wouldn't have had, or ignoring costs — so a trustworthy test checks across different time periods, not just the one that looks good. At NeuraIQ most ideas come back honestly labelled NO EDGE, and that's the point: the backtest's job is to kill bad ideas cheaply, on a chart, instead of expensively, with your money.
बैकटेस्टिंग आपके ठीक-ठीक नियमों को पुराने डेटा पर चलाकर एक सवाल का जवाब देती है: क्या इससे सचमुच पैसा बनता? यही तरीक़ा है असली edge को एक अच्छी-लगने वाली सोच से अलग करने का, एक रुपया लगाने से पहले। पर ख़ुद को धोखा देना आसान है — नियमों को पुराने शोर पर 'curve-fit' करना, ऐसा डेटा देखना जो तब आपके पास न होता, या लागत अनदेखी करना — इसलिए भरोसेमंद टेस्ट कई अलग समयों पर जाँचता है, सिर्फ़ उस एक पर नहीं जो अच्छा दिखे। NeuraIQ पर ज़्यादातर सोच ईमानदारी से NO EDGE निकलती हैं, और यही बात है: बैकटेस्ट का काम बुरी सोच को सस्ते में, चार्ट पर मारना है — न कि महँगे में, आपके पैसे से।
📌 For instance · उदाहरण
You have an idea: 'buy when RSI drops below 30.' Instead of trying it with real money, you run it over five years of history and find it made money in 2020-21 but lost across 2022-24 — the edge only existed in one regime. That's a backtest earning its keep: it cost you a chart and an afternoon to learn what live trading would have taught you with real losses. NeuraIQ's research engine does this at scale, and most ideas it tests come back NO EDGE.
आपके पास एक सोच है: 'जब RSI 30 से नीचे गिरे तब ख़रीदो।' असली पैसे से आज़माने के बजाय, आप इसे पाँच साल के इतिहास पर चलाते हैं और पाते हैं कि इसने 2020-21 में पैसा बनाया पर 2022-24 में गँवाया — edge सिर्फ़ एक regime में था। यही बैकटेस्ट का काम आना है: इसने आपको एक चार्ट और एक दोपहर में वह सिखा दिया जो live ट्रेडिंग असली नुक़सान से सिखाती। NeuraIQ का research engine यह बड़े पैमाने पर करता है, और जो सोच यह टेस्ट करता है उनमें से ज़्यादातर NO EDGE निकलती हैं।
🧮 Work it through — did this strategy beat the coin flip?ख़ुद हल करो — क्या यह रणनीति सिक्के को हराई?
Strategy profit factor (PF) = 1.35 · matched random (coin-flip) PF = 1.15
The bar to clear = random PF × 1.1 (NeuraIQ's rule)पार करने की सीमा = random PF × 1.1 (NeuraIQ नियम)
1.15 × 1.1 ≈ 1.27
Strategy PF 1.35 vs the 1.27 bar — does it beat the coin flip?रणनीति PF 1.35 बनाम 1.27 सीमा — क्या यह सिक्के को हराती है?
1.35 > 1.27, so it clears the bar — but barely, which is exactly why we keep watching it for decay.1.35 > 1.27, तो सीमा पार — पर मुश्किल से, इसीलिए इसे decay के लिए देखते रहते हैं।
If its PF were 1.20 instead, what then?अगर इसका PF 1.20 होता, तो?
Beating the raw random 1.15 isn't enough — it must clear random × 1.1. 1.20 < 1.27, so it's no real edge.सिर्फ़ 1.15 को हराना काफ़ी नहीं — random × 1.1 पार करना ज़रूरी है। 1.20 < 1.27, तो कोई असली edge नहीं।
Nicely done — you worked the whole method through yourself.बढ़िया — तुमने पूरी विधि ख़ुद हल की।
❓ Common questions · आम सवाल
If a strategy backtests brilliantly, is it safe to trade?अगर रणनीति शानदार बैकटेस्ट करे, तो क्या उसे ट्रेड करना सुरक्षित है?
Not yet. A great backtest can be curve-fit — tuned so tightly to the past that it fits noise, not a real edge. The tests that matter are on data you didn't tune on (out-of-sample) and across different periods. A result that only shines on one cherry-picked window is a warning, not a green light.
अभी नहीं। बढ़िया बैकटेस्ट curve-fit हो सकता है — अतीत पर इतना कसकर सेट कि वह शोर से मेल खाए, असली edge से नहीं। मायने वे टेस्ट रखते हैं जो ऐसे डेटा पर हों जिस पर आपने tune नहीं किया (out-of-sample) और कई अलग अवधियों पर। जो नतीजा सिर्फ़ एक चुनी हुई खिड़की पर चमके वह चेतावनी है, हरी झंडी नहीं।
What are the most common ways a backtest lies?बैकटेस्ट सबसे आम तौर पर किन तरीक़ों से झूठ बोलता है?
Look-ahead bias (using information you wouldn't have had in real time), survivorship bias (testing only stocks that still exist), ignoring costs and slippage, and overfitting to one lucky period. A clean backtest guards against all four — which is why honest ones so often say NO EDGE.
Look-ahead bias (ऐसी जानकारी इस्तेमाल करना जो असल समय में न होती), survivorship bias (सिर्फ़ अब भी मौजूद स्टॉक टेस्ट करना), लागत और slippage अनदेखी, और एक ख़ुशक़िस्मत दौर पर overfitting। साफ़ बैकटेस्ट चारों से बचाता है — इसीलिए ईमानदार टेस्ट अक्सर NO EDGE कहते हैं।
🧠 Check yourself · ख़ुद जाँचें
What is the core purpose of backtesting a strategy?किसी रणनीति के बैकटेस्ट का मूल मक़सद क्या है?
A strategy shows spectacular returns in your backtest. What's the biggest thing to be suspicious of?एक रणनीति बैकटेस्ट में शानदार returns दिखाती है। सबसे ज़्यादा किस पर शक़ करें?
← PreviousAnatomy of a system — entry, exit, stop, sizeUp next →The random baseline — beating a coin flip
✈️
Free · Telegram
Learning is better together
Join @oversoldstockv1 for daily setups, breakdowns & fresh learning content — free, forever.
Join our channel →