Skip to content

Stock CLI fetches live China A-share data, filters it with configurable presets, and renders rotating K-line charts, while staying extensible to new markets through declarative CSV/JSON descriptors.

haruki-zz/stock-cli

Repository files navigation

Stock CLI

Stock CLI is a Ratatui-based terminal assistant for A-share screening: it captures real-time snapshots, renders rotating multi-range K-line charts, and loads markets from declarative descriptors so new regions can be added by dropping CSV/JSON assets alongside the binary.

Filtered list and K-line

Learn more about the full feature set:

Deployment Options

Option 1

  • Source build (requires Rust) – install the stable toolchain, run cargo build --release, and distribute the resulting binary together with the assets/ directory.

Option 2

  • Prebuilt archive (no Rust needed) – download the packaged release, extract it, run ./deploy.sh (or ./deploy.sh /path/to/stock-cli) once to remove the macOS quarantine flag, then start stock-cli.

About

Stock CLI fetches live China A-share data, filters it with configurable presets, and renders rotating K-line charts, while staying extensible to new markets through declarative CSV/JSON descriptors.

Resources

Stars

Watchers

Forks

Packages

No packages published