NIFTY lab

Strategies

All the strategy code collected from GitHub and GitLab, plus the researched ideas. Backtest results for these are on the Backtest results page.

Strategy files
22,033
Distinct files
8,315
Repositories
1,718
Ran here
2,691

Download the library

Every downloaded strategy source file in one zip, grouped by repository, with an index listing each file's repository, framework and whether it ran here. Research material from public repositories, not vetted or recommended; some files need extra Python libraries.

Download library (zip, 77 MB)Download index (CSV, 5 MB)

Browse the files

Loading the file list...
RepositoryFileFrameworkResultClassesParameter setsCopiesSize

One row per distinct file; "Copies" counts identical files found in other repositories. Open a file to read it on GitHub or GitLab.

Research leads (15)

Strategy ideas collected from community discussion, restated and assessed for this engine. They are not vetted strategies and not recommendations. The last column says whether each one can be backtested here today.

Code nameStrategyGroupBacktestable here?
straddle_920_short9:20 AM short ATM straddleNIFTY/BANKNIFTY optionsPartly: a related EMA-pattern straddle runs on the Straddle page
strangle_921_otm_short9:21 AM short OTM strangle, VIX-filteredNIFTY/BANKNIFTY optionsNo: short, multi-leg
four_straddle_switchFour-straddle regime-switching systemNIFTY/BANKNIFTY optionsNo: short, multi-leg, partial exits
long_strangle_vol_compressLong OTM strangle after volatility compressionNIFTY/BANKNIFTY optionsPartially: direction fits, 2-leg entry doesn't
volguard_regimeVolGuard: volatility-regime-based overnight selling selectorNIFTY/BANKNIFTY optionsNo: far beyond current scope
banknifty_trend_callTrend-biased BANKNIFTY call buyingNIFTY/BANKNIFTY optionsNo rules disclosed yet
scalp_candle_supply_demandCandle patterns + supply/demand zone scalpingNIFTY/BANKNIFTY optionsNo rules disclosed; claim contested
sma_cross_oi_confirmSMA crossover alert + option-chain confirmationNIFTY/BANKNIFTY optionsNo: needs OI/PCR/max-pain data
weekly_straddle_pct_exitWeekly short straddle, percentage-based exitsNIFTY/BANKNIFTY optionsNo: short, multi-leg; claim disputed
pv_momentum_equityPrice-volume derivatives momentum (cash equity)Cash-equity portfolioNo: different asset class/portfolio shape
momentum_supertrend_equity3-month momentum + SuperTrend stock portfolioCash-equity portfolioNo: different asset class/portfolio shape
fii_flow_momentum_equityFII ownership change + price momentum (cash equity)Cash-equity portfolioNo: different asset class + missing data feed
undisclosed_leadsLeads with no disclosed rulesNo disclosed rulesNot actionable: catalogued for awareness
lessons_prioritiesCross-cutting lessons + research priority shortlistReferenceReference doc, not a strategy
gold_level_sweep_eaGold (XAUUSD) daily-level liquidity sweep EADifferent platform/asset (MT5, Gold)No: wrong platform (MQL5), needs real shorts + M1 data + richer risk mgmt