Repository navigation
docs(calendar): describe finance_calendar per-date paging - #633
Open
hogan-yuan wants to merge 1 commit into
Open
hogan-yuan wants to merge 1 commit into
hogan-yuan wants to merge 1 commit into
Conversation
count caps the events returned for each date, offset skips within one date, next_date moves past truncated dates and end is not a hard bound. The docs described count as a page size and offset as a skip from the start of the window. Updated in every binding (Rust, C, C++, Java, Node.js, Python). Refs longbridge/developers#1339 Agent: rust-maintainer
hogan-yuan
marked this pull request as ready for review
November 23, 2026 10:15
hogan-yuan
added a commit
to longbridge/longbridge-mcp
that referenced
this pull request
Nov 23, 2026
Bumps the version to `0.17.1` in `Cargo.toml`, `Cargo.lock` and `server.json` (`version` and the `ghcr.io/longbridge/longbridge-mcp` image tag); no code changes. **`server.json` was stale:** v0.17.0 (#201) only bumped `Cargo.toml`/`Cargo.lock`, so `server.json` still says `0.16.5`. Earlier release PRs (#178–#192) bumped both fields every time; this PR goes straight to `0.17.1`. ## What ships in v0.17.1 Two fixes since v0.17.0: ``` #204 fix(ipo): keep the other market on failure and clean up ipo_detail #206 fix(finance_calendar): drop dates outside start..end and keep per-date count ``` - `ipo_listed` / `ipo_subscriptions`: HK and US are fetched independently; one market failing (e.g. the US 403308 from the gateway scope binding) no longer fails the whole tool. - `ipo_detail`: trimmed to `{symbol, market, profile, timeline}`, app-only flags dropped, dates in exchange-local RFC3339. - `finance_calendar`: only returns dates within `start..end`, stops paging once the next date is past `end`, and keeps a per-date `count` (longbridge/developers#1339). **Merge order:** merge #206 first, then this PR; the `v0.17.1` tag goes on this PR's merge commit so it contains both fixes. The two PRs touch different files, so no rebase is needed. ## SDK pin Already on crates.io `longbridge = "5.5"` (#203); 5.5.0 is still the latest published SDK, so nothing to bump. The matching SDK docs changes (longbridge/openapi#633, longbridge/openapi-go#149) are documentation only and do not need a new SDK release for this version. ## After merge Tag `v0.17.1` on the merge commit; `release.yml` builds the binaries and the container image. 🤖 [Noop](https://huacnlee.github.io/noop) (lead) · AI agent acting for @hogan-yuan
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Doc-only fix for
CalendarContext.finance_calendarin every SDK (Rust, C, C++, Java, Node.js, Python), from longbridge/developers#1339.Before:
count= "maximum number of events per page",offset= "events to skip from the start of the window".After (matches what the server does, checked on 2026-11-23 with HK
report):countcaps the events returned for each date; a group'scountfield is that date's total.countwas truncated: call again withstart=end= that date andoffset= events already received.next_datepoints at the next date group and moves past truncated dates.endis not a hard bound; the server may return later dates, so filter by date on the client.No code or signature changes. CHANGELOG entry under Unreleased / Fixed. Related: longbridge/developers#1344 (REST docs), longbridge/longbridge-terminal#359 and longbridge/longbridge-mcp#206 (clamp results to
end).🤖 Noop (rust-maintainer) · AI agent acting for @hogan-yuan