hithink-finance-index
Entry point for the index catalog, index constituents, and index quotes. It only handles index objects and their constituent relationships.
Prerequisites table
| Condition |
Action |
| First time using this domain |
Read shared rules; content already loaded in the same session can be reused |
| First execution or version change |
View capabilities --format json and target schema <id> --format json; if the combination rules are unclear, view --help |
| Need to execute a command in the table below |
First read the corresponding reference file; do not guess parameters from the command name alone |
| Whole market, paginated, multiple symbols, or a long range |
Use the --output <path> declared by the command to write to disk, and report only the summary |
Quick decision
| User intent |
Preferred command / route |
| Find concept/industry/region/featured index catalogs |
index catalog |
| Query constituent stocks of an index |
index constituents |
| Query an index real-time snapshot |
index snapshot |
| Query index historical daily bars |
index history |
| Query individual stock history/snapshot |
Switch to hithink-finance-market |
Shortcuts
Native commands and schema
hithink-finance capabilities --format json
hithink-finance schema <capability-id> --format json
hithink-finance index <command> --help
The schema provides the current command options; the reference supplements business parameter relationships and acceptance methods. For global parameters, credentials, and output conventions, see the shared rules.
Boundary statement
- Index codes are usually in the form
000000.SH/SZ/BJ/TI ; do not treat an A-share stock thscode as an index code.
- Constituent stock results are index membership relationships, not equal to the user's portfolio or a recommendation list.