Skip to content

feat: support futopt spread contracts, trial matching & derived quote fields#9

Merged
kevinypfan merged 1 commit into
release/v1.5.0from
feat/futopt-spread-trial-607-608-609
Jul 1, 2026
Merged

feat: support futopt spread contracts, trial matching & derived quote fields#9
kevinypfan merged 1 commit into
release/v1.5.0from
feat/futopt-spread-trial-607-608-609

Conversation

@kevinypfan

@kevinypfan kevinypfan commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Aligns the SDK with fugle-realtime backend issues #607 / #608 / #609.

Changes

  • #607 spread contracts (複式商品): URL-encode futopt symbols so codes containing / (e.g. MXFA6/C6) route correctly against the /quote/:symbol-style endpoints; add isSpread? filter to intraday.tickers. Negative prices are plain numbers (no change).
  • #609 trial matching (試搓): refresh RestFutOptIntradayQuoteResponse to backend parity — adds lastTrial, isTrial, priceLimits, tradingHalt, lastTrade.bid/ask, correct total shape and session flags; add isTrial? filter to intraday.trades.
  • #608 derived 6th order-book level: derivedBid/derivedAsk arrive on the untyped WebSocket books channel — documented in README, no code change needed.

Tests

npm run build + npm test green (91 passed). Added URL cases for spread-symbol encoding, isSpread, and isTrial trades.

🤖 Generated with Claude Code

… fields

Aligns the SDK with fugle-realtime backend issues #607/#608/#609.

- #607 spread contracts: URL-encode futopt symbols so codes containing "/"
  (e.g. MXFA6/C6) route correctly; add isSpread filter to intraday.tickers.
- #609 trial matching: refresh RestFutOptIntradayQuoteResponse to backend
  parity (adds lastTrial, isTrial, priceLimits, tradingHalt, lastTrade
  bid/ask, correct total shape, session flags); add isTrial filter to
  intraday.trades.
- #608 derived 6th order-book level (derivedBid/derivedAsk) arrives on the
  untyped WebSocket books channel; documented, no code change needed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kevinypfan kevinypfan changed the base branch from master to next July 1, 2026 09:17
@kevinypfan kevinypfan changed the base branch from next to master July 1, 2026 09:18
@kevinypfan kevinypfan changed the base branch from master to release/v1.5.0 July 1, 2026 09:23
@kevinypfan kevinypfan merged commit 01ca7c5 into release/v1.5.0 Jul 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant