feat: add price screener with SQLite caching and refactor codebase#7
Merged
HanSoBored merged 15 commits intomainfrom Apr 26, 2026
Merged
feat: add price screener with SQLite caching and refactor codebase#7HanSoBored merged 15 commits intomainfrom
HanSoBored merged 15 commits intomainfrom
Conversation
- Fix status filtering: only symbol name search is supported - Fix installation path: directory is CryptoScope (not cryptoscope) - Add mouse support documentation (scroll, click rows, scrollbar)
…er with free functions
…ialization, and add HasCategory trait
…d add screener output formatting
…ard, and simplify theme constants
HanSoBored
commented
Apr 26, 2026
Collaborator
Author
HanSoBored
left a comment
There was a problem hiding this comment.
LGTM, needs Update README
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.
Summary
cryptoscope screenersubcommand with SQLite-backed open price caching, concurrent kline/ticker fetching, and formatted terminal output with color-coded gainers/losersTextFormatter,CyberdeckTheme,InstrumentFetcher,TuiApp) with idiomatic free functionsscreenersubcommand,CommonArgsstruct, and--exchangeflagLogGuardRAII struct, add popup messages, clickable header tabs, and mouse supportChanges
New Features
cryptoscope screener— Price screener with DB caching (kline & ticker modes)--exchange/-eflag for exchange selection--symbolfilter for screener outputRefactoring
TextFormatter→ free functions (src/output/)CyberdeckTheme→ module constants (src/tui/theme.rs)InstrumentFetcher→ free functions (src/fetcher/)TuiApp→TuiLifecycle+LogGuard(src/tui/runner.rs)HasCategorytrait →parse_categories_from()free functionArc<Mutex<usize>>→AtomicUsizefor countersINSERT OR REPLACE→ON CONFLICT DO UPDATEfor true upsertCode Quality
parse_kline_fieldwith.get(idx).fold()for group statisticsCommits
feat(db)feat(utils)feat(screener)feat(screener)refactor(cli)refactor(exchange)refactor(models)refactor(output)refactor(tui)refactor(tui)docsVerification