bybit-api
Advanced tools
Comparing version 3.3.6 to 3.3.7
@@ -1,2 +0,2 @@ | ||
import { APIResponseWithTime, APIResponseV3, UMCandlesRequest, UMCategory, UMFundingRateHistoryRequest, UMInstrumentInfoRequest, UMOpenInterestRequest, UMOptionDeliveryPriceRequest, UMPublicTradesRequest, ContractOrderRequest, ContractHistoricOrdersRequest, ContractCancelOrderRequest, ContractModifyOrderRequest, ContractActiveOrdersRequest, ContractPositionsRequest, ContractSetAutoAddMarginRequest, ContractSetMarginSwitchRequest, ContractSetPositionModeRequest, ContractSetTPSLRequest, ContractUserExecutionHistoryRequest, ContractClosedPNLRequest, ContractWalletFundRecordRequest, PaginatedResult, ContractHistoricOrder, ContractSymbolTicker } from './types'; | ||
import { APIResponseWithTime, APIResponseV3, UMCandlesRequest, UMCategory, UMFundingRateHistoryRequest, UMInstrumentInfoRequest, UMOpenInterestRequest, UMOptionDeliveryPriceRequest, UMPublicTradesRequest, ContractOrderRequest, ContractHistoricOrdersRequest, ContractCancelOrderRequest, ContractModifyOrderRequest, ContractActiveOrdersRequest, ContractPositionsRequest, ContractSetAutoAddMarginRequest, ContractSetMarginSwitchRequest, ContractSetPositionModeRequest, ContractSetTPSLRequest, ContractUserExecutionHistoryRequest, ContractClosedPNLRequest, ContractWalletFundRecordRequest, PaginatedResult, ContractHistoricOrder, ContractSymbolTicker, ContractListResult } from './types'; | ||
import BaseRestClient from './util/BaseRestClient'; | ||
@@ -19,3 +19,3 @@ /** | ||
/** Get a symbol price/statistics ticker */ | ||
getSymbolTicker(category: UMCategory | '', symbol?: string): Promise<APIResponseV3<ContractSymbolTicker[]>>; | ||
getSymbolTicker(category: UMCategory | '', symbol?: string): Promise<APIResponseV3<ContractListResult<ContractSymbolTicker[]>>>; | ||
/** Get trading rules per symbol/contract, incl price/amount/value/leverage filters */ | ||
@@ -22,0 +22,0 @@ getInstrumentInfo(params: UMInstrumentInfoRequest): Promise<APIResponseV3<any>>; |
@@ -5,2 +5,6 @@ export interface PaginatedResult<TList = any> { | ||
} | ||
export interface ContractListResult<TList = any> { | ||
category: string; | ||
list: TList[]; | ||
} | ||
export interface ContractHistoricOrder { | ||
@@ -7,0 +11,0 @@ symbol: string; |
{ | ||
"name": "bybit-api", | ||
"version": "3.3.6", | ||
"version": "3.3.7", | ||
"description": "Complete & robust node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
380572
6871