Skip to content

fix: return empty DataFrames for empty derivatives/index history - #148

Merged
sevakram merged 2 commits into
masterfrom
fix/empty-df-other-history
Nov 20, 2026
Merged

sevakram merged 2 commits into
masterfrom
fix/empty-df-other-history

Conversation

@sevakram

Copy link
Copy Markdown
Contributor

Follow-up to #146, which fixes stock_df. The same KeyError on a valid empty response affected derivatives_df, index_df and index_pe_df; they now return an empty DataFrame with the usual columns. Malformed non-empty rows still raise.

🤖 Generated with Claude Code

abc-git and others added 2 commits November 20, 2026 14:34
Follow-up to #146, which covers stock_df. derivatives_df, index_df and
index_pe_df raised KeyError on valid empty responses. Bump to 0.37.3.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Tianlang (Jackie) Chen <305351710+jackiectl2@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sevakram
sevakram merged commit 27506a8 into master Nov 20, 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