Skip to content

Fix historical F&O UDiFF bhavcopy downloads for dates beyond current/… - #140

Merged
sevakram merged 3 commits into
masterfrom
fix/fo-bhavcopy-udiff-historical
Sep 23, 2026
Merged

sevakram merged 3 commits into
masterfrom
fix/fo-bhavcopy-udiff-historical

Conversation

@sevakram

Copy link
Copy Markdown
Contributor

…previous day

bhavcopy_fo_raw() only tried the live daily-reports API (CurrentDay/PreviousDay window), silently falling back to the legacy DERIVATIVES route for older UDiFF-era dates, which NSE no longer serves. Add bhavcopy_fo_udiff_raw() to fetch from the permanent nsearchives.nseindia.com/content/fo archive first, mirroring the existing CM bhavcopy_udiff_raw() pattern.

abc-git and others added 3 commits September 23, 2026 12:11
…previous day

bhavcopy_fo_raw() only tried the live daily-reports API (CurrentDay/PreviousDay
window), silently falling back to the legacy DERIVATIVES route for older
UDiFF-era dates, which NSE no longer serves. Add bhavcopy_fo_udiff_raw() to
fetch from the permanent nsearchives.nseindia.com/content/fo archive first,
mirroring the existing CM bhavcopy_udiff_raw() pattern.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sevakram
sevakram merged commit 9cf0014 into master Sep 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants