Documentation
¶
Index ¶
- Constants
- func FormatTimestamp(t time.Time) int64
- func GetBatchOrderServerResponse(err error, data []byte) (*models.BatchOrderServerResponse, error)
- func GetCurrentTime() int64
- func GetIndexPriceKline(err error, data []byte, res *models.MarketIndexPriceKlineResponse) (*models.MarketIndexPriceKlineResponse, error)
- func GetMarkPriceKline(err error, data []byte, res *models.MarketMarkPriceKlineResponse) (*models.MarketMarkPriceKlineResponse, error)
- func GetMarketKlineResponse(err error, data []byte, res *models.MarketKlineResponse) (*models.MarketKlineResponse, *models.MarketKlineResponse, error)
- func GetPremiumIndexKline(err error, data []byte, res *models.MarketPremiumIndexPriceKlineResponse) (*models.MarketPremiumIndexPriceKlineResponse, error)
- func PrettyPrint(i interface{}) string
- func SendRequest(ctx context.Context, opts []RequestOption, r *request, s *BybitClientRequest, ...) ([]byte, error)
- type BybitClientRequest
- func (s *BybitClientRequest) AcceptNonLpQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AccountFixedBorrow(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AccountNoConvertRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AccountRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AddLiquidity(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AddMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AdjustCollateralAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AdjustCryptoLoanToValue(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) AmendBatchOrder(ctx context.Context, opts ...RequestOption) (res *models.BatchOrderServerResponse, err error)
- func (s *BybitClientRequest) AmendOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AmendSpreadOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AmendSpreadTradeOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ApplyFiatQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) AssociateInsLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) BatchCreateTaxReports(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) BatchQueryTaxReports(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) BatchSetCollateralCoin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) BorrowCryptoLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) BorrowFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) BorrowFlexibleLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) C2cCancelRedeemFunds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) C2cDepositFunds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) C2cRedeemFunds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) CancelAllOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelAllQuotes(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelAllRFQ(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelAllSpreadOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelAllSpreadTradeOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelBatchOrder(ctx context.Context, opts ...RequestOption) (res *models.BatchOrderServerResponse, err error)
- func (s *BybitClientRequest) CancelBorrowFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelFixedBorrowOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelRFQ(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelSpreadTradeOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelSupplyFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CancelWithdraw(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ClaimLiquidityInterest(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CloseComboBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CloseDCABot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CloseFGridBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CloseFMartBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CloseGridBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ConfirmConvertQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ConfirmPositionRiskLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateChaseOrderStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateComboBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateDCABot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateFGridBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateFMartBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateGridBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateIcebergStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateInternalTransfer(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreatePovStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateRFQ(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateSpreadOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateSubApiKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateSubMember(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateTaxReport(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateTwapStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateUniversalTransfer(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) CreateWithdraw(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) DeleteMasterAPIKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) DeleteSubAPIKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) DeleteSubUID(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) DemoApplyMoney(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) DistributeBrokerVoucher(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) EditEarnAutoSavings(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ExecuteFiatTrade(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ExecuteLPRedeem(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ExecuteLPStake(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ExecutePredictionBuy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ExecutePredictionSell(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ExecutePurchase(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ExecuteQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ExecuteRedeem(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ExecuteSmallBalanceConvert(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) FixedLoanRepaymentHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) FreezeSubUID(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetADLAlerts(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAPIKeyInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAccountInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAccountInstrumentsInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAccountWallet(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAccountWithdrawalInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAdvanceEarnOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAdvanceEarnPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAdvanceEarnProduct(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAdvanceEarnProductExtraInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAffiliateSubList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAffiliateUserInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAffiliateUserList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAllCoinsBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAllOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAllSubMembersDepositRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAllowedDepositCoin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetApiRateLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAssetDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAssetInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAssetList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAssetOrderRecord(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAssetOverview(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetAvailableAmountToRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetBizTokenDetails(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetBizTokenList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetBizTokenPriceList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetBorrowHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetBorrowableCoins(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetBrokerAccountInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetBrokerEarning(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetC2cLendingAccountInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetC2cLendingCoinInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetC2cLendingOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetChatMessages(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetClosePnl(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCoinBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCoinGreeks(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCoinInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCoinState(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCollateralAdjustHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCollateralCoins(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCollateralInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetComboDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetComboLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetConvertCoinList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetConvertHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetConvertStatus(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCounterpartyUserInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCryptoLoanAdjustHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetCryptoLoanBorrowHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetCryptoLoanBorrowInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetCryptoLoanBorrowLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetCryptoLoanCollateralInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetCryptoLoanCompletedHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetCryptoLoanFixedAvailableInventory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCryptoLoanFixedBorrowOrderQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCryptoLoanFixedSupplyOrderQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCryptoLoanFlexibleAvailableInventory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCryptoLoanMaxCollateral(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetCryptoLoanMaxCollateralAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCryptoLoanPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetCryptoLoanRepaymentHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetCryptoLoanUnpaidLoans(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetCustodianSubAccounts(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetDeliveryPrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetDeliveryRecord(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetDepositRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetDisconnectProtectionInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetDoubleWinLeverage(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetEarnAprHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetEarnProductInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetEarnRedeemOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetEarnRedeemPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetEcActiveOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetEcOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetEcPositionInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetEcSettlements(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetEcTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetExchangeEntityList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetExecutionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFGridDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFMartDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFMartLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFeeGroupStructure(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFeeRate(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFeeRates(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFiatBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFiatCoinList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFiatReferencePrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFiatTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFixedBorrowContract(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFixedBorrowHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFixedBorrowingMarket(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFixedSupplyContract(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFixedSupplyHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFixedSupplyingMarket(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFixedTermOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFixedTermPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFixedTermProduct(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFlexibleBorrowHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFlexibleLoans(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFlexibleRepaymentHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetFundingRateHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetGroupFeeRate(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetHistoryVolatility(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetHoldToEarnProduct(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetHoldToEarnYieldHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetHourlyYieldHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetIndexPriceComponents(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetIndexPriceKline(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetInsLoanInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetInsLoanOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetInsLoanToValue(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetInsMarginCoinInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetInsRepayOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetInstrumentInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetInternalDepositRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetInternalTransferRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLPOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLPPayTokenList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLPPayTokenPrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLPPoolInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLPPoolList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLPPositionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLaunchpoolProjectList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLaunchpoolUserActivityLog(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLaunchpoolUserCurrentStaking(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLaunchpoolUserHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLeverageTokenInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetLeverageTokenMarket(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetLeverageTokenOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) GetLiquidityMiningLiquidationRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLiquidityMiningOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLiquidityMiningPositions(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLiquidityMiningProducts(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLiquidityMiningYieldRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetLongShortRatio(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMMPState(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMarkPriceKline(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMarketInsurance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMarketKline(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMarketRiskLimits(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMarketTickers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMasterAccDepositAddress(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMaxBorrowableAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMaxCollateralAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMovePositionHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMyAdDetails(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetMyAds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetNewDeliveryPrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOpenInterests(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOpenOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOptionAssetInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOptionBaseCoins(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOptionClosedPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOrderBookInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOrderDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetOrderPriceLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetP2PUserInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPayInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPayTokenList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPendingOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPortfolioMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPositionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPositionSymbolInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPositionTiers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPreUpgradeClosedPnl(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPreUpgradeOptionDeliveryRecord(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPreUpgradeOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPreUpgradeTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPreUpgradeTransactionLog(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPreUpgradeUsdcSettlement(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionEngineStatus(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionEventDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionGroupStageDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionMatchList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionOrderBook(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionOrderEstimate(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionPayTokenList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionPortfolioSummary(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionPositionHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionPositionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionPriceHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionSideMarketList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionTimelineStages(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPredictionTokenPrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPremiumIndexPriceKline(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPublicRecentTrades(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetPuzzleProjectList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRFQConfig(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRFQPublicTrades(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRFQQuoteList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRFQQuoteRealtime(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRFQTradeList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRPIOrderBook(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetReferralCampaignRewards(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetReferralCommissionRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetReferralUserIdentityProfile(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetReferralUserInvitations(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRegisterTime(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRenewOrderInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRfqs(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRfqsRealtime(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRwaNavChart(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRwaOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRwaPositionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetRwaProductList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSelfMarketProtectionGroup(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetServerTime(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSingleCoinsBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSmallBalanceConvertHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSmallBalanceConvertQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSmallBalanceList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSmartLeverageRedeemEstAmountList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotBorrowQuota(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotMarginAutoRepayMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotMarginData(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotMarginInterests(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotMarginPositionTiers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotMarginState(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotMarginTradeCoinState(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotMarginTradeFlexibleAvailableInventory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotMarginTradeMaxBorrowable(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpotMarginTradeRepaymentAvailableAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadExecutionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadInstrumentsInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadMaxQty(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadOpenOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadOrderbook(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadRecentTrade(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadRecentTrades(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadTickers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadTradeInstrumentsInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadTradeOrderBook(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadTradeOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSpreadTradeTickers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSubAccDepositAddress(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSubAccUids(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSubMemberDepositRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSubUidApiKeysInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSubUidList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetSubUidListUnlimited(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTaxReportStatus(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTaxReportUrl(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTieredCollateralData(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTokenDailyYield(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTokenHistoricalApr(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTokenHourlyYield(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTokenOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTokenPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTokenProduct(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTokenSplashProjectList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTokenSplashUserActivityParams(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTotalMembersAssets(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTradeInfoForAnalysis(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTradeQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTransactionLog(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTransferableAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetTransferableCoin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetUidWalletType(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetUniversalTransferRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetUsdcSettlement(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetUserPayment(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetUserSettingConfig(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetUserSettings(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetWalletBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetWithdrawalAddress(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetWithdrawalAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetWithdrawalRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) GetYieldHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) InsLoanCoinDeltaAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) InsLoanDelayLiqStatus(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) InsLoanEnsureTokens(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ListEarnAutoSavings(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ListEarnCoupons(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ManualBorrow(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ManualRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ManualRepayWithoutAssetConversion(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) MarkOrderAsPaid(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ModifyEarnPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ModifyMasterAPIKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ModifySubAPIKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) MovePosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PlaceAdvanceEarnOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PlaceBatchOrder(ctx context.Context, opts ...RequestOption) (res *models.BatchOrderServerResponse, err error)
- func (s *BybitClientRequest) PlaceFixedTermOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PlaceOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PlacePreCheckOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PlaceRwaOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PlaceSpreadTradeOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PlaceTokenOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PostAd(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PostCryptoLoanCommonMaxLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PostCryptoLoanFixedBorrow(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PostCryptoLoanFixedFullyRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PostCryptoLoanFixedSupplyOrderCancel(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PurchaseLeverageToken(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) PwmAssetTrend(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmClaim(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmCreateCustomPlan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmFundNav(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmFundTransfer(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmGetNewPlanDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmGetPlanDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInstCreateFund(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInstCreateInvestmentPlan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInstCreateSubAccount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInstGetInvestmentPlans(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInstListFunds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInstListOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInstManageInvestmentPlan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInstManageOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInstSettleProfit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmInvestMore(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmListInvestmentPlans(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmListOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmListProductCards(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmQueryFundTransferResult(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmRedeem(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) PwmSubscribe(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryAll(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryBorrowLiability(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryBrokerAllUidDetails(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryBrokerCap(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryBrokerVoucherSpec(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryCap(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryDistributedBrokerVoucher(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryFiatTrade(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryFixedAvailableInventory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryFixedBorrowContracts(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryFixedBorrowMarket(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryFixedBorrowOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryFixedBorrowPenaltyInterest(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryFundingDetailApi(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryGridDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryReferralCode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryReferrals(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryStrategyList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) QueryStrategyOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RedeemEarnOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RedeemFixedTerm(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RedeemLeverageToken(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) ReinvestLiquidity(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ReleaseAssets(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RemoveAd(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RemoveLiquidity(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RenewBorrowOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RenewFixedBorrow(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RepayCollateral(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RepayCryptoLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) RepayFixedCollateral(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RepayFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RepayFlexibleLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RepayInsLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RepayLiability(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RequestConvertQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) RequestTestFund(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) ResetMarketMakerProtection(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SendChatMessage(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetApiRateLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetBatchCollateralSwitch(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetBrokerApiLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetCollateralCoin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetDepositAccount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetDisconnectCancelAll(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetFixedTermAutoInvest(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetLimitPriceAction(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetMarginMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetMarketMakerProtection(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetPositionAutoMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetPositionLeverage(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetPositionRiskLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) SetPositionTpslMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)deprecated
- func (s *BybitClientRequest) SetPositionTradingStop(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetSpotHedgeMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetSpotMarginAutoRepayMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SetSpotMarginLeverage(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SignAgreement(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) StopStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SupplyFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SwitchPositionMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) SwitchPositionMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ToggleSpotMarginTrade(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) TransferSubMemberSave(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) UpdateAd(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) UpdatePositionMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) UpgradeToUTA(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) UploadChatFile(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ValidateFGridInput(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (s *BybitClientRequest) ValidateGridInput(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- type Client
- func (c *Client) NewClassicalBybitServiceNoParams() *BybitClientRequest
- func (c *Client) NewClassicalBybitServiceWithParams(params map[string]interface{}) *BybitClientRequest
- func (c *Client) NewPlaceOrderService(category, symbol, side, orderType, qty string) *Order
- func (c *Client) NewUtaBybitServiceNoParams() *BybitClientRequest
- func (c *Client) NewUtaBybitServiceWithParams(params map[string]interface{}) *BybitClientRequest
- type ClientOption
- type MessageHandler
- type Order
- func (order *Order) CloseOnTrigger(close bool) *Order
- func (order *Order) Do(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
- func (order *Order) IsLeverage(isLeverage int) *Order
- func (order *Order) MarketUnit(marketUnit string) *Order
- func (order *Order) Mmp(mmp bool) *Order
- func (order *Order) OrderFilter(filter string) *Order
- func (order *Order) OrderIv(iv string) *Order
- func (order *Order) OrderLinkId(orderLinkId string) *Order
- func (order *Order) PositionIdx(idx int) *Order
- func (order *Order) Price(price string) *Order
- func (order *Order) ReduceOnly(reduce bool) *Order
- func (order *Order) SlLimitPrice(price string) *Order
- func (order *Order) SlOrderType(orderType string) *Order
- func (order *Order) SlTriggerBy(triggerBy string) *Order
- func (order *Order) SlippageTolerance(slippageTolerance string) *Order
- func (order *Order) SlippageToleranceType(slippageToleranceType string) *Order
- func (order *Order) SmpType(smp string) *Order
- func (order *Order) StopLoss(loss string) *Order
- func (order *Order) TakeProfit(profit string) *Order
- func (order *Order) TimeInForce(tif string) *Order
- func (order *Order) TpLimitPrice(price string) *Order
- func (order *Order) TpOrderType(orderType string) *Order
- func (order *Order) TpTriggerBy(triggerBy string) *Order
- func (order *Order) TpslMode(mode string) *Order
- func (order *Order) TriggerBy(triggerBy string) *Order
- func (order *Order) TriggerDirection(direction int) *Order
- func (order *Order) TriggerPrice(triggerPrice string) *Order
- type RequestOption
- type ServerResponse
- type WebSocket
- func (b *WebSocket) Connect() *WebSocket
- func (b *WebSocket) Disconnect() error
- func (b *WebSocket) SendRequest(op string, args map[string]interface{}, headers map[string]string, ...) (*WebSocket, error)
- func (b *WebSocket) SendSubscription(args []string) (*WebSocket, error)
- func (b *WebSocket) SendTradeRequest(tradeTruest map[string]interface{}) (*WebSocket, error)
- func (b *WebSocket) SetMessageHandler(handler MessageHandler)
- type WebsocketOption
Constants ¶
const ( Name = "bybit.api.go" Version = "1.1.2" // Https MAINNET = "https://api.bybit.com" MAINNET_BACKT = "https://api.bytick.com" TESTNET = "https://api-testnet.bybit.com" DEMO_ENV = "https://api-demo.bybit.com" NETHERLAND_ENV = "https://api.bybit.nl" HONGKONG_ENV = "https://api.byhkbit.com" TURKEY_ENV = "https://api.bybit-tr.com" KAZAKHSTAN_ENV = "https://api.bybit.kz" // WebSocket public channel - Mainnet SPOT_MAINNET = "wss://stream.bybit.com/v5/public/spot" LINEAR_MAINNET = "wss://stream.bybit.com/v5/public/linear" INVERSE_MAINNET = "wss://stream.bybit.com/v5/public/inverse" SPREAD_MAINNET = "wss://stream.bybit.com/v5/public/spread" // WebSocket public channel - Testnet SPOT_TESTNET = "wss://stream-testnet.bybit.com/v5/public/spot" LINEAR_TESTNET = "wss://stream-testnet.bybit.com/v5/public/linear" INVERSE_TESTNET = "wss://stream-testnet.bybit.com/v5/public/inverse" OPTION_TESTNET = "wss://stream-testnet.bybit.com/v5/public/option" SPREAD_TESTNET = "wss://stream-testnet.bybit.com/v5/public/spread" // WebSocket private channel WEBSOCKET_PRIVATE_MAINNET = "wss://stream.bybit.com/v5/private" WEBSOCKET_TRADE_MAINNET = "wss://stream.bybit.com/v5/trade" WEBSOCKET_PRIVATE_TESTNET = "wss://stream-testnet.bybit.com/v5/private" WEBSOCKET_TRADE_TESTNET = "wss://stream-testnet.bybit.com/v5/trade" WEBSOCKET_PRIVATE_DEMO = "wss://stream-demo.bybit.com/v5/private" WEBSOCKET_TRADE_DEMO = "wss://stream-demo.bybit.com/v5/trade" // Deprecated: V3 is deprecated and replaced by v5 V3_CONTRACT_PRIVATE = "wss://stream.bybit.com/contract/private/v3" V3_UNIFIED_PRIVATE = "wss://stream.bybit.com/unified/private/v3" V3_SPOT_PRIVATE = "wss://stream.bybit.com/spot/private/v3" )
Variables ¶
This section is empty.
Functions ¶
func FormatTimestamp ¶
FormatTimestamp formats a time into Unix timestamp in milliseconds, as requested by Binance.
func GetBatchOrderServerResponse ¶
func GetBatchOrderServerResponse(err error, data []byte) (*models.BatchOrderServerResponse, error)
func GetCurrentTime ¶
func GetCurrentTime() int64
func GetIndexPriceKline ¶
func GetIndexPriceKline(err error, data []byte, res *models.MarketIndexPriceKlineResponse) (*models.MarketIndexPriceKlineResponse, error)
func GetMarkPriceKline ¶
func GetMarkPriceKline(err error, data []byte, res *models.MarketMarkPriceKlineResponse) (*models.MarketMarkPriceKlineResponse, error)
func GetMarketKlineResponse ¶
func GetMarketKlineResponse(err error, data []byte, res *models.MarketKlineResponse) (*models.MarketKlineResponse, *models.MarketKlineResponse, error)
func GetPremiumIndexKline ¶
func GetPremiumIndexKline(err error, data []byte, res *models.MarketPremiumIndexPriceKlineResponse) (*models.MarketPremiumIndexPriceKlineResponse, error)
func PrettyPrint ¶
func PrettyPrint(i interface{}) string
func SendRequest ¶
func SendRequest(ctx context.Context, opts []RequestOption, r *request, s *BybitClientRequest, err error) ([]byte, error)
Types ¶
type BybitClientRequest ¶
type BybitClientRequest struct {
// contains filtered or unexported fields
}
func (*BybitClientRequest) AcceptNonLpQuote ¶ added in v1.1.2
func (s *BybitClientRequest) AcceptNonLpQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) AccountFixedBorrow ¶ added in v1.1.2
func (s *BybitClientRequest) AccountFixedBorrow(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) AccountNoConvertRepay ¶ added in v1.1.2
func (s *BybitClientRequest) AccountNoConvertRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) AccountRepay ¶ added in v1.1.2
func (s *BybitClientRequest) AccountRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) AddLiquidity ¶ added in v1.1.2
func (s *BybitClientRequest) AddLiquidity(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) AddMargin ¶ added in v1.1.2
func (s *BybitClientRequest) AddMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) AdjustCollateralAmount ¶
func (s *BybitClientRequest) AdjustCollateralAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) AdjustCryptoLoanToValue
deprecated
func (s *BybitClientRequest) AdjustCryptoLoanToValue(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: AdjustCryptoLoanToValue is deprecated.
func (*BybitClientRequest) AmendBatchOrder ¶
func (s *BybitClientRequest) AmendBatchOrder(ctx context.Context, opts ...RequestOption) (res *models.BatchOrderServerResponse, err error)
func (*BybitClientRequest) AmendOrder ¶
func (s *BybitClientRequest) AmendOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) AmendSpreadOrder ¶ added in v1.1.2
func (s *BybitClientRequest) AmendSpreadOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) AmendSpreadTradeOrder ¶
func (s *BybitClientRequest) AmendSpreadTradeOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ApplyFiatQuote ¶ added in v1.1.1
func (s *BybitClientRequest) ApplyFiatQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
ApplyFiatQuote applies for a fiat quote
func (*BybitClientRequest) AssociateInsLoan ¶
func (s *BybitClientRequest) AssociateInsLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) BatchCreateTaxReports ¶ added in v1.1.2
func (s *BybitClientRequest) BatchCreateTaxReports(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) BatchQueryTaxReports ¶ added in v1.1.2
func (s *BybitClientRequest) BatchQueryTaxReports(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) BatchSetCollateralCoin ¶
func (s *BybitClientRequest) BatchSetCollateralCoin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) BorrowCryptoLoan
deprecated
func (s *BybitClientRequest) BorrowCryptoLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: BorrowCryptoLoan is deprecated.
func (*BybitClientRequest) BorrowFixedLoan ¶
func (s *BybitClientRequest) BorrowFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) BorrowFlexibleLoan ¶
func (s *BybitClientRequest) BorrowFlexibleLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) C2cCancelRedeemFunds
deprecated
func (s *BybitClientRequest) C2cCancelRedeemFunds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: C2cCancelRedeemFunds is deprecated.
func (*BybitClientRequest) C2cDepositFunds
deprecated
func (s *BybitClientRequest) C2cDepositFunds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: C2cDepositFunds is deprecated.
func (*BybitClientRequest) C2cRedeemFunds
deprecated
func (s *BybitClientRequest) C2cRedeemFunds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: C2cRedeemFunds is deprecated.
func (*BybitClientRequest) CancelAllOrders ¶
func (s *BybitClientRequest) CancelAllOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelAllQuotes ¶ added in v1.1.2
func (s *BybitClientRequest) CancelAllQuotes(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelAllRFQ ¶
func (s *BybitClientRequest) CancelAllRFQ(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
CancelAllRFQ Added in 2025-10-10: Cancel an RFQ inquiry
func (*BybitClientRequest) CancelAllSpreadOrders ¶ added in v1.1.2
func (s *BybitClientRequest) CancelAllSpreadOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelAllSpreadTradeOrder ¶
func (s *BybitClientRequest) CancelAllSpreadTradeOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelBatchOrder ¶
func (s *BybitClientRequest) CancelBatchOrder(ctx context.Context, opts ...RequestOption) (res *models.BatchOrderServerResponse, err error)
func (*BybitClientRequest) CancelBorrowFixedLoan ¶
func (s *BybitClientRequest) CancelBorrowFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelFixedBorrowOrder ¶ added in v1.1.2
func (s *BybitClientRequest) CancelFixedBorrowOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelOrder ¶
func (s *BybitClientRequest) CancelOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelQuote ¶ added in v1.1.2
func (s *BybitClientRequest) CancelQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelRFQ ¶
func (s *BybitClientRequest) CancelRFQ(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
CancelRFQ Added in 2025-10-10: Cancel an RFQ inquiry
func (*BybitClientRequest) CancelSpreadTradeOrder ¶
func (s *BybitClientRequest) CancelSpreadTradeOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelSupplyFixedLoan ¶
func (s *BybitClientRequest) CancelSupplyFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CancelWithdraw ¶
func (s *BybitClientRequest) CancelWithdraw(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ClaimLiquidityInterest ¶ added in v1.1.2
func (s *BybitClientRequest) ClaimLiquidityInterest(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CloseComboBot ¶ added in v1.1.2
func (s *BybitClientRequest) CloseComboBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CloseDCABot ¶ added in v1.1.2
func (s *BybitClientRequest) CloseDCABot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CloseFGridBot ¶ added in v1.1.2
func (s *BybitClientRequest) CloseFGridBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CloseFMartBot ¶ added in v1.1.2
func (s *BybitClientRequest) CloseFMartBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CloseGridBot ¶ added in v1.1.2
func (s *BybitClientRequest) CloseGridBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ConfirmConvertQuote ¶
func (s *BybitClientRequest) ConfirmConvertQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ConfirmPositionRiskLimit ¶
func (s *BybitClientRequest) ConfirmPositionRiskLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateChaseOrderStrategy ¶ added in v1.1.2
func (s *BybitClientRequest) CreateChaseOrderStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateComboBot ¶ added in v1.1.2
func (s *BybitClientRequest) CreateComboBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateDCABot ¶ added in v1.1.2
func (s *BybitClientRequest) CreateDCABot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateFGridBot ¶ added in v1.1.2
func (s *BybitClientRequest) CreateFGridBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateFMartBot ¶ added in v1.1.2
func (s *BybitClientRequest) CreateFMartBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateGridBot ¶ added in v1.1.2
func (s *BybitClientRequest) CreateGridBot(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateIcebergStrategy ¶ added in v1.1.2
func (s *BybitClientRequest) CreateIcebergStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateInternalTransfer ¶
func (s *BybitClientRequest) CreateInternalTransfer(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreatePovStrategy ¶ added in v1.1.2
func (s *BybitClientRequest) CreatePovStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateQuote ¶ added in v1.1.2
func (s *BybitClientRequest) CreateQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateRFQ ¶
func (s *BybitClientRequest) CreateRFQ(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateSpreadOrder ¶ added in v1.1.2
func (s *BybitClientRequest) CreateSpreadOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateSubApiKey ¶
func (s *BybitClientRequest) CreateSubApiKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateSubMember ¶
func (s *BybitClientRequest) CreateSubMember(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateTaxReport ¶ added in v1.1.2
func (s *BybitClientRequest) CreateTaxReport(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateTwapStrategy ¶ added in v1.1.2
func (s *BybitClientRequest) CreateTwapStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateUniversalTransfer ¶
func (s *BybitClientRequest) CreateUniversalTransfer(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) CreateWithdraw ¶
func (s *BybitClientRequest) CreateWithdraw(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) DeleteMasterAPIKey ¶
func (s *BybitClientRequest) DeleteMasterAPIKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) DeleteSubAPIKey ¶
func (s *BybitClientRequest) DeleteSubAPIKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) DeleteSubUID ¶
func (s *BybitClientRequest) DeleteSubUID(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) DemoApplyMoney ¶ added in v1.1.2
func (s *BybitClientRequest) DemoApplyMoney(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) DistributeBrokerVoucher ¶
func (s *BybitClientRequest) DistributeBrokerVoucher(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) EditEarnAutoSavings ¶ added in v1.1.2
func (s *BybitClientRequest) EditEarnAutoSavings(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ExecuteFiatTrade ¶ added in v1.1.1
func (s *BybitClientRequest) ExecuteFiatTrade(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
ExecuteFiatTrade executes a fiat trade
func (*BybitClientRequest) ExecuteLPRedeem ¶ added in v1.1.2
func (s *BybitClientRequest) ExecuteLPRedeem(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ExecuteLPStake ¶ added in v1.1.2
func (s *BybitClientRequest) ExecuteLPStake(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ExecutePredictionBuy ¶ added in v1.1.2
func (s *BybitClientRequest) ExecutePredictionBuy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ExecutePredictionSell ¶ added in v1.1.2
func (s *BybitClientRequest) ExecutePredictionSell(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ExecutePurchase ¶ added in v1.1.2
func (s *BybitClientRequest) ExecutePurchase(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ExecuteQuote ¶ added in v1.1.2
func (s *BybitClientRequest) ExecuteQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ExecuteRedeem ¶ added in v1.1.2
func (s *BybitClientRequest) ExecuteRedeem(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ExecuteSmallBalanceConvert ¶ added in v1.1.1
func (s *BybitClientRequest) ExecuteSmallBalanceConvert(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
ExecuteSmallBalanceConvert executes the small balance conversion
func (*BybitClientRequest) FixedLoanRepaymentHistory ¶
func (s *BybitClientRequest) FixedLoanRepaymentHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) FreezeSubUID ¶
func (s *BybitClientRequest) FreezeSubUID(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetADLAlerts ¶
func (s *BybitClientRequest) GetADLAlerts(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetADLAlerts
func (*BybitClientRequest) GetAPIKeyInfo ¶
func (s *BybitClientRequest) GetAPIKeyInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAccountInfo ¶
func (s *BybitClientRequest) GetAccountInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAccountInstrumentsInfo ¶
func (s *BybitClientRequest) GetAccountInstrumentsInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetAccountInstrumentsInfo
func (*BybitClientRequest) GetAccountWallet ¶
func (s *BybitClientRequest) GetAccountWallet(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAccountWithdrawalInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetAccountWithdrawalInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAds ¶ added in v1.1.2
func (s *BybitClientRequest) GetAds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAdvanceEarnOrder ¶ added in v1.1.2
func (s *BybitClientRequest) GetAdvanceEarnOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAdvanceEarnPosition ¶ added in v1.1.2
func (s *BybitClientRequest) GetAdvanceEarnPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAdvanceEarnProduct ¶ added in v1.1.2
func (s *BybitClientRequest) GetAdvanceEarnProduct(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAdvanceEarnProductExtraInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetAdvanceEarnProductExtraInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAffiliateSubList ¶ added in v1.1.2
func (s *BybitClientRequest) GetAffiliateSubList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAffiliateUserInfo ¶
func (s *BybitClientRequest) GetAffiliateUserInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAffiliateUserList ¶
func (s *BybitClientRequest) GetAffiliateUserList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetAffiliateUserList returns the affiliate user list from the new endpoint. Note: the underlying REST path changed from /v5/user/aff-customer-list to /v5/affiliate/aff-user-list in v1.1.0. If you relied on the old path, use GetAffiliateCustomerList instead during the transition period.
func (*BybitClientRequest) GetAllCoinsBalance ¶
func (s *BybitClientRequest) GetAllCoinsBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAllOrders ¶ added in v1.1.2
func (s *BybitClientRequest) GetAllOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAllSubMembersDepositRecords ¶
func (s *BybitClientRequest) GetAllSubMembersDepositRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAllowedDepositCoin ¶
func (s *BybitClientRequest) GetAllowedDepositCoin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetApiRateLimit ¶ added in v1.1.1
func (s *BybitClientRequest) GetApiRateLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetApiRateLimit queries the API rate limit
func (*BybitClientRequest) GetAssetDetail ¶ added in v1.1.2
func (s *BybitClientRequest) GetAssetDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAssetInfo ¶
func (s *BybitClientRequest) GetAssetInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAssetList ¶ added in v1.1.2
func (s *BybitClientRequest) GetAssetList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAssetOrderRecord ¶
func (s *BybitClientRequest) GetAssetOrderRecord(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAssetOverview ¶ added in v1.1.2
func (s *BybitClientRequest) GetAssetOverview(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetAvailableAmountToRepay ¶
func (s *BybitClientRequest) GetAvailableAmountToRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetAvailableAmountToRepay
func (*BybitClientRequest) GetBizTokenDetails ¶ added in v1.1.2
func (s *BybitClientRequest) GetBizTokenDetails(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetBizTokenList ¶ added in v1.1.2
func (s *BybitClientRequest) GetBizTokenList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetBizTokenPriceList ¶ added in v1.1.2
func (s *BybitClientRequest) GetBizTokenPriceList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetBorrowHistory ¶
func (s *BybitClientRequest) GetBorrowHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetBorrowableCoins ¶
func (s *BybitClientRequest) GetBorrowableCoins(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetBrokerAccountInfo ¶
func (s *BybitClientRequest) GetBrokerAccountInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetBrokerEarning ¶
func (s *BybitClientRequest) GetBrokerEarning(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetC2cLendingAccountInfo
deprecated
func (s *BybitClientRequest) GetC2cLendingAccountInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetC2cLendingAccountInfo is deprecated.
func (*BybitClientRequest) GetC2cLendingCoinInfo
deprecated
func (s *BybitClientRequest) GetC2cLendingCoinInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetC2cLendingCoinInfo is deprecated.
func (*BybitClientRequest) GetC2cLendingOrders
deprecated
func (s *BybitClientRequest) GetC2cLendingOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetC2cLendingOrders is deprecated.
func (*BybitClientRequest) GetChatMessages ¶ added in v1.1.2
func (s *BybitClientRequest) GetChatMessages(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetClosePnl ¶
func (s *BybitClientRequest) GetClosePnl(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCoinBalance ¶ added in v1.1.2
func (s *BybitClientRequest) GetCoinBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCoinGreeks ¶
func (s *BybitClientRequest) GetCoinGreeks(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCoinInfo ¶
func (s *BybitClientRequest) GetCoinInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCoinState ¶
func (s *BybitClientRequest) GetCoinState(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetCoinState
func (*BybitClientRequest) GetCollateralAdjustHistory ¶
func (s *BybitClientRequest) GetCollateralAdjustHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCollateralCoins ¶
func (s *BybitClientRequest) GetCollateralCoins(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCollateralInfo ¶
func (s *BybitClientRequest) GetCollateralInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetComboDetail ¶ added in v1.1.2
func (s *BybitClientRequest) GetComboDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetComboLimit ¶ added in v1.1.2
func (s *BybitClientRequest) GetComboLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetConvertCoinList ¶
func (s *BybitClientRequest) GetConvertCoinList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetConvertHistory ¶
func (s *BybitClientRequest) GetConvertHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetConvertStatus ¶
func (s *BybitClientRequest) GetConvertStatus(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCounterpartyUserInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetCounterpartyUserInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCryptoLoanAdjustHistory
deprecated
func (s *BybitClientRequest) GetCryptoLoanAdjustHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetCryptoLoanAdjustHistory is deprecated.
func (*BybitClientRequest) GetCryptoLoanBorrowHistory
deprecated
func (s *BybitClientRequest) GetCryptoLoanBorrowHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetCryptoLoanBorrowHistory is deprecated.
func (*BybitClientRequest) GetCryptoLoanBorrowInfo
deprecated
func (s *BybitClientRequest) GetCryptoLoanBorrowInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetCryptoLoanBorrowInfo is deprecated.
func (*BybitClientRequest) GetCryptoLoanBorrowLimit
deprecated
func (s *BybitClientRequest) GetCryptoLoanBorrowLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetCryptoLoanBorrowLimit is deprecated.
func (*BybitClientRequest) GetCryptoLoanCollateralInfo
deprecated
func (s *BybitClientRequest) GetCryptoLoanCollateralInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetCryptoLoanCollateralInfo is deprecated.
func (*BybitClientRequest) GetCryptoLoanCompletedHistory
deprecated
func (s *BybitClientRequest) GetCryptoLoanCompletedHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetCryptoLoanCompletedHistory is deprecated.
func (*BybitClientRequest) GetCryptoLoanFixedAvailableInventory ¶ added in v1.1.2
func (s *BybitClientRequest) GetCryptoLoanFixedAvailableInventory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCryptoLoanFixedBorrowOrderQuote ¶ added in v1.1.2
func (s *BybitClientRequest) GetCryptoLoanFixedBorrowOrderQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCryptoLoanFixedSupplyOrderQuote ¶ added in v1.1.2
func (s *BybitClientRequest) GetCryptoLoanFixedSupplyOrderQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCryptoLoanFlexibleAvailableInventory ¶ added in v1.1.2
func (s *BybitClientRequest) GetCryptoLoanFlexibleAvailableInventory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCryptoLoanMaxCollateral
deprecated
func (s *BybitClientRequest) GetCryptoLoanMaxCollateral(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetCryptoLoanMaxCollateral is deprecated.
func (*BybitClientRequest) GetCryptoLoanMaxCollateralAmount ¶ added in v1.1.1
func (s *BybitClientRequest) GetCryptoLoanMaxCollateralAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetCryptoLoanMaxCollateralAmount gets the max collateral amount for crypto loan
func (*BybitClientRequest) GetCryptoLoanPosition ¶
func (s *BybitClientRequest) GetCryptoLoanPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetCryptoLoanRepaymentHistory
deprecated
func (s *BybitClientRequest) GetCryptoLoanRepaymentHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetCryptoLoanRepaymentHistory is deprecated.
func (*BybitClientRequest) GetCryptoLoanUnpaidLoans
deprecated
func (s *BybitClientRequest) GetCryptoLoanUnpaidLoans(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetCryptoLoanUnpaidLoans is deprecated.
func (*BybitClientRequest) GetCustodianSubAccounts ¶
func (s *BybitClientRequest) GetCustodianSubAccounts(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetDeliveryPrice ¶
func (s *BybitClientRequest) GetDeliveryPrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetDeliveryRecord ¶
func (s *BybitClientRequest) GetDeliveryRecord(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetDepositRecords ¶
func (s *BybitClientRequest) GetDepositRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetDisconnectProtectionInfo ¶
func (s *BybitClientRequest) GetDisconnectProtectionInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetDoubleWinLeverage ¶ added in v1.1.2
func (s *BybitClientRequest) GetDoubleWinLeverage(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetEarnAprHistory ¶ added in v1.1.2
func (s *BybitClientRequest) GetEarnAprHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetEarnProductInfo ¶
func (s *BybitClientRequest) GetEarnProductInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetEarnRedeemOrder ¶
func (s *BybitClientRequest) GetEarnRedeemOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetEarnRedeemPosition ¶
func (s *BybitClientRequest) GetEarnRedeemPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetEcActiveOrders ¶ added in v1.1.2
func (s *BybitClientRequest) GetEcActiveOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetEcOrderHistory ¶ added in v1.1.2
func (s *BybitClientRequest) GetEcOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetEcPositionInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetEcPositionInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetEcSettlements ¶ added in v1.1.2
func (s *BybitClientRequest) GetEcSettlements(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetEcTradeHistory ¶ added in v1.1.2
func (s *BybitClientRequest) GetEcTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetExchangeEntityList ¶
func (s *BybitClientRequest) GetExchangeEntityList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetExecutionList ¶ added in v1.1.2
func (s *BybitClientRequest) GetExecutionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFGridDetail ¶ added in v1.1.2
func (s *BybitClientRequest) GetFGridDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFMartDetail ¶ added in v1.1.2
func (s *BybitClientRequest) GetFMartDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFMartLimit ¶ added in v1.1.2
func (s *BybitClientRequest) GetFMartLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFeeGroupStructure ¶
func (s *BybitClientRequest) GetFeeGroupStructure(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetFeeGroupStructure
func (*BybitClientRequest) GetFeeRate ¶ added in v1.1.2
func (s *BybitClientRequest) GetFeeRate(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFeeRates ¶
func (s *BybitClientRequest) GetFeeRates(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFiatBalance ¶ added in v1.1.1
func (s *BybitClientRequest) GetFiatBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetFiatBalance queries the fiat balance
func (*BybitClientRequest) GetFiatCoinList ¶ added in v1.1.1
func (s *BybitClientRequest) GetFiatCoinList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetFiatCoinList queries the list of supported fiat coins
func (*BybitClientRequest) GetFiatReferencePrice ¶ added in v1.1.1
func (s *BybitClientRequest) GetFiatReferencePrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetFiatReferencePrice gets the fiat reference price
func (*BybitClientRequest) GetFiatTradeHistory ¶ added in v1.1.1
func (s *BybitClientRequest) GetFiatTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetFiatTradeHistory gets the fiat trade history
func (*BybitClientRequest) GetFixedBorrowContract ¶
func (s *BybitClientRequest) GetFixedBorrowContract(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFixedBorrowHistory ¶
func (s *BybitClientRequest) GetFixedBorrowHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFixedBorrowingMarket ¶
func (s *BybitClientRequest) GetFixedBorrowingMarket(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFixedSupplyContract ¶
func (s *BybitClientRequest) GetFixedSupplyContract(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFixedSupplyHistory ¶
func (s *BybitClientRequest) GetFixedSupplyHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFixedSupplyingMarket ¶
func (s *BybitClientRequest) GetFixedSupplyingMarket(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFixedTermOrder ¶ added in v1.1.2
func (s *BybitClientRequest) GetFixedTermOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFixedTermPosition ¶ added in v1.1.2
func (s *BybitClientRequest) GetFixedTermPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFixedTermProduct ¶ added in v1.1.2
func (s *BybitClientRequest) GetFixedTermProduct(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFlexibleBorrowHistory ¶
func (s *BybitClientRequest) GetFlexibleBorrowHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFlexibleLoans ¶
func (s *BybitClientRequest) GetFlexibleLoans(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFlexibleRepaymentHistory ¶
func (s *BybitClientRequest) GetFlexibleRepaymentHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetFundingRateHistory ¶
func (s *BybitClientRequest) GetFundingRateHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetGroupFeeRate ¶ added in v1.1.2
func (s *BybitClientRequest) GetGroupFeeRate(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetHistoryVolatility ¶
func (s *BybitClientRequest) GetHistoryVolatility(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetHoldToEarnProduct ¶ added in v1.1.2
func (s *BybitClientRequest) GetHoldToEarnProduct(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetHoldToEarnYieldHistory ¶ added in v1.1.2
func (s *BybitClientRequest) GetHoldToEarnYieldHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetHourlyYieldHistory ¶
func (s *BybitClientRequest) GetHourlyYieldHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetHourlyYieldHistory
func (*BybitClientRequest) GetIndexPriceComponents ¶
func (s *BybitClientRequest) GetIndexPriceComponents(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetIndexPriceComponents
func (*BybitClientRequest) GetIndexPriceKline ¶
func (s *BybitClientRequest) GetIndexPriceKline(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetInsLoanInfo ¶
func (s *BybitClientRequest) GetInsLoanInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetInsLoanOrders ¶
func (s *BybitClientRequest) GetInsLoanOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetInsLoanToValue ¶
func (s *BybitClientRequest) GetInsLoanToValue(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetInsMarginCoinInfo ¶
func (s *BybitClientRequest) GetInsMarginCoinInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetInsRepayOrders ¶
func (s *BybitClientRequest) GetInsRepayOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetInstrumentInfo ¶
func (s *BybitClientRequest) GetInstrumentInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetInternalDepositRecords ¶
func (s *BybitClientRequest) GetInternalDepositRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetInternalTransferRecords ¶
func (s *BybitClientRequest) GetInternalTransferRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLPOrderList ¶ added in v1.1.2
func (s *BybitClientRequest) GetLPOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLPPayTokenList ¶ added in v1.1.2
func (s *BybitClientRequest) GetLPPayTokenList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLPPayTokenPrice ¶ added in v1.1.2
func (s *BybitClientRequest) GetLPPayTokenPrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLPPoolInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetLPPoolInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLPPoolList ¶ added in v1.1.2
func (s *BybitClientRequest) GetLPPoolList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLPPositionList ¶ added in v1.1.2
func (s *BybitClientRequest) GetLPPositionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLaunchpoolProjectList ¶ added in v1.1.2
func (s *BybitClientRequest) GetLaunchpoolProjectList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLaunchpoolUserActivityLog ¶ added in v1.1.2
func (s *BybitClientRequest) GetLaunchpoolUserActivityLog(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLaunchpoolUserCurrentStaking ¶ added in v1.1.2
func (s *BybitClientRequest) GetLaunchpoolUserCurrentStaking(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLaunchpoolUserHistory ¶ added in v1.1.2
func (s *BybitClientRequest) GetLaunchpoolUserHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLeverageTokenInfo
deprecated
func (s *BybitClientRequest) GetLeverageTokenInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetLeverageTokenInfo is deprecated.
func (*BybitClientRequest) GetLeverageTokenMarket
deprecated
func (s *BybitClientRequest) GetLeverageTokenMarket(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetLeverageTokenMarket is deprecated.
func (*BybitClientRequest) GetLeverageTokenOrders
deprecated
func (s *BybitClientRequest) GetLeverageTokenOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: GetLeverageTokenOrders is deprecated.
func (*BybitClientRequest) GetLiquidityMiningLiquidationRecords ¶ added in v1.1.2
func (s *BybitClientRequest) GetLiquidityMiningLiquidationRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLiquidityMiningOrders ¶ added in v1.1.2
func (s *BybitClientRequest) GetLiquidityMiningOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLiquidityMiningPositions ¶ added in v1.1.2
func (s *BybitClientRequest) GetLiquidityMiningPositions(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLiquidityMiningProducts ¶ added in v1.1.2
func (s *BybitClientRequest) GetLiquidityMiningProducts(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLiquidityMiningYieldRecords ¶ added in v1.1.2
func (s *BybitClientRequest) GetLiquidityMiningYieldRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetLongShortRatio ¶
func (s *BybitClientRequest) GetLongShortRatio(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMMPState ¶
func (s *BybitClientRequest) GetMMPState(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMarkPriceKline ¶
func (s *BybitClientRequest) GetMarkPriceKline(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMarketInsurance ¶
func (s *BybitClientRequest) GetMarketInsurance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMarketKline ¶
func (s *BybitClientRequest) GetMarketKline(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMarketRiskLimits ¶
func (s *BybitClientRequest) GetMarketRiskLimits(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMarketTickers ¶
func (s *BybitClientRequest) GetMarketTickers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMasterAccDepositAddress ¶
func (s *BybitClientRequest) GetMasterAccDepositAddress(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMaxBorrowableAmount ¶
func (s *BybitClientRequest) GetMaxBorrowableAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetMaxBorrowableAmount
func (*BybitClientRequest) GetMaxCollateralAmount ¶
func (s *BybitClientRequest) GetMaxCollateralAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMovePositionHistory ¶
func (s *BybitClientRequest) GetMovePositionHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMyAdDetails ¶ added in v1.1.2
func (s *BybitClientRequest) GetMyAdDetails(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetMyAds ¶ added in v1.1.2
func (s *BybitClientRequest) GetMyAds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetNewDeliveryPrice ¶
func (s *BybitClientRequest) GetNewDeliveryPrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetNewDeliveryPrice
func (*BybitClientRequest) GetOpenInterests ¶
func (s *BybitClientRequest) GetOpenInterests(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetOpenOrders ¶
func (s *BybitClientRequest) GetOpenOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetOptionAssetInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetOptionAssetInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetOptionBaseCoins ¶ added in v1.1.2
func (s *BybitClientRequest) GetOptionBaseCoins(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetOptionClosedPosition ¶
func (s *BybitClientRequest) GetOptionClosedPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetOrderBookInfo ¶
func (s *BybitClientRequest) GetOrderBookInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetOrderDetail ¶ added in v1.1.2
func (s *BybitClientRequest) GetOrderDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetOrderHistory ¶
func (s *BybitClientRequest) GetOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetOrderList ¶ added in v1.1.2
func (s *BybitClientRequest) GetOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetOrderPriceLimit ¶
func (s *BybitClientRequest) GetOrderPriceLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetP2PUserInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetP2PUserInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPayInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetPayInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPayTokenList ¶ added in v1.1.2
func (s *BybitClientRequest) GetPayTokenList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPendingOrders ¶ added in v1.1.2
func (s *BybitClientRequest) GetPendingOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPortfolioMargin ¶ added in v1.1.2
func (s *BybitClientRequest) GetPortfolioMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPositionList ¶
func (s *BybitClientRequest) GetPositionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPositionSymbolInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetPositionSymbolInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPositionTiers ¶
func (s *BybitClientRequest) GetPositionTiers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetPositionTiers
func (*BybitClientRequest) GetPreUpgradeClosedPnl ¶
func (s *BybitClientRequest) GetPreUpgradeClosedPnl(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPreUpgradeOptionDeliveryRecord ¶
func (s *BybitClientRequest) GetPreUpgradeOptionDeliveryRecord(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPreUpgradeOrderHistory ¶
func (s *BybitClientRequest) GetPreUpgradeOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPreUpgradeTradeHistory ¶
func (s *BybitClientRequest) GetPreUpgradeTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPreUpgradeTransactionLog ¶
func (s *BybitClientRequest) GetPreUpgradeTransactionLog(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPreUpgradeUsdcSettlement ¶
func (s *BybitClientRequest) GetPreUpgradeUsdcSettlement(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionEngineStatus ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionEngineStatus(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionEventDetail ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionEventDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionGroupStageDetail ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionGroupStageDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionMatchList ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionMatchList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionOrderBook ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionOrderBook(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionOrderEstimate ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionOrderEstimate(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionOrderList ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionPayTokenList ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionPayTokenList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionPortfolioSummary ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionPortfolioSummary(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionPositionHistory ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionPositionHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionPositionList ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionPositionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionPriceHistory ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionPriceHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionSideMarketList ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionSideMarketList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionTimelineStages ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionTimelineStages(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPredictionTokenPrice ¶ added in v1.1.2
func (s *BybitClientRequest) GetPredictionTokenPrice(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPremiumIndexPriceKline ¶
func (s *BybitClientRequest) GetPremiumIndexPriceKline(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPublicRecentTrades ¶
func (s *BybitClientRequest) GetPublicRecentTrades(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetPuzzleProjectList ¶ added in v1.1.2
func (s *BybitClientRequest) GetPuzzleProjectList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetRFQConfig ¶
func (s *BybitClientRequest) GetRFQConfig(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetRFQPublicTrades ¶
func (s *BybitClientRequest) GetRFQPublicTrades(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetRFQPublicTrades Added in 2025-10-10: Get RFQ public trades
func (*BybitClientRequest) GetRFQQuoteList ¶
func (s *BybitClientRequest) GetRFQQuoteList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetRFQQuoteList Added in 2025-10-10: Query RFQ quote list
func (*BybitClientRequest) GetRFQQuoteRealtime ¶
func (s *BybitClientRequest) GetRFQQuoteRealtime(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetRFQQuoteRealtime Added in 2025-10-10: Get RFQ quote realtime information
func (*BybitClientRequest) GetRFQTradeList ¶
func (s *BybitClientRequest) GetRFQTradeList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetRFQTradeList Added in 2025-10-10: Get RFQ trade list
func (*BybitClientRequest) GetRPIOrderBook ¶
func (s *BybitClientRequest) GetRPIOrderBook(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetRPIOrderBook
func (*BybitClientRequest) GetReferralCampaignRewards ¶ added in v1.1.2
func (s *BybitClientRequest) GetReferralCampaignRewards(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetReferralCommissionRecords ¶ added in v1.1.2
func (s *BybitClientRequest) GetReferralCommissionRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetReferralUserIdentityProfile ¶ added in v1.1.2
func (s *BybitClientRequest) GetReferralUserIdentityProfile(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetReferralUserInvitations ¶ added in v1.1.2
func (s *BybitClientRequest) GetReferralUserInvitations(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetRegisterTime ¶ added in v1.1.2
func (s *BybitClientRequest) GetRegisterTime(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetRenewOrderInfo ¶
func (s *BybitClientRequest) GetRenewOrderInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetRenewOrderInfo
func (*BybitClientRequest) GetRfqs ¶ added in v1.1.2
func (s *BybitClientRequest) GetRfqs(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetRfqsRealtime ¶ added in v1.1.2
func (s *BybitClientRequest) GetRfqsRealtime(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetRwaNavChart ¶ added in v1.1.2
func (s *BybitClientRequest) GetRwaNavChart(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetRwaOrderList ¶ added in v1.1.2
func (s *BybitClientRequest) GetRwaOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetRwaPositionList ¶ added in v1.1.2
func (s *BybitClientRequest) GetRwaPositionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetRwaProductList ¶ added in v1.1.2
func (s *BybitClientRequest) GetRwaProductList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSelfMarketProtectionGroup ¶
func (s *BybitClientRequest) GetSelfMarketProtectionGroup(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetServerTime ¶
func (s *BybitClientRequest) GetServerTime(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSingleCoinsBalance ¶
func (s *BybitClientRequest) GetSingleCoinsBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSmallBalanceConvertHistory ¶ added in v1.1.1
func (s *BybitClientRequest) GetSmallBalanceConvertHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetSmallBalanceConvertHistory gets the history of small balance conversions
func (*BybitClientRequest) GetSmallBalanceConvertQuote ¶ added in v1.1.1
func (s *BybitClientRequest) GetSmallBalanceConvertQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetSmallBalanceConvertQuote gets a quote for converting small balances
func (*BybitClientRequest) GetSmallBalanceList ¶ added in v1.1.1
func (s *BybitClientRequest) GetSmallBalanceList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetSmallBalanceList gets the list of small balances that can be converted
func (*BybitClientRequest) GetSmartLeverageRedeemEstAmountList ¶ added in v1.1.2
func (s *BybitClientRequest) GetSmartLeverageRedeemEstAmountList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotBorrowQuota ¶
func (s *BybitClientRequest) GetSpotBorrowQuota(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotMarginAutoRepayMode ¶
func (s *BybitClientRequest) GetSpotMarginAutoRepayMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotMarginData ¶
func (s *BybitClientRequest) GetSpotMarginData(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotMarginInterests ¶
func (s *BybitClientRequest) GetSpotMarginInterests(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotMarginPositionTiers ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpotMarginPositionTiers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotMarginState ¶
func (s *BybitClientRequest) GetSpotMarginState(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotMarginTradeCoinState ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpotMarginTradeCoinState(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotMarginTradeFlexibleAvailableInventory ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpotMarginTradeFlexibleAvailableInventory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotMarginTradeMaxBorrowable ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpotMarginTradeMaxBorrowable(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpotMarginTradeRepaymentAvailableAmount ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpotMarginTradeRepaymentAvailableAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadExecutionList ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpreadExecutionList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadInstrumentsInfo ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpreadInstrumentsInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadMaxQty ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpreadMaxQty(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadOpenOrders ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpreadOpenOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadOrderHistory ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpreadOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadOrderbook ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpreadOrderbook(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadRecentTrade ¶
func (s *BybitClientRequest) GetSpreadRecentTrade(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadRecentTrades ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpreadRecentTrades(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadTickers ¶ added in v1.1.2
func (s *BybitClientRequest) GetSpreadTickers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadTradeHistory ¶
func (s *BybitClientRequest) GetSpreadTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadTradeInstrumentsInfo ¶
func (s *BybitClientRequest) GetSpreadTradeInstrumentsInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadTradeOrderBook ¶
func (s *BybitClientRequest) GetSpreadTradeOrderBook(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadTradeOrderHistory ¶
func (s *BybitClientRequest) GetSpreadTradeOrderHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSpreadTradeTickers ¶
func (s *BybitClientRequest) GetSpreadTradeTickers(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSubAccDepositAddress ¶
func (s *BybitClientRequest) GetSubAccDepositAddress(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSubAccUids ¶
func (s *BybitClientRequest) GetSubAccUids(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSubMemberDepositRecords ¶
func (s *BybitClientRequest) GetSubMemberDepositRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSubUidApiKeysInfo ¶
func (s *BybitClientRequest) GetSubUidApiKeysInfo(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSubUidList ¶
func (s *BybitClientRequest) GetSubUidList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetSubUidListUnlimited ¶
func (s *BybitClientRequest) GetSubUidListUnlimited(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTaxReportStatus ¶ added in v1.1.2
func (s *BybitClientRequest) GetTaxReportStatus(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTaxReportUrl ¶ added in v1.1.2
func (s *BybitClientRequest) GetTaxReportUrl(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTieredCollateralData ¶
func (s *BybitClientRequest) GetTieredCollateralData(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTokenDailyYield ¶ added in v1.1.2
func (s *BybitClientRequest) GetTokenDailyYield(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTokenHistoricalApr ¶ added in v1.1.2
func (s *BybitClientRequest) GetTokenHistoricalApr(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTokenHourlyYield ¶ added in v1.1.2
func (s *BybitClientRequest) GetTokenHourlyYield(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTokenOrderList ¶ added in v1.1.2
func (s *BybitClientRequest) GetTokenOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTokenPosition ¶ added in v1.1.2
func (s *BybitClientRequest) GetTokenPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTokenProduct ¶ added in v1.1.2
func (s *BybitClientRequest) GetTokenProduct(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTokenSplashProjectList ¶ added in v1.1.2
func (s *BybitClientRequest) GetTokenSplashProjectList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTokenSplashUserActivityParams ¶ added in v1.1.2
func (s *BybitClientRequest) GetTokenSplashUserActivityParams(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTotalMembersAssets ¶ added in v1.1.2
func (s *BybitClientRequest) GetTotalMembersAssets(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTradeHistory ¶
func (s *BybitClientRequest) GetTradeHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTradeInfoForAnalysis ¶ added in v1.1.2
func (s *BybitClientRequest) GetTradeInfoForAnalysis(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTradeQuote ¶ added in v1.1.2
func (s *BybitClientRequest) GetTradeQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTransactionLog ¶
func (s *BybitClientRequest) GetTransactionLog(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTransferableAmount ¶
func (s *BybitClientRequest) GetTransferableAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetTransferableCoin ¶
func (s *BybitClientRequest) GetTransferableCoin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetUidWalletType ¶
func (s *BybitClientRequest) GetUidWalletType(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetUniversalTransferRecords ¶
func (s *BybitClientRequest) GetUniversalTransferRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetUsdcSettlement ¶
func (s *BybitClientRequest) GetUsdcSettlement(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetUserPayment ¶ added in v1.1.2
func (s *BybitClientRequest) GetUserPayment(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetUserSettingConfig ¶
func (s *BybitClientRequest) GetUserSettingConfig(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetUserSettings ¶ added in v1.1.2
func (s *BybitClientRequest) GetUserSettings(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetWalletBalance ¶ added in v1.1.2
func (s *BybitClientRequest) GetWalletBalance(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetWithdrawalAddress ¶
func (s *BybitClientRequest) GetWithdrawalAddress(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetWithdrawalAddress
func (*BybitClientRequest) GetWithdrawalAmount ¶
func (s *BybitClientRequest) GetWithdrawalAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetWithdrawalRecords ¶
func (s *BybitClientRequest) GetWithdrawalRecords(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) GetYieldHistory ¶
func (s *BybitClientRequest) GetYieldHistory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
GetYieldHistory
func (*BybitClientRequest) InsLoanCoinDeltaAmount ¶ added in v1.1.2
func (s *BybitClientRequest) InsLoanCoinDeltaAmount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) InsLoanDelayLiqStatus ¶ added in v1.1.2
func (s *BybitClientRequest) InsLoanDelayLiqStatus(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) InsLoanEnsureTokens ¶ added in v1.1.2
func (s *BybitClientRequest) InsLoanEnsureTokens(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ListEarnAutoSavings ¶ added in v1.1.2
func (s *BybitClientRequest) ListEarnAutoSavings(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ListEarnCoupons ¶ added in v1.1.2
func (s *BybitClientRequest) ListEarnCoupons(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ManualBorrow ¶
func (s *BybitClientRequest) ManualBorrow(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
ManualBorrow
func (*BybitClientRequest) ManualRepay ¶
func (s *BybitClientRequest) ManualRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
ManualRepay
func (*BybitClientRequest) ManualRepayWithoutAssetConversion ¶
func (s *BybitClientRequest) ManualRepayWithoutAssetConversion(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
ManualRepayWithoutAssetConversion
func (*BybitClientRequest) MarkOrderAsPaid ¶ added in v1.1.2
func (s *BybitClientRequest) MarkOrderAsPaid(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ModifyEarnPosition ¶ added in v1.1.2
func (s *BybitClientRequest) ModifyEarnPosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ModifyMasterAPIKey ¶
func (s *BybitClientRequest) ModifyMasterAPIKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ModifySubAPIKey ¶
func (s *BybitClientRequest) ModifySubAPIKey(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) MovePosition ¶
func (s *BybitClientRequest) MovePosition(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PlaceAdvanceEarnOrder ¶ added in v1.1.2
func (s *BybitClientRequest) PlaceAdvanceEarnOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PlaceBatchOrder ¶
func (s *BybitClientRequest) PlaceBatchOrder(ctx context.Context, opts ...RequestOption) (res *models.BatchOrderServerResponse, err error)
func (*BybitClientRequest) PlaceFixedTermOrder ¶ added in v1.1.2
func (s *BybitClientRequest) PlaceFixedTermOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PlaceOrder ¶
func (s *BybitClientRequest) PlaceOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PlacePreCheckOrder ¶
func (s *BybitClientRequest) PlacePreCheckOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PlaceRwaOrder ¶ added in v1.1.2
func (s *BybitClientRequest) PlaceRwaOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PlaceSpreadTradeOrder ¶
func (s *BybitClientRequest) PlaceSpreadTradeOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PlaceTokenOrder ¶ added in v1.1.2
func (s *BybitClientRequest) PlaceTokenOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PostAd ¶ added in v1.1.2
func (s *BybitClientRequest) PostAd(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PostCryptoLoanCommonMaxLoan ¶ added in v1.1.2
func (s *BybitClientRequest) PostCryptoLoanCommonMaxLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PostCryptoLoanFixedBorrow ¶ added in v1.1.2
func (s *BybitClientRequest) PostCryptoLoanFixedBorrow(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PostCryptoLoanFixedFullyRepay ¶ added in v1.1.2
func (s *BybitClientRequest) PostCryptoLoanFixedFullyRepay(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PostCryptoLoanFixedSupplyOrderCancel ¶ added in v1.1.2
func (s *BybitClientRequest) PostCryptoLoanFixedSupplyOrderCancel(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PurchaseLeverageToken
deprecated
func (s *BybitClientRequest) PurchaseLeverageToken(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: PurchaseLeverageToken is deprecated.
func (*BybitClientRequest) PwmAssetTrend ¶ added in v1.1.2
func (s *BybitClientRequest) PwmAssetTrend(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmClaim ¶ added in v1.1.2
func (s *BybitClientRequest) PwmClaim(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmCreateCustomPlan ¶ added in v1.1.2
func (s *BybitClientRequest) PwmCreateCustomPlan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmFundNav ¶ added in v1.1.2
func (s *BybitClientRequest) PwmFundNav(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmFundTransfer ¶ added in v1.1.2
func (s *BybitClientRequest) PwmFundTransfer(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmGetNewPlanDetail ¶ added in v1.1.2
func (s *BybitClientRequest) PwmGetNewPlanDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmGetPlanDetail ¶ added in v1.1.2
func (s *BybitClientRequest) PwmGetPlanDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInstCreateFund ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInstCreateFund(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInstCreateInvestmentPlan ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInstCreateInvestmentPlan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInstCreateSubAccount ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInstCreateSubAccount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInstGetInvestmentPlans ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInstGetInvestmentPlans(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInstListFunds ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInstListFunds(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInstListOrders ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInstListOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInstManageInvestmentPlan ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInstManageInvestmentPlan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInstManageOrder ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInstManageOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInstSettleProfit ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInstSettleProfit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmInvestMore ¶ added in v1.1.2
func (s *BybitClientRequest) PwmInvestMore(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmListInvestmentPlans ¶ added in v1.1.2
func (s *BybitClientRequest) PwmListInvestmentPlans(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmListOrder ¶ added in v1.1.2
func (s *BybitClientRequest) PwmListOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmListProductCards ¶ added in v1.1.2
func (s *BybitClientRequest) PwmListProductCards(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmQueryFundTransferResult ¶ added in v1.1.2
func (s *BybitClientRequest) PwmQueryFundTransferResult(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmRedeem ¶ added in v1.1.2
func (s *BybitClientRequest) PwmRedeem(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) PwmSubscribe ¶ added in v1.1.2
func (s *BybitClientRequest) PwmSubscribe(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryAll ¶
func (s *BybitClientRequest) QueryAll(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
QueryAll
func (*BybitClientRequest) QueryBorrowLiability ¶ added in v1.1.2
func (s *BybitClientRequest) QueryBorrowLiability(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryBrokerAllUidDetails ¶ added in v1.1.2
func (s *BybitClientRequest) QueryBrokerAllUidDetails(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryBrokerCap ¶ added in v1.1.2
func (s *BybitClientRequest) QueryBrokerCap(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryBrokerVoucherSpec ¶
func (s *BybitClientRequest) QueryBrokerVoucherSpec(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Broker Reward
func (*BybitClientRequest) QueryCap ¶
func (s *BybitClientRequest) QueryCap(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
QueryCap
func (*BybitClientRequest) QueryDistributedBrokerVoucher ¶
func (s *BybitClientRequest) QueryDistributedBrokerVoucher(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryFiatTrade ¶ added in v1.1.1
func (s *BybitClientRequest) QueryFiatTrade(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
QueryFiatTrade queries a fiat trade
func (*BybitClientRequest) QueryFixedAvailableInventory ¶ added in v1.1.2
func (s *BybitClientRequest) QueryFixedAvailableInventory(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryFixedBorrowContracts ¶ added in v1.1.2
func (s *BybitClientRequest) QueryFixedBorrowContracts(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryFixedBorrowMarket ¶ added in v1.1.2
func (s *BybitClientRequest) QueryFixedBorrowMarket(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryFixedBorrowOrders ¶ added in v1.1.2
func (s *BybitClientRequest) QueryFixedBorrowOrders(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryFixedBorrowPenaltyInterest ¶ added in v1.1.2
func (s *BybitClientRequest) QueryFixedBorrowPenaltyInterest(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryFundingDetailApi ¶ added in v1.1.2
func (s *BybitClientRequest) QueryFundingDetailApi(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryGridDetail ¶ added in v1.1.2
func (s *BybitClientRequest) QueryGridDetail(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryReferralCode ¶ added in v1.1.2
func (s *BybitClientRequest) QueryReferralCode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryReferrals ¶ added in v1.1.2
func (s *BybitClientRequest) QueryReferrals(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryStrategyList ¶ added in v1.1.2
func (s *BybitClientRequest) QueryStrategyList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) QueryStrategyOrderList ¶ added in v1.1.2
func (s *BybitClientRequest) QueryStrategyOrderList(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RedeemEarnOrder ¶
func (s *BybitClientRequest) RedeemEarnOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RedeemFixedTerm ¶ added in v1.1.2
func (s *BybitClientRequest) RedeemFixedTerm(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RedeemLeverageToken
deprecated
func (s *BybitClientRequest) RedeemLeverageToken(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: RedeemLeverageToken is deprecated.
func (*BybitClientRequest) ReinvestLiquidity ¶ added in v1.1.2
func (s *BybitClientRequest) ReinvestLiquidity(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ReleaseAssets ¶ added in v1.1.2
func (s *BybitClientRequest) ReleaseAssets(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RemoveAd ¶ added in v1.1.2
func (s *BybitClientRequest) RemoveAd(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RemoveLiquidity ¶ added in v1.1.2
func (s *BybitClientRequest) RemoveLiquidity(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RenewBorrowOrder ¶
func (s *BybitClientRequest) RenewBorrowOrder(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
RenewBorrowOrder
func (*BybitClientRequest) RenewFixedBorrow ¶ added in v1.1.2
func (s *BybitClientRequest) RenewFixedBorrow(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RepayCollateral ¶
func (s *BybitClientRequest) RepayCollateral(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
RepayCollateral
func (*BybitClientRequest) RepayCryptoLoan
deprecated
func (s *BybitClientRequest) RepayCryptoLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: RepayCryptoLoan is deprecated.
func (*BybitClientRequest) RepayFixedCollateral ¶
func (s *BybitClientRequest) RepayFixedCollateral(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
RepayFixedCollateral
func (*BybitClientRequest) RepayFixedLoan ¶
func (s *BybitClientRequest) RepayFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RepayFlexibleLoan ¶
func (s *BybitClientRequest) RepayFlexibleLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RepayInsLoan ¶ added in v1.1.1
func (s *BybitClientRequest) RepayInsLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
RepayInsLoan repays the institutional loan
func (*BybitClientRequest) RepayLiability ¶
func (s *BybitClientRequest) RepayLiability(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RequestConvertQuote ¶
func (s *BybitClientRequest) RequestConvertQuote(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) RequestTestFund
deprecated
func (s *BybitClientRequest) RequestTestFund(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: RequestTestFund uses GET which is incorrect for this endpoint. Use DemoApplyMoney in account.go instead.
func (*BybitClientRequest) ResetMarketMakerProtection ¶
func (s *BybitClientRequest) ResetMarketMakerProtection(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SendChatMessage ¶ added in v1.1.2
func (s *BybitClientRequest) SendChatMessage(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetApiRateLimit ¶ added in v1.1.1
func (s *BybitClientRequest) SetApiRateLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
SetApiRateLimit sets the API rate limit
func (*BybitClientRequest) SetBatchCollateralSwitch ¶ added in v1.1.2
func (s *BybitClientRequest) SetBatchCollateralSwitch(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetBrokerApiLimit ¶ added in v1.1.2
func (s *BybitClientRequest) SetBrokerApiLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetCollateralCoin ¶
func (s *BybitClientRequest) SetCollateralCoin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetDepositAccount ¶
func (s *BybitClientRequest) SetDepositAccount(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetDisconnectCancelAll ¶
func (s *BybitClientRequest) SetDisconnectCancelAll(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetFixedTermAutoInvest ¶ added in v1.1.2
func (s *BybitClientRequest) SetFixedTermAutoInvest(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetLimitPriceAction ¶ added in v1.1.1
func (s *BybitClientRequest) SetLimitPriceAction(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
SetLimitPriceAction sets the limit order price action when it exceeds the price limit
func (*BybitClientRequest) SetMarginMode ¶
func (s *BybitClientRequest) SetMarginMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetMarketMakerProtection ¶
func (s *BybitClientRequest) SetMarketMakerProtection(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetPositionAutoMargin ¶
func (s *BybitClientRequest) SetPositionAutoMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetPositionLeverage ¶
func (s *BybitClientRequest) SetPositionLeverage(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetPositionRiskLimit
deprecated
func (s *BybitClientRequest) SetPositionRiskLimit(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: SetPositionRiskLimit is deprecated. Since bybit has launched auto risk limit depends on current leverage
func (*BybitClientRequest) SetPositionTpslMode
deprecated
func (s *BybitClientRequest) SetPositionTpslMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
Deprecated: SetPositionTpslMode is deprecated. now tpsl is based on order level
func (*BybitClientRequest) SetPositionTradingStop ¶
func (s *BybitClientRequest) SetPositionTradingStop(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetSpotHedgeMode ¶
func (s *BybitClientRequest) SetSpotHedgeMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetSpotMarginAutoRepayMode ¶
func (s *BybitClientRequest) SetSpotMarginAutoRepayMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SetSpotMarginLeverage ¶
func (s *BybitClientRequest) SetSpotMarginLeverage(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SignAgreement ¶ added in v1.1.2
func (s *BybitClientRequest) SignAgreement(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) StopStrategy ¶ added in v1.1.2
func (s *BybitClientRequest) StopStrategy(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SupplyFixedLoan ¶
func (s *BybitClientRequest) SupplyFixedLoan(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SwitchPositionMargin ¶
func (s *BybitClientRequest) SwitchPositionMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) SwitchPositionMode ¶
func (s *BybitClientRequest) SwitchPositionMode(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ToggleSpotMarginTrade ¶
func (s *BybitClientRequest) ToggleSpotMarginTrade(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) TransferSubMemberSave ¶ added in v1.1.2
func (s *BybitClientRequest) TransferSubMemberSave(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) UpdateAd ¶ added in v1.1.2
func (s *BybitClientRequest) UpdateAd(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) UpdatePositionMargin ¶
func (s *BybitClientRequest) UpdatePositionMargin(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) UpgradeToUTA ¶
func (s *BybitClientRequest) UpgradeToUTA(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) UploadChatFile ¶ added in v1.1.2
func (s *BybitClientRequest) UploadChatFile(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ValidateFGridInput ¶ added in v1.1.2
func (s *BybitClientRequest) ValidateFGridInput(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*BybitClientRequest) ValidateGridInput ¶ added in v1.1.2
func (s *BybitClientRequest) ValidateGridInput(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
type Client ¶
type Client struct {
APIKey string
APISecret string
BaseURL string
HTTPClient *http.Client
Debug bool
Logger *log.Logger
ProxyURL string
// contains filtered or unexported fields
}
Client define API client
func NewBybitHttpClient ¶
func NewBybitHttpClient(apiKey string, APISecret string, options ...ClientOption) *Client
NewBybitHttpClient NewClient Create client function for initialising new Bybit client
func (*Client) NewClassicalBybitServiceNoParams ¶
func (c *Client) NewClassicalBybitServiceNoParams() *BybitClientRequest
func (*Client) NewClassicalBybitServiceWithParams ¶
func (c *Client) NewClassicalBybitServiceWithParams(params map[string]interface{}) *BybitClientRequest
func (*Client) NewPlaceOrderService ¶
NewPlaceOrderService quick order endpoint
func (*Client) NewUtaBybitServiceNoParams ¶
func (c *Client) NewUtaBybitServiceNoParams() *BybitClientRequest
func (*Client) NewUtaBybitServiceWithParams ¶
func (c *Client) NewUtaBybitServiceWithParams(params map[string]interface{}) *BybitClientRequest
type ClientOption ¶
type ClientOption func(*Client)
func WithBaseURL ¶
func WithBaseURL(baseURL string) ClientOption
WithBaseURL is a client option to set the base URL of the Bybit HTTP client.
func WithProxyURL ¶
func WithProxyURL(proxyURL string) ClientOption
WithProxyURL is a client option to set the proxy url
type MessageHandler ¶
type Order ¶
type Order struct {
// contains filtered or unexported fields
}
func (*Order) CloseOnTrigger ¶
func (*Order) Do ¶
func (order *Order) Do(ctx context.Context, opts ...RequestOption) (res *ServerResponse, err error)
func (*Order) IsLeverage ¶
func (*Order) MarketUnit ¶
func (*Order) OrderFilter ¶
func (*Order) OrderLinkId ¶
func (*Order) PositionIdx ¶
func (*Order) ReduceOnly ¶
func (*Order) SlLimitPrice ¶
func (*Order) SlOrderType ¶
func (*Order) SlTriggerBy ¶
func (*Order) SlippageTolerance ¶
func (*Order) SlippageToleranceType ¶
func (*Order) TakeProfit ¶
func (*Order) TimeInForce ¶
func (*Order) TpLimitPrice ¶
func (*Order) TpOrderType ¶
func (*Order) TpTriggerBy ¶
func (*Order) TriggerDirection ¶
func (*Order) TriggerPrice ¶
type RequestOption ¶
type RequestOption func(*request)
RequestOption define option type for request
func WithRecvWindow ¶
func WithRecvWindow(recvWindow string) RequestOption
WithRecvWindow Append `WithRecvWindow(insert_recvWindow)` to request to modify the default recvWindow value
type ServerResponse ¶
type ServerResponse struct {
RetCode int `json:"retCode"`
RetMsg string `json:"retMsg"`
Result interface{} `json:"result"`
RetExtInfo struct{} `json:"retExtInfo"`
Time int64 `json:"time"`
}
func GetServerResponse ¶
func GetServerResponse(err error, data []byte) (*ServerResponse, error)
type WebSocket ¶
type WebSocket struct {
// contains filtered or unexported fields
}
func NewBybitPrivateWebSocket ¶
func NewBybitPrivateWebSocket(url, apiKey, apiSecret string, handler MessageHandler, options ...WebsocketOption) *WebSocket
func NewBybitPublicWebSocket ¶
func NewBybitPublicWebSocket(url string, handler MessageHandler) *WebSocket
func (*WebSocket) Disconnect ¶
func (*WebSocket) SendRequest ¶
func (b *WebSocket) SendRequest(op string, args map[string]interface{}, headers map[string]string, reqId ...string) (*WebSocket, error)
SendRequest sendRequest sends a custom request over the WebSocket connection.
func (*WebSocket) SendSubscription ¶
func (*WebSocket) SendTradeRequest ¶
func (*WebSocket) SetMessageHandler ¶
func (b *WebSocket) SetMessageHandler(handler MessageHandler)
type WebsocketOption ¶
type WebsocketOption func(*WebSocket)
func WithMaxAliveTime ¶
func WithMaxAliveTime(maxAliveTime string) WebsocketOption
func WithPingInterval ¶
func WithPingInterval(pingInterval int) WebsocketOption
Source Files
¶
- account.go
- affiliate.go
- alpha.go
- api_limit.go
- asset.go
- broker.go
- bybit_api_client.go
- bybit_websocket.go
- combo_bot.go
- consts.go
- crypto_loan.go
- crypto_loan_fixed.go
- event.go
- fee_rate.go
- fgrid_bot.go
- fiat.go
- fixed_loan.go
- fmart_bot.go
- ins_loan.go
- market_service.go
- order.go
- position.go
- pre_upgrade.go
- referral.go
- request.go
- rfq.go
- saving.go
- spot_dca.go
- spot_grid.go
- spot_leverage.go
- spot_margin.go
- spot_x.go
- spread_trade.go
- strategy.go
- tax.go
- trade.go
- user.go