DEV Community

shakti tiwari  profile picture

shakti tiwari

Nifty Option Trader, Research Analyst & XGBoost Expert — daily NSE India research. Trader & Entrepreneur.

Location India Joined Joined on  Personal website https://optiontradingwithai.in
Kimi K3.1 Pro: The Best Open-Weight Model in the World (and the 18-Point Gap Nobody Mentions)

Kimi K3.1 Pro: The Best Open-Weight Model in the World (and the 18-Point Gap Nobody Mentions)

Comments
8 min read
Qwen4 in 2026: A Closed Flagship, an Open 35B, and the Ecosystem That Actually Matters

Qwen4 in 2026: A Closed Flagship, an Open 35B, and the Ecosystem That Actually Matters

Comments
9 min read
DeepSeek V4.1 Flash: Open Weights, 1M Context, and a 97% Price Gap (Self-Hosting Math Included)

DeepSeek V4.1 Flash: Open Weights, 1M Context, and a 97% Price Gap (Self-Hosting Math Included)

Comments
8 min read
Claude Fable 5.2: Anthropic's $8/$40 Advisor Model, Explained (and When It's Worth It)

Claude Fable 5.2: Anthropic's $8/$40 Advisor Model, Explained (and When It's Worth It)

Comments
8 min read
Claude Opus 5.5: The Daily Driver That Beats Fable 5.1 at 40% Less Cost

Claude Opus 5.5: The Daily Driver That Beats Fable 5.1 at 40% Less Cost

Comments
8 min read
GPT-6.2 Astra and Sol: OpenAI's Real Breakthrough Is Token Efficiency, Not IQ

GPT-6.2 Astra and Sol: OpenAI's Real Breakthrough Is Token Efficiency, Not IQ

Comments
8 min read
GPT-6 Astra Explained: The Model That Hit 100% on ExploitBench (and Why Its Reasoning Is Harder to Audit)

GPT-6 Astra Explained: The Model That Hit 100% on ExploitBench (and Why Its Reasoning Is Harder to Audit)

Comments
8 min read
Gemini 4 Neon: Frontier Intelligence at 60% of the Cost (and Why the Harness Matters More Than the Model)

Gemini 4 Neon: Frontier Intelligence at 60% of the Cost (and Why the Harness Matters More Than the Model)

Comments
8 min read
Gemini 4 Hydrogen: Google Killed the Flash Tier (and the Real Story Is Orchestration)

Gemini 4 Hydrogen: Google Killed the Flash Tier (and the Real Story Is Orchestration)

Comments
9 min read
Gemini 4 Carbon: Google's Cyber-First Frontier Model Explained (Benchmarks, Pricing, Real Use Cases)

Gemini 4 Carbon: Google's Cyber-First Frontier Model Explained (Benchmarks, Pricing, Real Use Cases)

Comments
9 min read
How to Choose a Trading Model in 2026: The Decision Framework (XGBoost vs Deep Learning vs RL vs Ensembles)

How to Choose a Trading Model in 2026: The Decision Framework (XGBoost vs Deep Learning vs RL vs Ensembles)

Comments
8 min read
Time-Series Foundation Models for Trading: Chronos, TimesFM and Moirai Tested Zero-Shot

Time-Series Foundation Models for Trading: Chronos, TimesFM and Moirai Tested Zero-Shot

Comments
8 min read
TabNet, FT-Transformer and MLPs for Trading: Why Deep Tabular Models Keep Losing (and How to Make Them Competitive)

TabNet, FT-Transformer and MLPs for Trading: Why Deep Tabular Models Keep Losing (and How to Make Them Competitive)

Comments
8 min read
ARIMA, Prophet and N-BEATS for Trading: The Baselines Everyone Skips (and When They Actually Win)

ARIMA, Prophet and N-BEATS for Trading: The Baselines Everyone Skips (and When They Actually Win)

Comments
8 min read
The Transformer Zoo for Trading: Informer, Autoformer, TimesNet and iTransformer Compared (and Why Most Fail)

The Transformer Zoo for Trading: Informer, Autoformer, TimesNet and iTransformer Compared (and Why Most Fail)

Comments
8 min read
Temporal Convolutional Networks for Trading: Dilated Causal Convolutions Beat LSTMs on Speed and Stability

Temporal Convolutional Networks for Trading: Dilated Causal Convolutions Beat LSTMs on Speed and Stability

Comments
8 min read
LSTM and GRU for Trading: Why They Keep Losing to XGBoost (and the One Setup Where They Win)

LSTM and GRU for Trading: Why They Keep Losing to XGBoost (and the One Setup Where They Win)

Comments
9 min read
CatBoost for Trading: Ordered Boosting, Categorical Features and the Target-Leakage Trap

CatBoost for Trading: Ordered Boosting, Categorical Features and the Target-Leakage Trap

