Skip to content

feat(v4.4.3): new crypto loan endpoints for renewing borrow orders and an additional response field for USDT pre-market contracts. - #511

Merged
tiagosiebler merged 1 commit into
sieblyio:masterfrom
JJ-Cro:master
Dec 18, 2025
Merged

Conversation

@JJ-Cro

@JJ-Cro JJ-Cro commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Summary
Update Bybit V5 API client to support the latest release notes from 2025-11-25 and 2025-11-27. This includes new crypto loan endpoints for renewing borrow orders and an additional response field for USDT pre-market contracts.
Changes Made

  1. Market Data Updates (2025-11-25)
    Get Instruments Info: Added skipCallAuction?: boolean field to LinearInverseInstrumentInfoV5 interface for USDT pre-market contracts
    Get Account Instruments Info: Inherited skipCallAuction field through AccountLinearInverseInstrumentInfoV5 extension
    Files Modified:
    src/types/response/v5-market.ts
  2. Crypto Loan - Fixed Loan (2025-11-27)
    Added two new endpoints for renewing fixed crypto loans:
    New Request Parameter Types:
    RenewBorrowOrderFixedParamsV5 - Parameters for renewing borrow orders
    GetRenewOrderInfoFixedParamsV5 - Parameters for querying renew order info
    New Response Types:
    RenewBorrowOrderFixedV5 - Returns orderId for renewed borrow order
    RenewOrderInfoFixedV5 - Detailed renew order information including amount, autoRepay, borrowCurrency, contractNo, dueTime, loanId, orderId, renewLoanNo, and time
    New Methods:
    renewBorrowOrderFixed() - POST /v5/crypto-loan-fixed/renew
    Allows re-borrowing previously repaid principal with same amount
    Rate limit: 1 req/second
    Permission: "Spot trade"
    getRenewOrderInfoFixed() - GET /v5/crypto-loan-fixed/renew-info
    Query renew order information with pagination support
    Rate limit: 5 req/second
    Permission: "Spot trade"
    Files Modified:
    src/types/request/v5-crypto-loan.ts
    src/types/response/v5-crypto-loan.ts
    src/rest-client-v5.ts
    Breaking Changes
    None - all changes are additive
    API Version
    V5
    References
    Bybit API Release Notes: 2025-11-27
    Bybit API Release Notes: 2025-11-25

@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

@tiagosiebler
tiagosiebler merged commit edda224 into sieblyio:master Dec 18, 2025
2 of 3 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