docs(web): Stockbit intraday on the quickstart, landing page and agent notes

This commit is contained in:
hermes 2026-10-23 07:15:24 +00:00
commit 570439369e
4 changed files with 9 additions and 4 deletions

View file

@ -19,10 +19,14 @@ What an agent needs to know:
- On failure stdout is empty and stderr holds one JSON object,
`{"error": true, "code": "...", "message": "..."}`.
- Exit codes say what to do next: `2` fix the input, `3` not found (or no
cached data offline), `4` provider unavailable, retry later, `5`
cached data offline), `4` provider unavailable or blocked, retry later, `5`
unsupported, `1` other.
- Tickers are IDX codes (`BBCA`); `.JK` is optional. Several tickers can be
passed at once to `stocks quote` and `stocks compare`.
- `stocks intraday` and `--provider stockbit` read Stockbit's public page,
paced to one request a second across idx processes. Ask for the symbols
you need rather than looping over the market; on `UPSTREAMBLOCKED`, stop
instead of retrying.
- Ownership queries need `idx ownership sync` once; after that they run
offline. `idx -o json ownership releases` shows which months exist.

View file

@ -11,6 +11,7 @@ Tickers are IDX codes; the `.JK` suffix is optional.
idx stocks quote BBCA # one quote
idx stocks quote BBCA BBRI BMRI # several (spaces or commas)
idx stocks history BBCA --period 1y # daily OHLCV
idx stocks intraday BBCA # today by the minute (Stockbit)
idx stocks technical BBCA # trend, RSI, MACD, moving averages
idx stocks fundamental BBCA # growth, valuation and risk together
idx stocks compare BBCA BBRI BMRI # fundamentals side by side

View file

@ -127,7 +127,7 @@ TLKM.JK 2,250 <span class="up">+0.45%</span> 87,159,900
<div>
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><path d="M3 17l6-6 4 4 8-8"></path><path d="M15 7h6v6"></path></svg>
<h2>Stocks</h2>
<p>Quotes, OHLC history, financial statements and a screener. Technical, growth, valuation and risk analysis, and side-by-side compare.</p>
<p>Quotes, today's session by the minute, OHLC history, financial statements and a screener. Technical, growth, valuation and risk analysis, and side-by-side compare.</p>
<code>idx stocks fundamental BBRI</code>
</div>
<div>
@ -219,7 +219,7 @@ TLKM.JK 2,250 <span class="up">+0.45%</span> 87,159,900
<dl class="codes">
<dt>2</dt><dd>invalid input or config</dd>
<dt>3</dt><dd>not found, or no cached data offline</dd>
<dt>4</dt><dd>upstream unavailable, retry later</dd>
<dt>4</dt><dd>upstream unavailable or blocked, retry later</dd>
<dt>5</dt><dd>unsupported</dd>
</dl>
</div>