Repository navigation
Expose sector_code and sector_name; psxdata 1.4.0; release 0.7.0 - #19
Merged
Merged
Conversation
…elease 0.7.0 psxdata 1.4.0 adds sector_code/sector_name to the screener and returns a 0 P/E as NaN. Add the sector fields to ScreenerRow and QuoteData; a 0 P/E now comes back as null. The proxy cache tests seed a 1.4.0-shaped snapshot (1.4.0 refetches one without sector_code) and fake the sector list next to the trading board.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades to psxdata 1.4.0 (GitHub archive) and releases 0.7.0.
Added
sector_code("0809") andsector_name("FERTILIZER") on/screenerrows and/stocks/{symbol}/quote, with OpenAPI descriptions.<NA>→null.sectoron screener rows stays numeric.Changed
pe_ratioisnullwhere PSX shows 0.00 (no meaningful P/E). It used to come back as0.Tests
test_proxy.pynow seeds a 1.4.0-shaped snapshot, because 1.4.0 refetches one withoutsector_code. It also fakes the sector list alongside the trading board.ruff check api/andmypy apiclean.After merge: publish GitHub release
v0.7.0(FastAPI Cloud deploy + Docker Hub).