Repository navigation
feat(v4.8.3): instrument summary and stock-split open types - #3
Merged
Merged
Conversation
- 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>
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.
Summary
Monday SDK batch for the Bybit items approved on 19 Oct. Patch
4.8.2to4.8.3, branched from upstreammasterat7b27fe1.Adds
getInstrumentSummary()forGET /v5/market/instrument-summary, stock-split open enums onexecTypeand the UTA transaction log, and JSDoc for two staff-confirmed spot margin notes.Changelog
getInstrumentSummary()forGET /v5/market/instrument-summary.categoryislinearoroption. Pages withcursor/nextPageCursor.limitis[1, 1000], default500.execType: addForwardSplitOpenandReverseSplitOpen.ForwardSplitSettleandReverseSplitSettlenow document closing the entire existing position, then opening a new one (changelog 2026-10-13, enum glossary).type: addFORWARD_SPLIT_OPENandREVERSE_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.getMaxBorrowableAmount/maxLoan:maxLoancan 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. CheckgetSpotMarginState(),setCollateralCoin()(POST /v5/account/set-collateral-switch), andtoggleSpotMarginTrade()first.lotSizeFilter.minOrderQty(@deprecated) andminOrderAmt: staff confirmed on 15 Oct 2026 that onlyminOrderAmtapplies for spot. Undocumented: broker/CCXT users have a 1 USDT minimum; direct API users have a 5 USDT minimum.Checks
npm run buildpassednpm run lint(eslint src) passedtest/util/serializeParams.test.ts,test/websockets/wsStore.test.ts,test/v5/instrumentSummary.test.ts(cursor forwarded toGET /v5/market/instrument-summary)test/v5/public.read.test.ts, including the newgetInstrumentSummarycase) could not reach Bybit from this environment. CloudFront returned 403, "block access from your country", onapi.bybit.comand the other public hosts, including existing endpoints such asgetServerTime()