Comments
9 min read
XGBoost for Trading in 2026: Why the Simplest Model Still Wins (Tuning Guide + Benchmarks)

XGBoost for Trading in 2026: Why the Simplest Model Still Wins (Tuning Guide + Benchmarks)

Comments
8 min read
PatchTST for Trading: Why Patching Beats Long Context (Full PyTorch Implementation)

PatchTST for Trading: Why Patching Beats Long Context (Full PyTorch Implementation)

Comments
8 min read
XGBoost for Forex: EUR/USD Direction Prediction That Survives Walk-Forward (Python, 2026)

XGBoost for Forex: EUR/USD Direction Prediction That Survives Walk-Forward (Python, 2026)

Comments
10 min read
Options Velocity Stream: 4 Speeds of OI Change That Reveal Institutional Walls in 5 Minutes

Options Velocity Stream: 4 Speeds of OI Change That Reveal Institutional Walls in 5 Minutes

Comments
8 min read
Leakage Autopsy: My Features Correlated 0.27 With the Past and Only 0.10 With the Future

Leakage Autopsy: My Features Correlated 0.27 With the Past and Only 0.10 With the Future

Comments
8 min read
3-Lane Options Architecture: CE Hunter, PE Hunter, and a Theta Harvester That Guards the Others

3-Lane Options Architecture: CE Hunter, PE Hunter, and a Theta Harvester That Guards the Others

Comments
8 min read
The Negative Platt Slope Bug That Inverted My Model's Probabilities

The Negative Platt Slope Bug That Inverted My Model's Probabilities

Comments
8 min read
The 0-DTE Decay Trap: 88% of Expiry Trades Die If They Don't Move in 8 Minutes

The 0-DTE Decay Trap: 88% of Expiry Trades Die If They Don't Move in 8 Minutes

Comments
8 min read
I Audited 199,531 NIFTY Option Trades. Only 0.72% Doubled. Here's the Fix.

I Audited 199,531 NIFTY Option Trades. Only 0.72% Doubled. Here's the Fix.

Comments
8 min read
How My Model Called the BTC Down Move — and What the ₹50 Lakh Number Really Means

How My Model Called the BTC Down Move — and What the ₹50 Lakh Number Really Means

Comments
10 min read
A 5-Line Rule Beat XGBoost, SMOTE-ENN and a Stacked Ensemble on 147 Days

A 5-Line Rule Beat XGBoost, SMOTE-ENN and a Stacked Ensemble on 147 Days

Comments
7 min read
SMOTE-ENN Destroyed My NIFTY Edge: A 4-Year Walk-Forward Autopsy

SMOTE-ENN Destroyed My NIFTY Edge: A 4-Year Walk-Forward Autopsy

Comments
9 min read
Nifty Mac Desk: A Local-First AI Trading Desk That Refuses to Auto-Promote a Model

Nifty Mac Desk: A Local-First AI Trading Desk That Refuses to Auto-Promote a Model

Comments
9 min read
RandomOverSampler: The Baseline Every SMOTE Variant Is Measured Against

RandomOverSampler: The Baseline Every SMOTE Variant Is Measured Against

Comments
11 min read
ADASYN in imbalanced-learn: Adaptive Synthetic Sampling That Chases the Hard Minority Points

ADASYN in imbalanced-learn: Adaptive Synthetic Sampling That Chases the Hard Minority Points

Comments
15 min read
SMOTEN in imbalanced-learn: SMOTE for Purely Categorical Data via the Value Difference Metric

SMOTEN in imbalanced-learn: SMOTE for Purely Categorical Data via the Value Difference Metric

Comments
14 min read
SMOTENC — Synthetic Minority Over-sampling for Mixed Categorical + Continuous Data (with a NIFTY Tabular Walkthrough)

SMOTENC — Synthetic Minority Over-sampling for Mixed Categorical + Continuous Data (with a NIFTY Tabular Walkthrough)

Comments
11 min read
KMeansSMOTE in imbalanced-learn: Cluster First, Then Synthesise Inside the Cluster

KMeansSMOTE in imbalanced-learn: Cluster First, Then Synthesise Inside the Cluster

Comments
15 min read
SVMSMOTE in imbalanced-learn: Let an SVM Draw the Boundary, Then Synthesise on It

SVMSMOTE in imbalanced-learn: Let an SVM Draw the Boundary, Then Synthesise on It

Comments
14 min read
BorderlineSMOTE in imbalanced-learn: Oversample the Decision Boundary, Not the Safe Interior

BorderlineSMOTE in imbalanced-learn: Oversample the Decision Boundary, Not the Safe Interior

Comments
11 min read
Vanilla SMOTE in imbalanced-learn: The kNN Interpolation Engine Behind Balanced XGBoost

Vanilla SMOTE in imbalanced-learn: The kNN Interpolation Engine Behind Balanced XGBoost

Comments
11 min read
SMOTE random_state & Reproducibility: Why Seeded Synthetic Samples Matter for Auditable XGBoost Backtests

