@binance/connector
Advanced tools
Comparing version 3.6.0 to 3.6.1
{ | ||
"name": "@binance/connector", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "This is a lightweight library that works as a connector to the Binance public API.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -17,3 +17,3 @@ 'use strict' | ||
* Test connectivity to the Rest API.<br> | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#test-connectivity} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#test-connectivity} | ||
*/ | ||
@@ -30,3 +30,3 @@ ping () { | ||
* Test connectivity to the Rest API and get the current server time.<br> | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#check-server-time} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#check-server-time} | ||
* | ||
@@ -47,3 +47,3 @@ * @param {object} [options] | ||
* Current exchange trading rules and symbol information<br> | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#exchange-information} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#exchange-information} | ||
* | ||
@@ -75,3 +75,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#order-book} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#order-book} | ||
* | ||
@@ -101,3 +101,3 @@ * @param {string} symbol | ||
* Get recent trades.<br> | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#recent-trades-list} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#recent-trades-list} | ||
* | ||
@@ -127,3 +127,3 @@ * @param {string} symbol | ||
* Get older market trades.<br> | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#old-trade-lookup} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#old-trade-lookup} | ||
* | ||
@@ -153,3 +153,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#compressedaggregate-trades-list} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#compressedaggregate-trades-list} | ||
* | ||
@@ -181,3 +181,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#klinecandlestick-data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#klinecandlestick-data} | ||
* | ||
@@ -209,3 +209,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#uiklines} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#uiklines} | ||
* | ||
@@ -238,3 +238,3 @@ * @param {string} symbol | ||
* Current average price for a symbol.<br> | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#current-average-price} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#current-average-price} | ||
* | ||
@@ -262,3 +262,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#24hr-ticker-price-change-statistics} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#24hr-ticker-price-change-statistics} | ||
* | ||
@@ -290,3 +290,3 @@ * @param {string} [symbol] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#symbol-price-ticker} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-price-ticker} | ||
* | ||
@@ -315,3 +315,3 @@ * @param {string} [symbol] | ||
* Best price/qty on the order book for a symbol or symbols.<br> | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#symbol-order-book-ticker} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-order-book-ticker} | ||
* | ||
@@ -349,3 +349,3 @@ * @param {string} [symbol] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#rolling-window-price-change-statistics} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#rolling-window-price-change-statistics} | ||
* | ||
@@ -352,0 +352,0 @@ * @param {string} [symbol] |
@@ -16,3 +16,3 @@ 'use strict' | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#start-user-data-stream-user_stream} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/user-data-stream#create-a-listenkey-user_stream} | ||
* | ||
@@ -35,3 +35,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#keepalive-user-data-stream-user_stream} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/user-data-stream#pingkeep-alive-a-listenkey-user_stream} | ||
* | ||
@@ -58,3 +58,3 @@ * @param {string} listenKey | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#close-user-data-stream-user_stream} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/user-data-stream#close-a-listenkey-user_stream} | ||
* | ||
@@ -61,0 +61,0 @@ * @param {string} listenKey |
@@ -16,3 +16,3 @@ 'use strict' | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#test-new-order-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-trade} | ||
* | ||
@@ -57,3 +57,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#new-order-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-trade} | ||
* | ||
@@ -97,3 +97,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#cancel-order-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-trade} | ||
* | ||
@@ -125,3 +125,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#cancel-all-open-orders-on-a-symbol-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-all-open-orders-on-a-symbol-trade} | ||
* @param {string} symbol | ||
@@ -149,3 +149,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#query-order-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#query-order-user_data} | ||
* | ||
@@ -181,3 +181,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#cancel-an-existing-order-and-send-a-new-order-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-an-existing-order-and-send-a-new-order-trade} | ||
* | ||
@@ -226,3 +226,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#current-open-orders-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#current-open-orders-user_data} | ||
* | ||
@@ -247,3 +247,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#all-orders-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#all-orders-user_data} | ||
* | ||
@@ -275,3 +275,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#new-oco---deprecated-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---oco-trade} | ||
* | ||
@@ -327,3 +327,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#cancel-order-list-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-list-trade} | ||
* | ||
@@ -355,3 +355,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#query-order-lists-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#query-order-list-user_data} | ||
* | ||
@@ -377,3 +377,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#query-all-order-lists-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#query-all-order-lists-user_data} | ||
* | ||
@@ -401,3 +401,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#query-open-order-lists-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#query-open-order-lists-user_data} | ||
* | ||
@@ -421,3 +421,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#account-information-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-information-user_data} | ||
* | ||
@@ -441,3 +441,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#account-trade-list-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-trade-list-user_data} | ||
* | ||
@@ -471,3 +471,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api#query-current-order-count-usage-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-unfilled-order-count-user_data} | ||
* | ||
@@ -474,0 +474,0 @@ * @param {object} [options] |
@@ -15,3 +15,3 @@ 'use strict' | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-information-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#account-information-user_data} | ||
* | ||
@@ -31,3 +31,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-order-rate-limits-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#unfilled-order-count-user_data} | ||
* | ||
@@ -47,3 +47,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-order-history-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#account-order-history-user_data} | ||
* | ||
@@ -74,3 +74,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#account-order-list-history-user_data} | ||
* | ||
@@ -99,3 +99,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-trade-history-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#account-trade-history-user_data} | ||
* | ||
@@ -127,3 +127,3 @@ * @param {string} [symbol] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-prevented-matches-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#account-prevented-matches-user_data} | ||
* | ||
@@ -130,0 +130,0 @@ * @param {string} [symbol] |
@@ -15,3 +15,3 @@ 'use strict' | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#test-connectivity} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-requests#test-connectivity} | ||
* | ||
@@ -29,3 +29,3 @@ */ | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#check-server-time} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-requests#check-server-time} | ||
* | ||
@@ -47,3 +47,3 @@ */ | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#exchange-information} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-requests#exchange-information} | ||
* | ||
@@ -68,3 +68,3 @@ */ | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#order-book} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#order-book} | ||
* | ||
@@ -91,3 +91,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#recent-trades} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades} | ||
* | ||
@@ -114,3 +114,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#historical-trades} | ||
* | ||
@@ -138,3 +138,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#aggregate-trades} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#aggregate-trades} | ||
* | ||
@@ -164,3 +164,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#klines} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines} | ||
* | ||
@@ -191,3 +191,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#ui-klines} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#ui-klines} | ||
* | ||
@@ -218,3 +218,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#current-average-price} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#current-average-price} | ||
* | ||
@@ -234,3 +234,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#24hr-ticker-price-change-statistics} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#24hr-ticker-price-change-statistics} | ||
* | ||
@@ -253,3 +253,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#rolling-window-price-change-statistics} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#rolling-window-price-change-statistics} | ||
* | ||
@@ -272,3 +272,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#symbol-price-ticker} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#symbol-price-ticker} | ||
* | ||
@@ -290,3 +290,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#symbol-order-book-ticker} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#symbol-order-book-ticker} | ||
* | ||
@@ -293,0 +293,0 @@ * @param {object} [options] |
@@ -14,3 +14,3 @@ 'use strict' | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#place-new-order-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#place-new-order-trade} | ||
* | ||
@@ -50,3 +50,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#test-new-order-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#test-new-order-trade} | ||
* | ||
@@ -86,3 +86,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#query-order-user_data} | ||
* | ||
@@ -108,3 +108,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-order-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-order-trade} | ||
* | ||
@@ -131,3 +131,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-and-replace-order-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-and-replace-order-trade} | ||
* | ||
@@ -173,3 +173,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#current-open-orders-user_data} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#current-open-orders-user_data} | ||
* | ||
@@ -193,3 +193,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-open-orders-trade} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-open-orders-trade} | ||
* | ||
@@ -213,3 +213,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#place-new-order-list---oco-trade} | ||
* | ||
@@ -260,3 +260,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#query-order-list-user_data} | ||
* | ||
@@ -278,3 +278,3 @@ * @param {object} [options] | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-order-list-trade} | ||
* | ||
@@ -301,3 +301,3 @@ * @param {string} symbol | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#current-open-order-lists-user_data} | ||
* | ||
@@ -304,0 +304,0 @@ * @param {object} [options] |
@@ -14,3 +14,3 @@ 'use strict' | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#start-user-data-stream-user_stream} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/user-data-stream-requests#start-user-data-stream-user_stream} | ||
* | ||
@@ -28,3 +28,3 @@ */ | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#ping-user-data-stream-user_stream} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/user-data-stream-requests#ping-user-data-stream-user_stream} | ||
* | ||
@@ -44,3 +44,3 @@ * @param {string} listenKey | ||
* | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#stop-user-data-stream-user_stream} | ||
* {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/user-data-stream-requests#stop-user-data-stream-user_stream} | ||
* | ||
@@ -47,0 +47,0 @@ */ |
212530