Skip to content

feat(v4.8.3): instrument summary and stock-split open types - #3

Merged
JJ-Cro merged 3 commits into
masterfrom
update19102026
Oct 20, 2026
Merged

JJ-Cro merged 3 commits into
masterfrom
update19102026

Conversation

@JJ-Cro

@JJ-Cro JJ-Cro commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Summary

Monday SDK batch for the Bybit items approved on 19 Oct. Patch 4.8.2 to 4.8.3, branched from upstream master at 7b27fe1.

Adds getInstrumentSummary() for GET /v5/market/instrument-summary, stock-split open enums on execType and the UTA transaction log, and JSDoc for two staff-confirmed spot margin notes.

Changelog

  • Add getInstrumentSummary() for GET /v5/market/instrument-summary. category is linear or option. Pages with cursor / nextPageCursor. limit is [1, 1000], default 500.
  • execType: add ForwardSplitOpen and ReverseSplitOpen. ForwardSplitSettle and ReverseSplitSettle now document closing the entire existing position, then opening a new one (changelog 2026-10-13, enum glossary).
  • UTA transaction log type: add FORWARD_SPLIT_OPEN and REVERSE_SPLIT_OPEN. Settle descriptions follow the 2026-10-13 changelog (close the whole position). The enum glossary still lists the older "fractional share settlement" wording.
  • JSDoc on getMaxBorrowableAmount / maxLoan: maxLoan can be "0" when spot margin mode is off or no collateral coins are enabled. The app can still show a borrow after collateral is selected. Undocumented; Bybit API staff confirmed this on 15 Oct 2026. Check getSpotMarginState(), setCollateralCoin() (POST /v5/account/set-collateral-switch), and toggleSpotMarginTrade() first.
  • JSDoc on spot lotSizeFilter.minOrderQty (@deprecated) and minOrderAmt: staff confirmed on 15 Oct 2026 that only minOrderAmt applies for spot. Undocumented: broker/CCXT users have a 1 USDT minimum; direct API users have a 5 USDT minimum.

Checks

  • npm run build passed
  • npm run lint (eslint src) passed
  • Keyless unit tests passed: test/util/serializeParams.test.ts, test/websockets/wsStore.test.ts, test/v5/instrumentSummary.test.ts (cursor forwarded to GET /v5/market/instrument-summary)
  • Public live REST tests (test/v5/public.read.test.ts, including the new getInstrumentSummary case) could not reach Bybit from this environment. CloudFront returned 403, "block access from your country", on api.bybit.com and the other public hosts, including existing endpoints such as getServerTime()
Open in Web Open in Cursor 

cursoragent and others added 3 commits October 19, 2026 06:03
- Add getInstrumentSummary for GET /v5/market/instrument-summary (linear|option, cursor paging)
- execType: ForwardSplitOpen and ReverseSplitOpen. Settle variants close the entire position, then a new position opens
- uta-translog: FORWARD_SPLIT_OPEN and REVERSE_SPLIT_OPEN. Settle descriptions note the 2026-10-13 changelog; the enum glossary still says fractional share settlement
- JSDoc: getMaxBorrowableAmount maxLoan can be "0" when spot margin is off or no collateral coins are enabled (staff-confirmed, undocumented)
- JSDoc: spot minOrderQty is deprecated; minOrderAmt is the minimum that applies (staff-confirmed: 1 USDT broker/CCXT, 5 USDT direct API)

Co-authored-by: Jerko J <JJ-Cro@users.noreply.github.com>
@JJ-Cro
JJ-Cro merged commit ea86c7d into master Oct 20, 2026
0 of 2 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.

2 participants