quantwave
quantwave copied to clipboard
options: date-aware nse_lot_size (NIFTY revision history + current 65) and risk-free rate docs
Problem
nse_lot_size('NIFTY')returns 50, but NIFTY lot size was revised to 25, then 75, and 65 (effective Nov 2025). The lot size has changed historically and hardcoding 50 without date context breaks backtest accuracy across historical eras.nse_risk_free_rate()is hardcoded to 0.065 without explicit documentation of its source (91-day T-bill) and quarterly nature.
Ask
- Make
nse_lot_sizeoptionally date-aware (as_of=), updating the current default for NIFTY to 65 and supporting historical revisions (75 -> 50 -> 25 -> 75 -> 65). - Document
nse_risk_free_rate()convention and recommend passing explicit rate when backtesting across regimes.
Resolved in v0.10.2: date-aware nse_lot_size defaulting NIFTY to 65 and tracking historical revisions, with documented risk-free rate.