Repository navigation
Conversation
- IMPORT button next to "+ ADD POSITION": pick a file, review a preview, confirm - watchstock/importers.py: Tradeville export parser (SEP= line, simbol/sold/costm/..., class suffixes, cash rows skipped) + generic CSV (ticker/shares/avg_cost) - Preview verifies every ticker (batch quotes, ISIN search fallback, no duplicates); unknown rows are editable and re-checked before they can be imported - Replace (default) or merge; "why I own it" notes are kept - company_info table (migration 4): light sector/country/dividend fetch in the background for never-opened stocks, resumed on the next portfolio load - Tests on a synthetic fixture; UI smoke covers the flow in English and Romanian - Docs: HANDOFF, ARCHITECTURE, DECISIONS D16; version 0.9.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TW7cJeWrcBW5SJHr4ZKtSH
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.
Stacked on #7.
What: an IMPORT button next to "+ ADD POSITION". Pick the Tradeville portfolio export (or any CSV with ticker/shares/avg_cost), check the preview, then confirm.
watchstock/importers.py: pure parser for the Tradeville export (the format is documented in the docstring) and for a generic CSVcompany_info, migration 4). If the app closes mid-way, it resumes on the next portfolio load.Needs live testing: see HANDOFF → "Batch 8a".
Generated by Claude Code