[RELEASE] bybit.net.api v1.3.0#13
Open
kolya-bybit wants to merge 18 commits into
Open
Conversation
Signed-off-by: kolya-bybit <nickolay.kushnarenko@bybit.com>
Signed-off-by: kolya-bybit <nickolay.kushnarenko@bybit.com>
Signed-off-by: kolya-bybit <nickolay.kushnarenko@bybit.com>
Signed-off-by: kolya-bybit <nickolay.kushnarenko@bybit.com>
Signed-off-by: kolya-bybit <nickolay.kushnarenko@bybit.com>
Signed-off-by: kolya-bybit <nickolay.kushnarenko@bybit.com>
Author
|
work in progress and requires heavy testing, I'll do it tomorrow |
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.
[1.3.0] - 2026-04-22
Added
BybitAccountService.GetAccountInstrumentsInfo(...)forGET /v5/account/instruments-info.BybitAccountService.ManualRepayWithoutAssetConversion(...)forPOST /v5/account/no-convert-repay.BybitAccountService.GetOptionAssetInfo()forGET /v5/account/option-asset-info.BybitAccountService.GetPayInfo(...)forGET /v5/account/pay-info.BybitAccountService.SetDeltaNeutralMode(...)forPOST /v5/account/set-delta-mode.BybitAccountService.GetTradeInfoForAnalysis(...)forGET /v5/account/trade-info-for-analysis.BybitAccountService.GetTransferableAmount(...)forGET /v5/account/withdrawal.BybitAssetService.GetFundingAccountTransactionHistory(...)forGET /v5/asset/fundinghistory.BybitAssetService.GetPortfolioMarginInfo(...)forGET /v5/asset/portfolio-margin.BybitAssetService.GetTotalMembersAssets(...)forGET /v5/asset/total-members-assets.BybitAssetService.GetAssetOverview(...)forGET /v5/asset/asset-overview.BybitAssetService.GetWithdrawalAddressList(...)forGET /v5/asset/withdraw/query-address.GET /v5/asset/covert/small-balance-list,POST /v5/asset/covert/get-quote,POST /v5/asset/covert/small-balance-execute, andGET /v5/asset/covert/small-balance-history.GET /v5/fiat/balance-query,GET /v5/fiat/query-coin-list,POST /v5/fiat/quote-apply,POST /v5/fiat/trade-execute,GET /v5/fiat/trade-query,GET /v5/fiat/query-trade-history, andGET /v5/fiat/reference-price.BybitBrokerService.GetBrokerAccountInfo()forGET /v5/broker/account-info.BybitBrokerService.GetBrokerSubMemberDepositRecords(...)forGET /v5/broker/asset/query-sub-member-deposit-record.BybitBrokerService.GetBrokerAllRateLimits(...)forGET /v5/broker/apilimit/query-all.BybitBrokerService.GetBrokerRateLimitCap()forGET /v5/broker/apilimit/query-cap.BybitBrokerService.SetBrokerRateLimit(...)forPOST /v5/broker/apilimit/set.BybitBrokerService.GetBrokerVoucherSpec(...)forPOST /v5/broker/award/info.BybitBrokerService.IssueBrokerVoucher(...)forPOST /v5/broker/award/distribute-award.BybitBrokerService.GetIssuedBrokerVoucher(...)forPOST /v5/broker/award/distribution-record.GET /v5/earn/apr-history,GET /v5/earn/hourly-yield,GET /v5/earn/yield, andPOST /v5/earn/position/modify.GET /v5/earn/fixed-term/product,POST /v5/earn/fixed-term/place-order,GET /v5/earn/fixed-term/order,GET /v5/earn/fixed-term/position,POST /v5/earn/fixed-term/redeem, andPOST /v5/earn/fixed-term/position/auto-invest.GET /v5/earn/token/product,POST /v5/earn/token/place-order,GET /v5/earn/token/order,GET /v5/earn/token/position,GET /v5/earn/token/yield,GET /v5/earn/token/hourly-yield, andGET /v5/earn/token/history-apr.BybitLendingService.RepayInsLoan(...)forPOST /v5/ins-loan/repay-loan.BybitMarketDataService.GetRpiOrderbook(...)forGET /v5/market/rpi_orderbook.BybitMarketDataService.GetAdlAlert(...)forGET /v5/market/adlAlert.BybitMarketDataService.GetIndexPriceComponents(...)forGET /v5/market/index-price-components.BybitMarketDataService.GetFeeGroupInfo(...)forGET /v5/market/fee-group-info.BybitNewCryptoLoanService.GetMaxLoanAmount(...)forPOST /v5/crypto-loan-common/max-loan.BybitNewCryptoLoanService.RenewFixedLoan(...)forPOST /v5/crypto-loan-fixed/renew.BybitNewCryptoLoanService.GetRenewOrderInfoFixed(...)forGET /v5/crypto-loan-fixed/renew-info.BybitP2PService.ReviewSellerCancelOrderApply(...)forPOST /v5/p2p/order/buyer/examine/sellerCancelOrderApply.BybitP2PService.UploadChatFile(...)forPOST /v5/p2p/oss/upload_file.BybitRFQService.AcceptOtherQuote(...)forPOST /v5/rfq/accept-other-quote.BybitSpreadTradingService.GetSpreadMaxOrderQty(...)forGET /v5/spread/max-qty.BybitAlphaServicecoverage for the V5 Alpha trade endpoints.BybitBotServicecoverage for V5 spot grid, DCA, futures combo, futures grid, and futures martingale bot endpoints.Changed
BybitAccountService.SetAccountMarginMode(...)to send the correct request field namesetMarginMode.BybitAccountService.ManualRepay(...)to support the documentedrepaymentTypeparameter.BybitAccountService.ManualBorrow(...),ManualRepay(...), andSetAccountMarginMode(...)to return typed models instead of raw JSON strings.BybitAssetService.GetTransferableCoin(...),CreateInternalTransfer(...), andCreateUniversalTransfer(...)to sendfromAccountType.BybitAssetService.GetInternalTransferRecords(...)andGetUniversalTransferRecords(...)to sendstatusinstead oftransferStatus.BybitAssetService.GetAssetAllowedDepositInfo(...)to use the public endpoint flow instead of signed authentication.BybitAssetService.GetDeliveryRecord(...),GetCoinExchangeRecords(...), andGetAssetUsdcSettlement(...)to return typed response models.BybitBrokerService.GetBrokerEarning(...)to useGET /v5/broker/earnings-infowithbegin,end, anduidinstead of the obsoleteearning-recordroute andstartTime/endTimefields.BybitEarnService.GetProductInfo(...),PlaceEarnOrder(...),GetEarnOrderHistory(...), andGetStakedPosition(...)to return typed models instead of raw JSON strings.BybitEarnService.GetEarnOrderHistory(...)to support the documentedproductId,startTime,endTime,limit, andcursorparameters.BybitEarnServicewith public constructors so public earn endpoints can be used without API credentials.BybitLendingService.GetInsLoanOrders(...)andGetInsLoanRepayOrders(...)to use the current OTC routes instead of the incorrectensure-tokens-convertplaceholder route.BybitLendingService.GetInsLoanInfo(...)andGetInsMarginCoinInfo(...)to use the public endpoint flow and return typed models.BybitLendingServicelegacy C2C methods to use typed models and corrected routes forredeem-cancelandhistory-order.BybitAffiliateService.GetAffiliateUserList(...)to support the documentedstartDateandendDateparameters.BybitAffiliateService.GetAffiliateUserList(...)andGetAffiliateUserInfo(...)to return typed models instead of raw JSON strings.BybitMarketDataServicepublic endpoints to return typedGeneralResponse<T>models instead of raw JSON strings.BybitMarketDataService.GetInstrumentInfo(...)to support the documentedsymbolTypeparameter.BybitMarketDataService.GetMarketOrderbook(...)to require the documentedsymbolparameter.categorywhere the V5 docs define a default.BybitMarketDataService.GetMarketHistoricalVolatility(...)to supportquoteCoinand the documented integerperiodrequest shape.BybitNewCryptoLoanServicewith public constructors so public new crypto loan endpoints can be used without API credentials.BybitNewCryptoLoanService.BorrowFlexibleLoan(...)to send documentedcurrencyandamountcollateral fields.BybitNewCryptoLoanService.CreateBorrowOrderFixed(...)to support the documentedrepayTypeparameter.BybitNewCryptoLoanServicemethods to return typedGeneralResponse<T>models instead of raw JSON strings.BybitP2PService.GetAllOrders(...)andGetPendingOrders(...)to sendsideas a single integer instead of an array.BybitP2PServicemethods to return typed P2P response models instead of raw JSON strings.BybitPositionService.SwitchPositionMode(...)to send the documentedmodefield.BybitPositionService.SetPositionTradingStop(...)to sendpositionIdx, requiretpslMode, and supportactivePrice.BybitPositionService.SetPositionAutoAddMargin(...)to makepositionIdxoptional.BybitPositionService.GetMovePositionHistory(...)andGetClosedOptionsPositions(...)timestamp parameters to use 64-bit values.BybitPositionServicemethods to return typedGeneralResponse<T>models instead of raw JSON strings.BybitRateLimitServicemethods to return typedGeneralResponse<T>models instead of raw JSON strings.pricefield.POST, correctedSpotMarginModevalues, changed status lookup toGET, and added optionalcurrencysupport to set leverage.Notes
GetContractTransactionLogClassic(...)remains in the SDK because the local documentation marks it as legacy rather than fully removed.GetAssetDeliveryRecords(...)implementation that pointed to the coin exchange history route instead of the active delivery endpoint.BybitPositionService.SwitchPositionMargin(...)method forPOST /v5/position/switch-isolated.