{"id":28144726,"url":"https://github.com/rookie0/rains","last_synced_at":"2025-05-14T22:13:40.764Z","repository":{"id":42053772,"uuid":"451146224","full_name":"rookie0/rains","owner":"rookie0","description":"💹 命令行 A 股沪深北证股票信息行情数据查询工具","archived":false,"fork":false,"pushed_at":"2022-04-13T15:10:23.000Z","size":141,"stargazers_count":110,"open_issues_count":4,"forks_count":16,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-29T03:45:09.492Z","etag":null,"topics":["cli","command-line","quote","rust","stock"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rookie0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-23T15:28:41.000Z","updated_at":"2025-03-21T06:43:56.000Z","dependencies_parsed_at":"2022-09-18T10:41:37.160Z","dependency_job_id":null,"html_url":"https://github.com/rookie0/rains","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rookie0%2Frains","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rookie0%2Frains/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rookie0%2Frains/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rookie0%2Frains/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rookie0","download_url":"https://codeload.github.com/rookie0/rains/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235707,"owners_count":22036966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","quote","rust","stock"],"created_at":"2025-05-14T22:13:09.087Z","updated_at":"2025-05-14T22:13:40.752Z","avatar_url":"https://github.com/rookie0.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Rains\n\n[![CI](https://github.com/rookie0/rains/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/rookie0/rains/actions) [![Crates.io](https://img.shields.io/crates/v/rains.svg)](https://crates.io/crates/rains)\n\n💹 命令行 A 股沪深北证股票信息行情数据查询工具，提供股票实时行情及相关公司财务信息，数据来源新浪财经\n\n\n## 安装\n\n- 直接下载，到 [Releases](https://github.com/rookie0/rains/releases) 下载对应平台的包\n\n- Cargo 安装，`cargo install rains`\n\n\n## 使用\n\n```\nUSAGE:\n    rains [OPTIONS] \u003cSUBCOMMAND\u003e\n\nOPTIONS:\n    -d, --debug\n    -h, --help       Print help information\n    -V, --version    Print version information\n\nSUBCOMMANDS:\n    help      Print this message or the help of the given subcommand(s)\n    info      股票信息\n    quote     行情报价\n    search    搜索股票\n```\n\n示例\n```\nrains search zgpa        搜索中国平安代码\nrains info SH601318 -a   中国平安全部信息\nrains quote SH601318 -r  中国平安实时行情\n\nrains help info|quote|search      查看命令用法，子命令支持简写 i|q|s\nrains q HK00700,HK09626,SH600519  支持港股行情（暂不支持港股信息查询）\nrains q \\$BILI,BABA,JD            支持美股行情（默认加 $ 前缀区分，命令行需转义，也可不加；暂不支持美股信息查询）\nrains quote SH601318,SZ000001 -r  支持多只股票实时行情\n```\n\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frookie0%2Frains","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frookie0%2Frains","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frookie0%2Frains/lists"}