You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.1.4] - 2026-06-01
9
+
10
+
### Fixed
11
+
-`young flow` now returns the latest verified A-share fund-flow record instead of going blank when the requested date is newer than the data source.
12
+
- Default trade-date selection now keeps pre-close weekday runs on the previous trading day, avoiding premature same-day reports before A-share data settles.
13
+
14
+
### Added
15
+
- Added `young stock <symbol>` for single-stock snapshots across A-share, Hong Kong, and best-effort US symbols, with source/date labels and optional news lookup.
16
+
17
+
### Changed
18
+
- Fund-flow output is explicitly labeled as A-share / Shanghai Composite scope and prints the returned trading date.
19
+
- A-share reports only use fund-flow data when the returned trading date matches the report date; stale source data is shown as a clear notice rather than mixed into the review.
20
+
- Documentation no longer describes Eastmoney `push2his` as a stable historical fund-flow fallback.
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
> An A-share (China stock market) after-hours CLI that **just works** — no login, no API keys, no scraping tricks.
10
10
> Also covers HK & US indices and a global snapshot.
11
11
12
-
A single command (`young a`) prints a complete after-hours dashboard: major indices, limit-up (涨停) and limit-down pools, fund flow, and top sector boards. Everything pulls from Eastmoney's public endpoints, with a 7-day local cache so repeated calls during the same session don't hammer the server.
12
+
A single command (`young a`) prints a complete after-hours dashboard: major indices, limit-up (涨停) and limit-down pools, verified A-share fund flow when the trading date matches, and top sector boards. Everything pulls from public no-login endpoints, with a 7-day local cache so repeated calls during the same session don't hammer the server.
13
13
14
14
Born out of a real workflow: every trading day after close I wanted the same five numbers in one place without opening a browser or paying for a data terminal. So I packaged it.
15
15
@@ -30,9 +30,10 @@ young a # A-share after-hours dashboard (the main thing)
30
30
young hk # Hong Kong indices snapshot
31
31
young us # US indices snapshot
32
32
young global # A + HK + US in one view
33
+
young stock 600519 # one stock snapshot (A-share / HK / US)
33
34
young indices # A-share indices only
34
35
young zt-pool # limit-up (涨停) / limit-down / 炸板 pool
35
-
young flow #north-bound + main-capital fund flow
36
+
young flow #latest verified A-share fund flow
36
37
young a -d 20260530 # historical date (YYYYMMDD)
37
38
young a --refresh # bypass cache, force re-fetch
38
39
young update # upgrade young-stock-cli in the current Python env
@@ -64,9 +65,11 @@ It is also a foundation for analysis pipelines: every subcommand maps to a Pytho
64
65
## What's in the box
65
66
66
67
-**Multiple public quote sources** — Tencent Finance, Sina Finance, and Eastmoney are tried in sequence so temporary source failures can be filled by another no-login endpoint.
68
+
-**Single-stock lookup** — `young stock 600519`, `young stock 0700.HK`, or `young stock AAPL` prints a compact quote snapshot with source, trade date, price, change, volume, turnover when available, and optional news.
-**Trade-day awareness** — nearest-trade-day resolution including weekends and (best-effort) holidays.
69
71
-**Rich terminal tables** — readable on dark and light terminals.
72
+
-**Verified A-share fund flow** — `young flow` shows the latest Eastmoney A-share / Shanghai Composite fund-flow date explicitly; full reports only include it when the trading date matches.
70
73
-**Sector boards via browser fallback** — when Eastmoney's board API rate-limits, falls back to rendering the public web page (optional, requires a local browser engine).
71
74
-**Local updater** — `young update` runs `python -m pip install --upgrade young-stock-cli` with the same interpreter that launched the CLI.
72
75
@@ -107,13 +110,14 @@ MIT — see [LICENSE](LICENSE).
107
110
108
111
## 中文说明
109
112
110
-
A 股盘后行情命令行工具。免登录、免 API key、免反爬技巧 — 一行命令把当日涨跌、涨停板、资金流向、板块榜全部打到终端。同时支持港股、美股指数和全球快照视图。
113
+
A 股盘后行情命令行工具。免登录、免 API key、免反爬技巧 — 一行命令把当日涨跌、涨停板、可核验的 A 股资金流向、板块榜全部打到终端。同时支持港股、美股指数和全球快照视图。
0 commit comments