ccxt 4.3.68 → 4.3.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/base/Exchange.js +359 -353
- package/dist/cjs/src/bingx.js +134 -75
- package/dist/cjs/src/btcbox.js +2 -1
- package/dist/cjs/src/coinbaseinternational.js +79 -1
- package/dist/cjs/src/hyperliquid.js +0 -3
- package/dist/cjs/src/kucoin.js +12 -5
- package/dist/cjs/src/oxfun.js +2 -2
- package/dist/cjs/src/poloniex.js +33 -33
- package/dist/cjs/src/poloniexfutures.js +26 -26
- package/dist/cjs/src/pro/poloniex.js +13 -13
- package/dist/cjs/src/pro/poloniexfutures.js +5 -5
- package/js/ccxt.d.ts +3 -3
- package/js/ccxt.js +1 -1
- package/js/src/base/Exchange.d.ts +107 -82
- package/js/src/base/Exchange.js +359 -353
- package/js/src/base/types.d.ts +0 -2
- package/js/src/binance.d.ts +2 -2
- package/js/src/bingx.d.ts +2 -2
- package/js/src/bingx.js +134 -75
- package/js/src/bitget.d.ts +2 -2
- package/js/src/bitmart.d.ts +2 -2
- package/js/src/bitrue.d.ts +2 -2
- package/js/src/btcbox.js +2 -1
- package/js/src/bybit.d.ts +2 -2
- package/js/src/coinbaseinternational.d.ts +11 -0
- package/js/src/coinbaseinternational.js +79 -1
- package/js/src/coinex.d.ts +2 -2
- package/js/src/coinlist.d.ts +2 -2
- package/js/src/deribit.d.ts +2 -2
- package/js/src/digifinex.d.ts +2 -2
- package/js/src/hyperliquid.js +0 -3
- package/js/src/kucoin.js +12 -5
- package/js/src/latoken.d.ts +2 -2
- package/js/src/mexc.d.ts +2 -2
- package/js/src/okx.d.ts +2 -2
- package/js/src/oxfun.d.ts +1 -1
- package/js/src/oxfun.js +2 -2
- package/js/src/phemex.d.ts +2 -2
- package/js/src/poloniex.js +33 -33
- package/js/src/poloniexfutures.js +26 -26
- package/js/src/pro/poloniex.js +13 -13
- package/js/src/pro/poloniexfutures.js +5 -5
- package/js/src/woo.d.ts +2 -2
- package/package.json +1 -1
package/dist/cjs/src/poloniex.js
CHANGED
|
@@ -98,7 +98,7 @@ class poloniex extends poloniex$1 {
|
|
|
98
98
|
'rest': 'https://sand-spot-api-gateway.poloniex.com',
|
|
99
99
|
},
|
|
100
100
|
'www': 'https://www.poloniex.com',
|
|
101
|
-
'doc': 'https://docs.poloniex.com',
|
|
101
|
+
'doc': 'https://api-docs.poloniex.com/spot/',
|
|
102
102
|
'fees': 'https://poloniex.com/fees',
|
|
103
103
|
'referral': 'https://poloniex.com/signup?c=UBFZJRPJ',
|
|
104
104
|
},
|
|
@@ -411,7 +411,7 @@ class poloniex extends poloniex$1 {
|
|
|
411
411
|
* @method
|
|
412
412
|
* @name poloniex#fetchOHLCV
|
|
413
413
|
* @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
414
|
-
* @see https://docs.poloniex.com
|
|
414
|
+
* @see https://api-docs.poloniex.com/spot/api/public/market-data#candles
|
|
415
415
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
416
416
|
* @param {string} timeframe the length of time each candle represents
|
|
417
417
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -476,7 +476,7 @@ class poloniex extends poloniex$1 {
|
|
|
476
476
|
* @method
|
|
477
477
|
* @name poloniex#fetchMarkets
|
|
478
478
|
* @description retrieves data on all markets for poloniex
|
|
479
|
-
* @see https://docs.poloniex.com
|
|
479
|
+
* @see https://api-docs.poloniex.com/spot/api/public/reference-data#symbol-information
|
|
480
480
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
481
481
|
* @returns {object[]} an array of objects representing market data
|
|
482
482
|
*/
|
|
@@ -567,7 +567,7 @@ class poloniex extends poloniex$1 {
|
|
|
567
567
|
* @method
|
|
568
568
|
* @name poloniex#fetchTime
|
|
569
569
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
570
|
-
* @see https://docs.poloniex.com
|
|
570
|
+
* @see https://api-docs.poloniex.com/spot/api/public/reference-data#system-timestamp
|
|
571
571
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
572
572
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
573
573
|
*/
|
|
@@ -634,7 +634,7 @@ class poloniex extends poloniex$1 {
|
|
|
634
634
|
* @method
|
|
635
635
|
* @name poloniex#fetchTickers
|
|
636
636
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
637
|
-
* @see https://docs.poloniex.com
|
|
637
|
+
* @see https://api-docs.poloniex.com/spot/api/public/market-data#ticker
|
|
638
638
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
639
639
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
640
640
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -673,7 +673,7 @@ class poloniex extends poloniex$1 {
|
|
|
673
673
|
* @method
|
|
674
674
|
* @name poloniex#fetchCurrencies
|
|
675
675
|
* @description fetches all available currencies on an exchange
|
|
676
|
-
* @see https://docs.poloniex.com
|
|
676
|
+
* @see https://api-docs.poloniex.com/spot/api/public/reference-data#currency-information
|
|
677
677
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
678
678
|
* @returns {object} an associative dictionary of currencies
|
|
679
679
|
*/
|
|
@@ -811,7 +811,7 @@ class poloniex extends poloniex$1 {
|
|
|
811
811
|
* @method
|
|
812
812
|
* @name poloniex#fetchTicker
|
|
813
813
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
814
|
-
* @see https://docs.poloniex.com
|
|
814
|
+
* @see https://api-docs.poloniex.com/spot/api/public/market-data#ticker
|
|
815
815
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
816
816
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
817
817
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -942,7 +942,7 @@ class poloniex extends poloniex$1 {
|
|
|
942
942
|
* @method
|
|
943
943
|
* @name poloniex#fetchTrades
|
|
944
944
|
* @description get the list of most recent trades for a particular symbol
|
|
945
|
-
* @see https://docs.poloniex.com
|
|
945
|
+
* @see https://api-docs.poloniex.com/spot/api/public/market-data#trades
|
|
946
946
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
947
947
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
948
948
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -978,7 +978,7 @@ class poloniex extends poloniex$1 {
|
|
|
978
978
|
* @method
|
|
979
979
|
* @name poloniex#fetchMyTrades
|
|
980
980
|
* @description fetch all trades made by the user
|
|
981
|
-
* @see https://docs.poloniex.com
|
|
981
|
+
* @see https://api-docs.poloniex.com/spot/api/private/trade#trade-history
|
|
982
982
|
* @param {string} symbol unified market symbol
|
|
983
983
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
984
984
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
@@ -1189,8 +1189,8 @@ class poloniex extends poloniex$1 {
|
|
|
1189
1189
|
* @method
|
|
1190
1190
|
* @name poloniex#fetchOpenOrders
|
|
1191
1191
|
* @description fetch all unfilled currently open orders
|
|
1192
|
-
* @see https://docs.poloniex.com
|
|
1193
|
-
* @see https://docs.poloniex.com
|
|
1192
|
+
* @see https://api-docs.poloniex.com/spot/api/private/order#open-orders
|
|
1193
|
+
* @see https://api-docs.poloniex.com/spot/api/private/smart-order#open-orders // trigger orders
|
|
1194
1194
|
* @param {string} symbol unified market symbol
|
|
1195
1195
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1196
1196
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
@@ -1248,8 +1248,8 @@ class poloniex extends poloniex$1 {
|
|
|
1248
1248
|
* @method
|
|
1249
1249
|
* @name poloniex#createOrder
|
|
1250
1250
|
* @description create a trade order
|
|
1251
|
-
* @see https://docs.poloniex.com
|
|
1252
|
-
* @see https://docs.poloniex.com
|
|
1251
|
+
* @see https://api-docs.poloniex.com/spot/api/private/order#create-order
|
|
1252
|
+
* @see https://api-docs.poloniex.com/spot/api/private/smart-order#create-order // trigger orders
|
|
1253
1253
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
1254
1254
|
* @param {string} type 'market' or 'limit'
|
|
1255
1255
|
* @param {string} side 'buy' or 'sell'
|
|
@@ -1354,8 +1354,8 @@ class poloniex extends poloniex$1 {
|
|
|
1354
1354
|
* @method
|
|
1355
1355
|
* @name poloniex#editOrder
|
|
1356
1356
|
* @description edit a trade order
|
|
1357
|
-
* @see https://docs.poloniex.com
|
|
1358
|
-
* @see https://docs.poloniex.com
|
|
1357
|
+
* @see https://api-docs.poloniex.com/spot/api/private/order#cancel-replace-order
|
|
1358
|
+
* @see https://api-docs.poloniex.com/spot/api/private/smart-order#cancel-replace-order
|
|
1359
1359
|
* @param {string} id order id
|
|
1360
1360
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
1361
1361
|
* @param {string} type 'market' or 'limit'
|
|
@@ -1401,8 +1401,8 @@ class poloniex extends poloniex$1 {
|
|
|
1401
1401
|
// @method
|
|
1402
1402
|
// @name poloniex#cancelOrder
|
|
1403
1403
|
// @description cancels an open order
|
|
1404
|
-
// @see https://docs.poloniex.com
|
|
1405
|
-
// @see https://docs.poloniex.com
|
|
1404
|
+
// @see https://api-docs.poloniex.com/spot/api/private/order#cancel-order-by-id
|
|
1405
|
+
// @see https://api-docs.poloniex.com/spot/api/private/smart-order#cancel-order-by-id // trigger orders
|
|
1406
1406
|
// @param {string} id order id
|
|
1407
1407
|
// @param {string} symbol unified symbol of the market the order was made in
|
|
1408
1408
|
// @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1441,8 +1441,8 @@ class poloniex extends poloniex$1 {
|
|
|
1441
1441
|
* @method
|
|
1442
1442
|
* @name poloniex#cancelAllOrders
|
|
1443
1443
|
* @description cancel all open orders
|
|
1444
|
-
* @see https://docs.poloniex.com
|
|
1445
|
-
* @see https://docs.poloniex.com
|
|
1444
|
+
* @see https://api-docs.poloniex.com/spot/api/private/order#cancel-all-orders
|
|
1445
|
+
* @see https://api-docs.poloniex.com/spot/api/private/smart-order#cancel-all-orders // trigger orders
|
|
1446
1446
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1447
1447
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1448
1448
|
* @param {boolean} [params.trigger] true if canceling trigger orders
|
|
@@ -1493,8 +1493,8 @@ class poloniex extends poloniex$1 {
|
|
|
1493
1493
|
* @method
|
|
1494
1494
|
* @name poloniex#fetchOrder
|
|
1495
1495
|
* @description fetch an order by it's id
|
|
1496
|
-
* @see https://docs.poloniex.com
|
|
1497
|
-
* @see https://docs.poloniex.com
|
|
1496
|
+
* @see https://api-docs.poloniex.com/spot/api/private/order#order-details
|
|
1497
|
+
* @see https://api-docs.poloniex.com/spot/api/private/smart-order#open-orders // trigger orders
|
|
1498
1498
|
* @param {string} id order id
|
|
1499
1499
|
* @param {string} symbol unified market symbol, default is undefined
|
|
1500
1500
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1552,7 +1552,7 @@ class poloniex extends poloniex$1 {
|
|
|
1552
1552
|
* @method
|
|
1553
1553
|
* @name poloniex#fetchOrderTrades
|
|
1554
1554
|
* @description fetch all the trades made from a single order
|
|
1555
|
-
* @see https://docs.poloniex.com
|
|
1555
|
+
* @see https://api-docs.poloniex.com/spot/api/private/trade#trades-by-order-id
|
|
1556
1556
|
* @param {string} id order id
|
|
1557
1557
|
* @param {string} symbol unified market symbol
|
|
1558
1558
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
@@ -1614,7 +1614,7 @@ class poloniex extends poloniex$1 {
|
|
|
1614
1614
|
* @method
|
|
1615
1615
|
* @name poloniex#fetchBalance
|
|
1616
1616
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1617
|
-
* @see https://docs.poloniex.com
|
|
1617
|
+
* @see https://api-docs.poloniex.com/spot/api/private/account#all-account-balances
|
|
1618
1618
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1619
1619
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1620
1620
|
*/
|
|
@@ -1646,7 +1646,7 @@ class poloniex extends poloniex$1 {
|
|
|
1646
1646
|
* @method
|
|
1647
1647
|
* @name poloniex#fetchTradingFees
|
|
1648
1648
|
* @description fetch the trading fees for multiple markets
|
|
1649
|
-
* @see https://docs.poloniex.com
|
|
1649
|
+
* @see https://api-docs.poloniex.com/spot/api/private/account#fee-info
|
|
1650
1650
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1651
1651
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
1652
1652
|
*/
|
|
@@ -1679,7 +1679,7 @@ class poloniex extends poloniex$1 {
|
|
|
1679
1679
|
* @method
|
|
1680
1680
|
* @name poloniex#fetchOrderBook
|
|
1681
1681
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
1682
|
-
* @see https://docs.poloniex.com
|
|
1682
|
+
* @see https://api-docs.poloniex.com/spot/api/public/market-data#order-book
|
|
1683
1683
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
1684
1684
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
1685
1685
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1736,7 +1736,7 @@ class poloniex extends poloniex$1 {
|
|
|
1736
1736
|
* @method
|
|
1737
1737
|
* @name poloniex#createDepositAddress
|
|
1738
1738
|
* @description create a currency deposit address
|
|
1739
|
-
* @see https://docs.poloniex.com
|
|
1739
|
+
* @see https://api-docs.poloniex.com/spot/api/private/wallet#deposit-addresses
|
|
1740
1740
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1741
1741
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1742
1742
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
@@ -1787,7 +1787,7 @@ class poloniex extends poloniex$1 {
|
|
|
1787
1787
|
* @method
|
|
1788
1788
|
* @name poloniex#fetchDepositAddress
|
|
1789
1789
|
* @description fetch the deposit address for a currency associated with this account
|
|
1790
|
-
* @see https://docs.poloniex.com
|
|
1790
|
+
* @see https://api-docs.poloniex.com/spot/api/private/wallet#deposit-addresses
|
|
1791
1791
|
* @param {string} code unified currency code
|
|
1792
1792
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1793
1793
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
@@ -1838,7 +1838,7 @@ class poloniex extends poloniex$1 {
|
|
|
1838
1838
|
* @method
|
|
1839
1839
|
* @name poloniex#transfer
|
|
1840
1840
|
* @description transfer currency internally between wallets on the same account
|
|
1841
|
-
* @see https://docs.poloniex.com
|
|
1841
|
+
* @see https://api-docs.poloniex.com/spot/api/private/account#accounts-transfer
|
|
1842
1842
|
* @param {string} code unified currency code
|
|
1843
1843
|
* @param {float} amount amount to transfer
|
|
1844
1844
|
* @param {string} fromAccount account to transfer from
|
|
@@ -1888,7 +1888,7 @@ class poloniex extends poloniex$1 {
|
|
|
1888
1888
|
* @method
|
|
1889
1889
|
* @name poloniex#withdraw
|
|
1890
1890
|
* @description make a withdrawal
|
|
1891
|
-
* @see https://docs.poloniex.com
|
|
1891
|
+
* @see https://api-docs.poloniex.com/spot/api/private/wallet#withdraw-currency
|
|
1892
1892
|
* @param {string} code unified currency code
|
|
1893
1893
|
* @param {float} amount the amount to withdraw
|
|
1894
1894
|
* @param {string} address the address to withdraw to
|
|
@@ -2013,7 +2013,7 @@ class poloniex extends poloniex$1 {
|
|
|
2013
2013
|
* @method
|
|
2014
2014
|
* @name poloniex#fetchDepositsWithdrawals
|
|
2015
2015
|
* @description fetch history of deposits and withdrawals
|
|
2016
|
-
* @see https://docs.poloniex.com
|
|
2016
|
+
* @see https://api-docs.poloniex.com/spot/api/private/wallet#wallets-activity-records
|
|
2017
2017
|
* @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
|
|
2018
2018
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
2019
2019
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
@@ -2038,7 +2038,7 @@ class poloniex extends poloniex$1 {
|
|
|
2038
2038
|
* @method
|
|
2039
2039
|
* @name poloniex#fetchWithdrawals
|
|
2040
2040
|
* @description fetch all withdrawals made from an account
|
|
2041
|
-
* @see https://docs.poloniex.com
|
|
2041
|
+
* @see https://api-docs.poloniex.com/spot/api/private/wallet#wallets-activity-records
|
|
2042
2042
|
* @param {string} code unified currency code
|
|
2043
2043
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
2044
2044
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
@@ -2059,7 +2059,7 @@ class poloniex extends poloniex$1 {
|
|
|
2059
2059
|
* @method
|
|
2060
2060
|
* @name poloniex#fetchDepositWithdrawFees
|
|
2061
2061
|
* @description fetch deposit and withdraw fees
|
|
2062
|
-
* @see https://docs.poloniex.com
|
|
2062
|
+
* @see https://api-docs.poloniex.com/spot/api/public/reference-data#currency-information
|
|
2063
2063
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2064
2064
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2065
2065
|
* @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
@@ -2184,7 +2184,7 @@ class poloniex extends poloniex$1 {
|
|
|
2184
2184
|
* @method
|
|
2185
2185
|
* @name poloniex#fetchDeposits
|
|
2186
2186
|
* @description fetch all deposits made to an account
|
|
2187
|
-
* @see https://docs.poloniex.com
|
|
2187
|
+
* @see https://api-docs.poloniex.com/spot/api/private/wallet#wallets-activity-records
|
|
2188
2188
|
* @param {string} code unified currency code
|
|
2189
2189
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
2190
2190
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
@@ -73,7 +73,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
73
73
|
'private': 'https://futures-api.poloniex.com',
|
|
74
74
|
},
|
|
75
75
|
'www': 'https://www.poloniex.com',
|
|
76
|
-
'doc': 'https://
|
|
76
|
+
'doc': 'https://api-docs.poloniex.com/futures/',
|
|
77
77
|
'fees': 'https://poloniex.com/fee-schedule',
|
|
78
78
|
'referral': 'https://poloniex.com/signup?c=UBFZJRPJ',
|
|
79
79
|
},
|
|
@@ -208,7 +208,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
208
208
|
* @method
|
|
209
209
|
* @name poloniexfutures#fetchMarkets
|
|
210
210
|
* @description retrieves data on all markets for poloniexfutures
|
|
211
|
-
* @see https://
|
|
211
|
+
* @see https://api-docs.poloniex.com/futures/api/symbol
|
|
212
212
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
213
213
|
* @returns {object[]} an array of objects representing market data
|
|
214
214
|
*/
|
|
@@ -420,7 +420,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
420
420
|
* @method
|
|
421
421
|
* @name poloniexfutures#fetchTicker
|
|
422
422
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
423
|
-
* @see https://
|
|
423
|
+
* @see https://api-docs.poloniex.com/futures/api/ticker#get-real-time-ticker-20
|
|
424
424
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
425
425
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
426
426
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -456,7 +456,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
456
456
|
* @method
|
|
457
457
|
* @name poloniexfutures#fetchTickers
|
|
458
458
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
459
|
-
* @see https://
|
|
459
|
+
* @see https://api-docs.poloniex.com/futures/api/ticker#get-real-time-ticker-of-all-symbols
|
|
460
460
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
461
461
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
462
462
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -471,8 +471,8 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
471
471
|
* @method
|
|
472
472
|
* @name poloniexfuturesfutures#fetchOrderBook
|
|
473
473
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
474
|
-
* @see https://
|
|
475
|
-
* @see https://
|
|
474
|
+
* @see https://api-docs.poloniex.com/futures/api/orderbook#get-full-order-book---level-2
|
|
475
|
+
* @see https://api-docs.poloniex.com/futures/api/orderbook#get-full-order-book--level-3
|
|
476
476
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
477
477
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
478
478
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -558,7 +558,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
558
558
|
* @method
|
|
559
559
|
* @name poloniexfutures#fetchL3OrderBook
|
|
560
560
|
* @description fetches level 3 information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
561
|
-
* @see https://
|
|
561
|
+
* @see https://api-docs.poloniex.com/futures/api/orderbook#get-full-order-book--level-3
|
|
562
562
|
* @param {string} symbol unified market symbol
|
|
563
563
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
564
564
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -665,7 +665,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
665
665
|
* @method
|
|
666
666
|
* @name poloniexfutures#fetchTrades
|
|
667
667
|
* @description get the list of most recent trades for a particular symbol
|
|
668
|
-
* @see https://
|
|
668
|
+
* @see https://api-docs.poloniex.com/futures/api/historical#transaction-history
|
|
669
669
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
670
670
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
671
671
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -702,7 +702,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
702
702
|
* @method
|
|
703
703
|
* @name poloniexfutures#fetchTime
|
|
704
704
|
* @description fetches the current integer timestamp in milliseconds from the poloniexfutures server
|
|
705
|
-
* @see https://
|
|
705
|
+
* @see https://api-docs.poloniex.com/futures/api/time#server-time
|
|
706
706
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
707
707
|
* @returns {int} the current integer timestamp in milliseconds from the poloniexfutures server
|
|
708
708
|
*/
|
|
@@ -721,7 +721,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
721
721
|
* @method
|
|
722
722
|
* @name poloniexfutures#fetchOHLCV
|
|
723
723
|
* @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
724
|
-
* @see https://
|
|
724
|
+
* @see https://api-docs.poloniex.com/futures/api/kline#get-k-line-data-of-contract
|
|
725
725
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
726
726
|
* @param {string} timeframe the length of time each candle represents
|
|
727
727
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -790,7 +790,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
790
790
|
* @method
|
|
791
791
|
* @name poloniexfutures#fetchBalance
|
|
792
792
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
793
|
-
* @see https://
|
|
793
|
+
* @see https://api-docs.poloniex.com/futures/api/account#get-account-overview
|
|
794
794
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
795
795
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
796
796
|
*/
|
|
@@ -826,7 +826,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
826
826
|
* @method
|
|
827
827
|
* @name poloniexfutures#createOrder
|
|
828
828
|
* @description Create an order on the exchange
|
|
829
|
-
* @see https://
|
|
829
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#place-an-order
|
|
830
830
|
* @param {string} symbol Unified CCXT market symbol
|
|
831
831
|
* @param {string} type 'limit' or 'market'
|
|
832
832
|
* @param {string} side 'buy' or 'sell'
|
|
@@ -934,7 +934,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
934
934
|
* @method
|
|
935
935
|
* @name poloniexfutures#cancelOrder
|
|
936
936
|
* @description cancels an open order
|
|
937
|
-
* @see https://
|
|
937
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#cancel-an-order
|
|
938
938
|
* @param {string} id order id
|
|
939
939
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
940
940
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -974,7 +974,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
974
974
|
* @method
|
|
975
975
|
* @name poloniexfutures#fetchPositions
|
|
976
976
|
* @description fetch all open positions
|
|
977
|
-
* @see https://
|
|
977
|
+
* @see https://api-docs.poloniex.com/futures/api/positions#get-position-list
|
|
978
978
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
979
979
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
980
980
|
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
|
|
@@ -1128,7 +1128,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
1128
1128
|
* @method
|
|
1129
1129
|
* @name poloniexfutures#fetchFundingHistory
|
|
1130
1130
|
* @description fetch the history of funding payments paid and received on this account
|
|
1131
|
-
* @see https://
|
|
1131
|
+
* @see https://api-docs.poloniex.com/futures/api/funding-fees#get-funding-history
|
|
1132
1132
|
* @param {string} symbol unified market symbol
|
|
1133
1133
|
* @param {int} [since] the earliest time in ms to fetch funding history for
|
|
1134
1134
|
* @param {int} [limit] the maximum number of funding history structures to retrieve
|
|
@@ -1267,8 +1267,8 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
1267
1267
|
* @method
|
|
1268
1268
|
* @name poloniexfutures#fetchOrdersByStatus
|
|
1269
1269
|
* @description fetches a list of orders placed on the exchange
|
|
1270
|
-
* @see https://
|
|
1271
|
-
* @see https://
|
|
1270
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#get-order-listdeprecated
|
|
1271
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#get-untriggered-stop-order-list
|
|
1272
1272
|
* @param {string} status 'active' or 'closed', only 'active' is valid for stop orders
|
|
1273
1273
|
* @param {string} symbol unified symbol for the market to retrieve orders from
|
|
1274
1274
|
* @param {int} [since] timestamp in ms of the earliest order to retrieve
|
|
@@ -1377,8 +1377,8 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
1377
1377
|
* @method
|
|
1378
1378
|
* @name poloniexfutures#fetchOpenOrders
|
|
1379
1379
|
* @description fetch all unfilled currently open orders
|
|
1380
|
-
* @see https://
|
|
1381
|
-
* @see https://
|
|
1380
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#get-order-listdeprecated
|
|
1381
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#get-untriggered-stop-order-list
|
|
1382
1382
|
* @param {string} symbol unified market symbol
|
|
1383
1383
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1384
1384
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
@@ -1395,8 +1395,8 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
1395
1395
|
* @method
|
|
1396
1396
|
* @name poloniexfutures#fetchClosedOrders
|
|
1397
1397
|
* @description fetches information on multiple closed orders made by the user
|
|
1398
|
-
* @see https://
|
|
1399
|
-
* @see https://
|
|
1398
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#get-order-listdeprecated
|
|
1399
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#get-untriggered-stop-order-list
|
|
1400
1400
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1401
1401
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1402
1402
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -1413,8 +1413,8 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
1413
1413
|
* @method
|
|
1414
1414
|
* @name poloniexfutures#fetchOrder
|
|
1415
1415
|
* @description fetches information on an order made by the user
|
|
1416
|
-
* @see https://
|
|
1417
|
-
* @see https://
|
|
1416
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#get-details-of-a-single-order
|
|
1417
|
+
* @see https://api-docs.poloniex.com/futures/api/orders#get-single-order-by-clientoid
|
|
1418
1418
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1419
1419
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1420
1420
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -1613,7 +1613,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
1613
1613
|
* @method
|
|
1614
1614
|
* @name poloniexfutures#fetchFundingRate
|
|
1615
1615
|
* @description fetch the current funding rate
|
|
1616
|
-
* @see https://
|
|
1616
|
+
* @see https://api-docs.poloniex.com/futures/api/futures-index#get-premium-index
|
|
1617
1617
|
* @param {string} symbol unified market symbol
|
|
1618
1618
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1619
1619
|
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
|
|
@@ -1661,7 +1661,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
1661
1661
|
* @method
|
|
1662
1662
|
* @name poloniexfutures#fetchMyTrades
|
|
1663
1663
|
* @description fetch all trades made by the user
|
|
1664
|
-
* @see https://
|
|
1664
|
+
* @see https://api-docs.poloniex.com/futures/api/fills#get-fillsdeprecated
|
|
1665
1665
|
* @param {string} symbol unified market symbol
|
|
1666
1666
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1667
1667
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
@@ -1725,7 +1725,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
1725
1725
|
* @method
|
|
1726
1726
|
* @name poloniexfutures#setMarginMode
|
|
1727
1727
|
* @description set margin mode to 'cross' or 'isolated'
|
|
1728
|
-
* @see https://
|
|
1728
|
+
* @see https://api-docs.poloniex.com/futures/api/margin-mode#change-margin-mode
|
|
1729
1729
|
* @param {string} marginMode "0" (isolated) or "1" (cross)
|
|
1730
1730
|
* @param {string} symbol unified market symbol
|
|
1731
1731
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -78,7 +78,7 @@ class poloniex extends poloniex$1 {
|
|
|
78
78
|
* @ignore
|
|
79
79
|
* @method
|
|
80
80
|
* @description authenticates the user to access private web socket channels
|
|
81
|
-
* @see https://docs.poloniex.com
|
|
81
|
+
* @see https://api-docs.poloniex.com/spot/websocket/authentication
|
|
82
82
|
* @returns {object} response from exchange
|
|
83
83
|
*/
|
|
84
84
|
this.checkRequiredCredentials();
|
|
@@ -184,7 +184,7 @@ class poloniex extends poloniex$1 {
|
|
|
184
184
|
/**
|
|
185
185
|
* @method
|
|
186
186
|
* @name poloniex#createOrderWs
|
|
187
|
-
* @see https://docs.poloniex.com
|
|
187
|
+
* @see https://api-docs.poloniex.com/spot/websocket/trade-request#create-order
|
|
188
188
|
* @description create a trade order
|
|
189
189
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
190
190
|
* @param {string} type 'market' or 'limit'
|
|
@@ -254,7 +254,7 @@ class poloniex extends poloniex$1 {
|
|
|
254
254
|
/**
|
|
255
255
|
* @method
|
|
256
256
|
* @name poloniex#cancelOrderWs
|
|
257
|
-
* @see https://docs.poloniex.com
|
|
257
|
+
* @see https://api-docs.poloniex.com/spot/websocket/trade-request#cancel-multiple-orders
|
|
258
258
|
* @description cancel multiple orders
|
|
259
259
|
* @param {string} id order id
|
|
260
260
|
* @param {string} [symbol] unified market symbol
|
|
@@ -273,7 +273,7 @@ class poloniex extends poloniex$1 {
|
|
|
273
273
|
/**
|
|
274
274
|
* @method
|
|
275
275
|
* @name poloniex#cancelOrdersWs
|
|
276
|
-
* @see https://docs.poloniex.com
|
|
276
|
+
* @see https://api-docs.poloniex.com/spot/websocket/trade-request#cancel-multiple-orders
|
|
277
277
|
* @description cancel multiple orders
|
|
278
278
|
* @param {string[]} ids order ids
|
|
279
279
|
* @param {string} symbol unified market symbol, default is undefined
|
|
@@ -292,7 +292,7 @@ class poloniex extends poloniex$1 {
|
|
|
292
292
|
/**
|
|
293
293
|
* @method
|
|
294
294
|
* @name poloniex#cancelAllOrdersWs
|
|
295
|
-
* @see https://docs.poloniex.com
|
|
295
|
+
* @see https://api-docs.poloniex.com/spot/websocket/trade-request#cancel-all-orders
|
|
296
296
|
* @description cancel all open orders of a type. Only applicable to Option in Portfolio Margin mode, and MMP privilege is required.
|
|
297
297
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
298
298
|
* @param {object} [params] extra parameters specific to the poloniex api endpoint
|
|
@@ -329,7 +329,7 @@ class poloniex extends poloniex$1 {
|
|
|
329
329
|
* @method
|
|
330
330
|
* @name poloniex#watchOHLCV
|
|
331
331
|
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
332
|
-
* @see https://docs.poloniex.com
|
|
332
|
+
* @see https://api-docs.poloniex.com/spot/websocket/market-data#candlesticks
|
|
333
333
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
334
334
|
* @param {string} timeframe the length of time each candle represents
|
|
335
335
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -354,7 +354,7 @@ class poloniex extends poloniex$1 {
|
|
|
354
354
|
* @method
|
|
355
355
|
* @name poloniex#watchTicker
|
|
356
356
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
357
|
-
* @see https://docs.poloniex.com
|
|
357
|
+
* @see https://api-docs.poloniex.com/spot/websocket/market-data#ticker
|
|
358
358
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
359
359
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
360
360
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -369,7 +369,7 @@ class poloniex extends poloniex$1 {
|
|
|
369
369
|
* @method
|
|
370
370
|
* @name poloniex#watchTicker
|
|
371
371
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
372
|
-
* @see https://docs.poloniex.com
|
|
372
|
+
* @see https://api-docs.poloniex.com/spot/websocket/market-data#ticker
|
|
373
373
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
374
374
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
375
375
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -388,7 +388,7 @@ class poloniex extends poloniex$1 {
|
|
|
388
388
|
* @method
|
|
389
389
|
* @name poloniex#watchTrades
|
|
390
390
|
* @description get the list of most recent trades for a particular symbol
|
|
391
|
-
* @see https://docs.poloniex.com
|
|
391
|
+
* @see https://api-docs.poloniex.com/spot/websocket/market-data#trades
|
|
392
392
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
393
393
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
394
394
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -409,7 +409,7 @@ class poloniex extends poloniex$1 {
|
|
|
409
409
|
* @method
|
|
410
410
|
* @name poloniex#watchOrderBook
|
|
411
411
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
412
|
-
* @see https://docs.poloniex.com
|
|
412
|
+
* @see https://api-docs.poloniex.com/spot/websocket/market-data#book-level-2
|
|
413
413
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
414
414
|
* @param {int} [limit] not used by poloniex watchOrderBook
|
|
415
415
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -427,7 +427,7 @@ class poloniex extends poloniex$1 {
|
|
|
427
427
|
* @method
|
|
428
428
|
* @name poloniex#watchOrders
|
|
429
429
|
* @description watches information on multiple orders made by the user
|
|
430
|
-
* @see https://docs.poloniex.com
|
|
430
|
+
* @see https://api-docs.poloniex.com/spot/websocket/order
|
|
431
431
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
432
432
|
* @param {int} [since] not used by poloniex watchOrders
|
|
433
433
|
* @param {int} [limit] not used by poloniex watchOrders
|
|
@@ -452,7 +452,7 @@ class poloniex extends poloniex$1 {
|
|
|
452
452
|
* @method
|
|
453
453
|
* @name poloniex#watchMyTrades
|
|
454
454
|
* @description watches information on multiple trades made by the user using orders stream
|
|
455
|
-
* @see https://docs.poloniex.com
|
|
455
|
+
* @see https://api-docs.poloniex.com/spot/websocket/order
|
|
456
456
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
457
457
|
* @param {int} [since] not used by poloniex watchMyTrades
|
|
458
458
|
* @param {int} [limit] not used by poloniex watchMyTrades
|
|
@@ -478,7 +478,7 @@ class poloniex extends poloniex$1 {
|
|
|
478
478
|
* @method
|
|
479
479
|
* @name poloniex#watchBalance
|
|
480
480
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
481
|
-
* @see https://docs.poloniex.com
|
|
481
|
+
* @see https://api-docs.poloniex.com/spot/websocket/balance
|
|
482
482
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
483
483
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
484
484
|
*/
|
|
@@ -239,7 +239,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
239
239
|
* @method
|
|
240
240
|
* @name poloniexfutures#watchTicker
|
|
241
241
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
242
|
-
* @see https://
|
|
242
|
+
* @see https://api-docs.poloniex.com/futures/websocket/public#get-real-time-symbol-ticker
|
|
243
243
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
244
244
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
245
245
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -254,7 +254,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
254
254
|
* @method
|
|
255
255
|
* @name poloniexfutures#watchTrades
|
|
256
256
|
* @description get the list of most recent trades for a particular symbol
|
|
257
|
-
* @see https://
|
|
257
|
+
* @see https://api-docs.poloniex.com/futures/websocket/public#full-matching-engine-datalevel-3
|
|
258
258
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
259
259
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
260
260
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -277,7 +277,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
277
277
|
* @method
|
|
278
278
|
* @name poloniexfutures#watchOrderBook
|
|
279
279
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
280
|
-
* @see https://
|
|
280
|
+
* @see https://api-docs.poloniex.com/futures/websocket/public#level-2-market-data
|
|
281
281
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
282
282
|
* @param {int} [limit] not used by poloniexfutures watchOrderBook
|
|
283
283
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -307,7 +307,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
307
307
|
* @method
|
|
308
308
|
* @name poloniexfutures#watchOrders
|
|
309
309
|
* @description watches information on multiple orders made by the user
|
|
310
|
-
* @see https://
|
|
310
|
+
* @see https://api-docs.poloniex.com/futures/websocket/user-messages#private-messages
|
|
311
311
|
* @param {string} symbol filter by unified market symbol of the market orders were made in
|
|
312
312
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
313
313
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -334,7 +334,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
334
334
|
* @method
|
|
335
335
|
* @name poloniexfutures#watchBalance
|
|
336
336
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
337
|
-
* @see https://
|
|
337
|
+
* @see https://api-docs.poloniex.com/futures/websocket/user-messages#account-balance-events
|
|
338
338
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
339
339
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
340
340
|
*/
|