SMOTE random_state & Reproducibility: Why Seeded Synthetic Samples Matter for Auditable XGBoost Backtests

Comments
13 min read
SMOTE `sampling_strategy`: How to Set the Oversampling Ratio Without Drowning Your Majority Class

SMOTE `sampling_strategy`: How to Set the Oversampling Ratio Without Drowning Your Majority Class

Comments
13 min read
SMOTE `k_neighbors` Parameter: How 5 Little Neighbors Decide If Your Synthetic Samples Help or Hurt

SMOTE `k_neighbors` Parameter: How 5 Little Neighbors Decide If Your Synthetic Samples Help or Hurt

Comments
12 min read
SMOTE Explained: The kNN Interpolation Algorithm Behind Synthetic Oversampling

SMOTE Explained: The kNN Interpolation Algorithm Behind Synthetic Oversampling

Comments
9 min read
SMOTE vs `scale_pos_weight` (class_weight) for XGBoost: Which Imbalance Fix Actually Wins?

SMOTE vs `scale_pos_weight` (class_weight) for XGBoost: Which Imbalance Fix Actually Wins?

Comments
12 min read
SMOTE Hurts: 6 Times Synthetic Over-sampling Degrades Your XGBoost Model

SMOTE Hurts: 6 Times Synthetic Over-sampling Degrades Your XGBoost Model

Comments
11 min read
SMOTE for NIFTY & BTC Rare-Event Direction Forecasting: A Practical Guide for XGBoost Traders

SMOTE for NIFTY & BTC Rare-Event Direction Forecasting: A Practical Guide for XGBoost Traders

Comments
12 min read
SMOTE + The Train/Test Leakage Trap: The #1 Mistake That Inflates Your NIFTY Metrics

SMOTE + The Train/Test Leakage Trap: The #1 Mistake That Inflates Your NIFTY Metrics

Comments
11 min read
XGBoost reg_lambda vs reg_alpha: L2 vs L1 Regularization, Benchmarked on 5-Fold CV

XGBoost reg_lambda vs reg_alpha: L2 vs L1 Regularization, Benchmarked on 5-Fold CV

Comments
13 min read
XGBoost colsample_bytree / colsample_bylevel / colsample_bynode: The Column-Sampling Trio Explained with 5-Fold CV Numbers

XGBoost colsample_bytree / colsample_bylevel / colsample_bynode: The Column-Sampling Trio Explained with 5-Fold CV Numbers

Comments
11 min read
XGBoost `subsample` & `sampling_method`: The Bagging Lever That Quietly Saves Your Regression

XGBoost `subsample` & `sampling_method`: The Bagging Lever That Quietly Saves Your Regression

Comments
12 min read
XGBoost gamma (min_split_loss): The Minimum Loss Reduction Gate on Every Split

XGBoost gamma (min_split_loss): The Minimum Loss Reduction Gate on Every Split

Comments
11 min read
XGBoost min_child_weight: The Leaf-Size Floor That Fights Overfitting

XGBoost min_child_weight: The Leaf-Size Floor That Fights Overfitting

Comments
13 min read
XGBoost max_depth: The Bias-Variance Knob That Decides Tree Complexity

XGBoost max_depth: The Bias-Variance Knob That Decides Tree Complexity

Comments
13 min read
XGBoost eta (learning_rate): The One Knob That Controls How Fast Your Model Learns — With a Real 5-Fold Benchmark

XGBoost eta (learning_rate): The One Knob That Controls How Fast Your Model Learns — With a Real 5-Fold Benchmark

Comments
10 min read
SMOTE + The Train/Test Leakage Trap: The #1 Mistake That Inflates Your NIFTY Metrics

SMOTE + The Train/Test Leakage Trap: The #1 Mistake That Inflates Your NIFTY Metrics

Comments
11 min read
SMOTE Explained: The kNN Interpolation Algorithm Behind Synthetic Oversampling

SMOTE Explained: The kNN Interpolation Algorithm Behind Synthetic Oversampling

Comments
9 min read
XGBoost eta (learning_rate): The One Knob That Controls How Fast Your Model Learns — With a Real 5-Fold Benchmark

XGBoost eta (learning_rate): The One Knob That Controls How Fast Your Model Learns — With a Real 5-Fold Benchmark

Comments
10 min read
Block Bootstrap Confidence Intervals for Backtest Metrics: How to Know If Your Edge Is Real

Block Bootstrap Confidence Intervals for Backtest Metrics: How to Know If Your Edge Is Real

Comments
12 min read
Mean Reversion in NIFTY: Bollinger + Z-Score Framework

Mean Reversion in NIFTY: Bollinger + Z-Score Framework

Comments
2 min read
Pairs Trading on Indian Stocks: Cointegration + ML Signal

Pairs Trading on Indian Stocks: Cointegration + ML Signal

Comments
2 min read
loading...