docs(quote): replace the option chain pages with the OpenAPI endpoint - #1244
Open
nlimpid wants to merge 1 commit into
Open
docs(quote): replace the option chain pages with the OpenAPI endpoint#1244nlimpid wants to merge 1 commit into
nlimpid wants to merge 1 commit into
Conversation
The option chain moves off quote socket commands 20/21 onto the fundamental-data OpenAPI service, so the old pages come down and the contract list ships as its own HTTP page rather than inheriting their URLs. - drop quote/options/optionchain_date and optionchain-date-strike across en/zh-CN/zh-HK - add quote/options/option-chain, slug /quote/pull/option-chain, documenting standard_only and the standard_attr / option_type / days_to_expiry fields - response example is a real SIT payload (BABA.US 20261218) carrying old contracts - rework the quote/overview rows and rowspan; socket/biz_command loses both entries since the endpoint is no longer a business command
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.
Background
The option chain moves off quote socket commands 20/21 onto the fundamental-data OpenAPI service (gemini
OpenAPIOptionChain). The old pages come down and the contract list ships as its own HTTP page on a new URL.Changes
Removed —
quote/options/optionchain_dateandoptionchain-date-strike, all three locales. Both rows also drop out ofsocket/biz_command, since the endpoint is no longer a business command.Added —
quote/options/option-chain, slug/quote/pull/option-chain, all three locales. Follows the plain-HTTP page shape used byai/agents.mdx(http-basictable + Query Parameters + cURL tab + Schemas). NoSDKLinks/CliCommand/QuotePermission: the SDK method name is not settled, the CLI has no such command, and this endpoint carries no quote-permission gate.quote/overviewkeeps one row for the endpoint; the Pull group'srowspanis adjusted to match and was verified against the actual row count in every locale.Contract documented
standard_only(query)true/1returns standard contracts only; omitted orfalsereturns everything includingstandard_attr=olddirectionC/Poption_typeW/Q/ emptystandard_attrold/ emptydays_to_expiry0on expiry day, negative once expiredThe response example is a real SIT payload (
BABA.US/20261218) and includes genuine post-corporate-action contracts (BABA2261218C10000.US), not invented ones.Notes
/quote/pull/optionchain-date(-strike)now 404 — new slug was chosen deliberately over reusing the old one.directionis a literalC/Prather than the enum ordinal it used to serialize as, matchingoption_typeandstandard_attr. The gemini-side proto change lands alongside this.