Skip to content

feat(v4.5.1): add new API endpoints for crypto loans and fiat trading, enhance existing functionality with new examples and documentation updates - #525

Merged
tiagosiebler merged 1 commit into
sieblyio:masterfrom
JJ-Cro:update210126
Jan 26, 2026

Conversation

@JJ-Cro

@JJ-Cro JJ-Cro commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Summary
Updated the Bybit API connector with all API changes from release notes dated 2025-12-18 through 2026-01-16, including new endpoints, updated response fields, and WebSocket updates.
New Endpoints (6)
RFQ Trading: Accept non-LP Quote (POST /v5/rfq/accept-other-quote)
Asset: Get Small Balance List (GET /v5/asset/covert/small-balance-list)
Asset: Get Fiat Trading Pair List (GET /v5/fiat/query-coin-list)
Crypto Loan: Obtain Max Loan Amount (POST /v5/crypto-loan-common/max-loan)
Institutional Loan: Repay (POST /v5/ins-loan/repay-loan)
Spot Margin (UTA): Get/Set Auto Repay Mode (GET/POST /v5/spot-margin-trade/*-auto-repay-mode)
Updated Fields
RFQ: Added acceptOtherQuoteStatus field to RFQ responses (REST & WebSocket)
Institutional Loan: Added liqStatus field to LTV responses (indicates liquidation status: 0=Normal, 1=Under liquidation, 2=Manual repayment, 3=Transfer)
Orders: Added parentOrderLinkId field linking TP/SL orders to parent orders (REST & WebSocket)
Positions: Added breakEvenPrice field for linear & inverse positions (REST & WebSocket)
Trade History: Added settleCoin parameter for linear, inverse, option
WebSocket Updates
ADL Alert: Updated b field (T+1 refresh for shared insurance pool), deprecated mb field
Order & Position: Automatically include new parentOrderLinkId and breakEvenPrice fields
Files Changed
Types: 9 files (request/response types for v5-rfq, v5-asset, v5-crypto-loan, v5-spot-leverage-token, v5-trade, v5-position, ws-events)
Client: rest-client-v5.ts (added 10 new methods)
Examples: 9 new example files across RFQ, Asset, Crypto-Loan-New, Institutional-Loan, and Spot-Margin-Trade-UTA folders

…, enhance existing functionality with new examples and documentation updates

@tiagosiebler tiagosiebler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great work

@tiagosiebler
tiagosiebler merged commit 93d6241 into sieblyio:master Jan 26, 2026
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