mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
Opt-in, with the user's own Stockbit session from a pasted credentialStorage cookie (or IDX_STOCKBIT_REFRESH_TOKEN): - idx stockbit login/status/logout; session file 0600, tokens never shown - rotating refresh under a cross-process lock; one refresh+retry on 401 - stocks orderbook: depth with lots and orders, OHLC, value, foreign flow - --provider stockbit quotes from the session API when logged in - --history-provider stockbit, and auto under the stockbit provider for 5d-1y daily windows - MCP get_orderbook and stockbit_status (17 tools) Endpoints, units and recorded responses from fzn0x/idx (MIT).
46 lines
1.3 KiB
Text
46 lines
1.3 KiB
Text
exit: 0
|
|
--- stdout
|
|
idx-cli is a Rust command-line tool for Indonesian stock market (IDX) analysis.
|
|
It supports quote lookup, historical data, local caching, and output formats for both humans and AI agents.
|
|
|
|
Usage: idx [OPTIONS] <COMMAND>
|
|
|
|
Commands:
|
|
stocks Stock data and analysis
|
|
config Manage configuration
|
|
cache Manage local cache
|
|
ownership Ownership intelligence (bootstrap with `ownership sync`)
|
|
stockbit Your Stockbit session (opt-in: order book, live quotes)
|
|
completions Generate shell completions
|
|
version Show idx-cli version
|
|
help Print this message or the help of the given subcommand(s)
|
|
|
|
Options:
|
|
-o, --output <OUTPUT>
|
|
Output format [default: auto = table on a terminal, json when piped]
|
|
|
|
[possible values: auto, table, json, jsonl]
|
|
|
|
--no-color
|
|
Disable colored output
|
|
|
|
-q, --quiet
|
|
Suppress non-essential output
|
|
|
|
-v, --verbose...
|
|
Increase verbosity (-v, -vv)
|
|
|
|
--provider <PROVIDER>
|
|
Market data provider [default: general.provider, else msn]
|
|
|
|
[possible values: yahoo, msn, stockbit]
|
|
|
|
--offline
|
|
Run without network requests
|
|
|
|
--no-cache
|
|
Bypass local cache
|
|
|
|
-h, --help
|
|
Print help (see a summary with '-h')
|
|
--- stderr
|