quantwave icon indicating copy to clipboard operation
quantwave copied to clipboard

options: date-aware nse_lot_size (NIFTY revision history + current 65) and risk-free rate docs

Open lavs9 opened this issue 3 weeks ago • 1 comments

Problem

  1. 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.
  2. nse_risk_free_rate() is hardcoded to 0.065 without explicit documentation of its source (91-day T-bill) and quarterly nature.

Ask

  1. Make nse_lot_size optionally date-aware (as_of=), updating the current default for NIFTY to 65 and supporting historical revisions (75 -> 50 -> 25 -> 75 -> 65).
  2. Document nse_risk_free_rate() convention and recommend passing explicit rate when backtesting across regimes.

lavs9 avatar Nov 11 '26 12:11 lavs9

Resolved in v0.10.2: date-aware nse_lot_size defaulting NIFTY to 65 and tracking historical revisions, with documented risk-free rate.

lavs9 avatar Nov 11 '26 13:11 lavs9