Repository navigation
docs(binance): add a frequently asked questions hub and five question pages - #91
Merged
Merged
Conversation
tiagosiebler
reviewed
Dec 2, 2026
| }); | ||
|
|
||
| const orders = await futures.getForceOrders({ symbol: 'BTCUSDT', autoCloseType: 'LIQUIDATION' }); | ||
| console.log(orders.length, 'liquidation orders on this account'); |
Member
There was a problem hiding this comment.
This just logs the order total without any other details? Maybe console.table or some other way log them too?
Contributor
Author
There was a problem hiding this comment.
Good call, it now logs symbol, side, price, quantity, total and time for each liquidation.
Log symbol, side, average fill price, filled quantity, quote notional and time for every returned order, rather than only the count.
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.
What's new
A small frequently asked questions section for the Binance SDK docs, with a hub page and five question pages. Each page opens with the direct answer, then shows a short TypeScript example and links to the related guides.
sdks/binance/docs/faq/index.md) listing every question with a one-line answer and a linkWhere the pages appear
The pages stay out of the navigation bar and the sidebar. They are reachable from a small link at the bottom of the Binance SDK documentation page, from the related guides (API key setup, errors, troubleshooting, WebSocket streams, WebSocket API and Futures API) and from the sitemap. They are indexable and listed in
llms.txt.Other changes
sdks/binance/examples: a liquidations stream, a WebSocket API price request and a key permissions check. The build type-checks them against the publishedbinancepackage.shared/config.mjsaddsFAQPagestructured data to any page that listsfaqentries in its frontmatter.Checks
npm run build -- --sdk binancewith an indexable build passes, including the site link check.npm run check:content,npm run check:site-testsandnode scripts/check-public.mjs distpass.