ccxt 4.4.32 → 4.4.34
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 +8 -7
- package/dist/ccxt.browser.min.js +6 -6
- package/dist/cjs/ccxt.js +4 -1
- package/dist/cjs/src/abstract/ellipx.js +9 -0
- package/dist/cjs/src/alpaca.js +2 -0
- package/dist/cjs/src/base/Exchange.js +116 -1
- package/dist/cjs/src/binance.js +164 -6
- package/dist/cjs/src/bingx.js +156 -9
- package/dist/cjs/src/bitbank.js +5 -0
- package/dist/cjs/src/bitbns.js +2 -0
- package/dist/cjs/src/bitfinex2.js +2 -1
- package/dist/cjs/src/bitget.js +177 -44
- package/dist/cjs/src/bitmex.js +2 -0
- package/dist/cjs/src/bitopro.js +3 -0
- package/dist/cjs/src/bitrue.js +1 -0
- package/dist/cjs/src/btcmarkets.js +2 -0
- package/dist/cjs/src/bybit.js +148 -13
- package/dist/cjs/src/cex.js +16 -6
- package/dist/cjs/src/coinbase.js +5 -24
- package/dist/cjs/src/coinbaseexchange.js +2 -1
- package/dist/cjs/src/coinex.js +2 -0
- package/dist/cjs/src/coinone.js +7 -7
- package/dist/cjs/src/coinsph.js +7 -7
- package/dist/cjs/src/coinspot.js +39 -39
- package/dist/cjs/src/cryptocom.js +36 -34
- package/dist/cjs/src/ellipx.js +1871 -0
- package/dist/cjs/src/gate.js +2 -1
- package/dist/cjs/src/hyperliquid.js +16 -2
- package/dist/cjs/src/kraken.js +1 -0
- package/dist/cjs/src/krakenfutures.js +3 -1
- package/dist/cjs/src/kucoinfutures.js +1 -1
- package/dist/cjs/src/lbank.js +1 -0
- package/dist/cjs/src/okcoin.js +2 -0
- package/dist/cjs/src/okx.js +104 -9
- package/dist/cjs/src/onetrading.js +14 -1
- package/dist/cjs/src/paradex.js +2 -0
- package/dist/cjs/src/phemex.js +35 -7
- package/dist/cjs/src/poloniex.js +3 -1
- package/dist/cjs/src/poloniexfutures.js +3 -1
- package/dist/cjs/src/pro/idex.js +5 -0
- package/dist/cjs/src/pro/okx.js +11 -1
- package/dist/cjs/src/pro/probit.js +4 -2
- package/dist/cjs/src/pro/woo.js +15 -15
- package/dist/cjs/src/vertex.js +2 -0
- package/dist/cjs/src/woo.js +69 -69
- package/examples/js/cli.js +1 -1
- package/js/ccxt.d.ts +5 -2
- package/js/ccxt.js +4 -2
- package/js/src/abstract/bingx.d.ts +16 -0
- package/js/src/abstract/bitbank.d.ts +5 -0
- package/js/src/abstract/bitfinex2.d.ts +1 -0
- package/js/src/abstract/coinbaseexchange.d.ts +1 -0
- package/js/src/abstract/ellipx.d.ts +28 -0
- package/js/src/abstract/ellipx.js +11 -0
- package/js/src/abstract/kraken.d.ts +1 -0
- package/js/src/alpaca.js +2 -0
- package/js/src/base/Exchange.d.ts +11 -0
- package/js/src/base/Exchange.js +116 -1
- package/js/src/binance.js +164 -6
- package/js/src/bingx.d.ts +3 -1
- package/js/src/bingx.js +156 -9
- package/js/src/bitbank.js +5 -0
- package/js/src/bitbns.js +2 -0
- package/js/src/bitfinex2.js +2 -1
- package/js/src/bitget.d.ts +4 -4
- package/js/src/bitget.js +177 -44
- package/js/src/bitmex.js +2 -0
- package/js/src/bitopro.d.ts +1 -0
- package/js/src/bitopro.js +3 -0
- package/js/src/bitrue.js +1 -0
- package/js/src/btcmarkets.d.ts +1 -0
- package/js/src/btcmarkets.js +2 -0
- package/js/src/bybit.d.ts +3 -2
- package/js/src/bybit.js +149 -14
- package/js/src/cex.d.ts +1 -0
- package/js/src/cex.js +17 -7
- package/js/src/coinbase.d.ts +2 -1
- package/js/src/coinbase.js +5 -24
- package/js/src/coinbaseexchange.js +2 -1
- package/js/src/coinex.js +2 -0
- package/js/src/coinone.js +7 -7
- package/js/src/coinsph.js +7 -7
- package/js/src/coinspot.js +39 -39
- package/js/src/cryptocom.d.ts +1 -1
- package/js/src/cryptocom.js +36 -34
- package/js/src/ellipx.d.ts +236 -0
- package/js/src/ellipx.js +1874 -0
- package/js/src/gate.d.ts +2 -2
- package/js/src/gate.js +2 -1
- package/js/src/hyperliquid.d.ts +2 -1
- package/js/src/hyperliquid.js +16 -2
- package/js/src/kraken.js +1 -0
- package/js/src/krakenfutures.js +3 -1
- package/js/src/kucoinfutures.d.ts +1 -1
- package/js/src/kucoinfutures.js +1 -1
- package/js/src/lbank.js +1 -0
- package/js/src/okcoin.js +2 -0
- package/js/src/okx.d.ts +1 -1
- package/js/src/okx.js +104 -9
- package/js/src/onetrading.d.ts +5 -0
- package/js/src/onetrading.js +15 -2
- package/js/src/paradex.js +2 -0
- package/js/src/phemex.d.ts +4 -0
- package/js/src/phemex.js +35 -7
- package/js/src/poloniex.d.ts +1 -1
- package/js/src/poloniex.js +3 -1
- package/js/src/poloniexfutures.d.ts +1 -1
- package/js/src/poloniexfutures.js +3 -1
- package/js/src/pro/idex.d.ts +5 -0
- package/js/src/pro/idex.js +5 -0
- package/js/src/pro/okx.js +11 -1
- package/js/src/pro/probit.js +4 -2
- package/js/src/pro/woo.d.ts +11 -11
- package/js/src/pro/woo.js +15 -15
- package/js/src/vertex.js +2 -0
- package/js/src/woo.d.ts +60 -60
- package/js/src/woo.js +69 -69
- package/package.json +3 -3
package/js/src/woo.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export default class woo extends Exchange {
|
|
|
10
10
|
* @method
|
|
11
11
|
* @name woo#fetchStatus
|
|
12
12
|
* @description the latest known information on the availability of the exchange API
|
|
13
|
-
* @see https://docs.
|
|
13
|
+
* @see https://docs.woox.io/#get-system-maintenance-status-public
|
|
14
14
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
15
15
|
* @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
|
|
16
16
|
*/
|
|
@@ -25,7 +25,7 @@ export default class woo extends Exchange {
|
|
|
25
25
|
* @method
|
|
26
26
|
* @name woo#fetchTime
|
|
27
27
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
28
|
-
* @see https://docs.
|
|
28
|
+
* @see https://docs.woox.io/#get-system-maintenance-status-public
|
|
29
29
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
30
30
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
31
31
|
*/
|
|
@@ -34,7 +34,7 @@ export default class woo extends Exchange {
|
|
|
34
34
|
* @method
|
|
35
35
|
* @name woo#fetchMarkets
|
|
36
36
|
* @description retrieves data on all markets for woo
|
|
37
|
-
* @see https://docs.
|
|
37
|
+
* @see https://docs.woox.io/#exchange-information
|
|
38
38
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
39
39
|
* @returns {object[]} an array of objects representing market data
|
|
40
40
|
*/
|
|
@@ -44,7 +44,7 @@ export default class woo extends Exchange {
|
|
|
44
44
|
* @method
|
|
45
45
|
* @name woo#fetchTrades
|
|
46
46
|
* @description get the list of most recent trades for a particular symbol
|
|
47
|
-
* @see https://docs.
|
|
47
|
+
* @see https://docs.woox.io/#market-trades-public
|
|
48
48
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
49
49
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
50
50
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -58,7 +58,7 @@ export default class woo extends Exchange {
|
|
|
58
58
|
* @method
|
|
59
59
|
* @name woo#fetchTradingFees
|
|
60
60
|
* @description fetch the trading fees for multiple markets
|
|
61
|
-
* @see https://docs.
|
|
61
|
+
* @see https://docs.woox.io/#get-account-information-new
|
|
62
62
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
63
63
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
64
64
|
*/
|
|
@@ -67,7 +67,7 @@ export default class woo extends Exchange {
|
|
|
67
67
|
* @method
|
|
68
68
|
* @name woo#fetchCurrencies
|
|
69
69
|
* @description fetches all available currencies on an exchange
|
|
70
|
-
* @see https://docs.
|
|
70
|
+
* @see https://docs.woox.io/#available-token-public
|
|
71
71
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
72
72
|
* @returns {object} an associative dictionary of currencies
|
|
73
73
|
*/
|
|
@@ -76,7 +76,7 @@ export default class woo extends Exchange {
|
|
|
76
76
|
* @method
|
|
77
77
|
* @name woo#createMarketBuyOrderWithCost
|
|
78
78
|
* @description create a market buy order by providing the symbol and cost
|
|
79
|
-
* @see https://docs.
|
|
79
|
+
* @see https://docs.woox.io/#send-order
|
|
80
80
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
81
81
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
82
82
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -87,7 +87,7 @@ export default class woo extends Exchange {
|
|
|
87
87
|
* @method
|
|
88
88
|
* @name woo#createMarketSellOrderWithCost
|
|
89
89
|
* @description create a market sell order by providing the symbol and cost
|
|
90
|
-
* @see https://docs.
|
|
90
|
+
* @see https://docs.woox.io/#send-order
|
|
91
91
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
92
92
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
93
93
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -98,7 +98,7 @@ export default class woo extends Exchange {
|
|
|
98
98
|
* @method
|
|
99
99
|
* @name woo#createTrailingAmountOrder
|
|
100
100
|
* @description create a trailing order by providing the symbol, type, side, amount, price and trailingAmount
|
|
101
|
-
* @see https://docs.
|
|
101
|
+
* @see https://docs.woox.io/#send-algo-order
|
|
102
102
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
103
103
|
* @param {string} type 'market' or 'limit'
|
|
104
104
|
* @param {string} side 'buy' or 'sell'
|
|
@@ -114,7 +114,7 @@ export default class woo extends Exchange {
|
|
|
114
114
|
* @method
|
|
115
115
|
* @name woo#createTrailingPercentOrder
|
|
116
116
|
* @description create a trailing order by providing the symbol, type, side, amount, price and trailingPercent
|
|
117
|
-
* @see https://docs.
|
|
117
|
+
* @see https://docs.woox.io/#send-algo-order
|
|
118
118
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
119
119
|
* @param {string} type 'market' or 'limit'
|
|
120
120
|
* @param {string} side 'buy' or 'sell'
|
|
@@ -130,8 +130,8 @@ export default class woo extends Exchange {
|
|
|
130
130
|
* @method
|
|
131
131
|
* @name woo#createOrder
|
|
132
132
|
* @description create a trade order
|
|
133
|
-
* @see https://docs.
|
|
134
|
-
* @see https://docs.
|
|
133
|
+
* @see https://docs.woox.io/#send-order
|
|
134
|
+
* @see https://docs.woox.io/#send-algo-order
|
|
135
135
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
136
136
|
* @param {string} type 'market' or 'limit'
|
|
137
137
|
* @param {string} side 'buy' or 'sell'
|
|
@@ -158,10 +158,10 @@ export default class woo extends Exchange {
|
|
|
158
158
|
* @method
|
|
159
159
|
* @name woo#editOrder
|
|
160
160
|
* @description edit a trade order
|
|
161
|
-
* @see https://docs.
|
|
162
|
-
* @see https://docs.
|
|
163
|
-
* @see https://docs.
|
|
164
|
-
* @see https://docs.
|
|
161
|
+
* @see https://docs.woox.io/#edit-order
|
|
162
|
+
* @see https://docs.woox.io/#edit-order-by-client_order_id
|
|
163
|
+
* @see https://docs.woox.io/#edit-algo-order
|
|
164
|
+
* @see https://docs.woox.io/#edit-algo-order-by-client_order_id
|
|
165
165
|
* @param {string} id order id
|
|
166
166
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
167
167
|
* @param {string} type 'market' or 'limit'
|
|
@@ -181,9 +181,9 @@ export default class woo extends Exchange {
|
|
|
181
181
|
/**
|
|
182
182
|
* @method
|
|
183
183
|
* @name woo#cancelOrder
|
|
184
|
-
* @see https://docs.
|
|
185
|
-
* @see https://docs.
|
|
186
|
-
* @see https://docs.
|
|
184
|
+
* @see https://docs.woox.io/#cancel-algo-order
|
|
185
|
+
* @see https://docs.woox.io/#cancel-order
|
|
186
|
+
* @see https://docs.woox.io/#cancel-order-by-client_order_id
|
|
187
187
|
* @description cancels an open order
|
|
188
188
|
* @param {string} id order id
|
|
189
189
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
@@ -195,9 +195,9 @@ export default class woo extends Exchange {
|
|
|
195
195
|
/**
|
|
196
196
|
* @method
|
|
197
197
|
* @name woo#cancelAllOrders
|
|
198
|
-
* @see https://docs.
|
|
199
|
-
* @see https://docs.
|
|
200
|
-
* @see https://docs.
|
|
198
|
+
* @see https://docs.woox.io/#cancel-all-pending-orders
|
|
199
|
+
* @see https://docs.woox.io/#cancel-orders
|
|
200
|
+
* @see https://docs.woox.io/#cancel-all-pending-algo-orders
|
|
201
201
|
* @description cancel all open orders in a market
|
|
202
202
|
* @param {string} symbol unified market symbol
|
|
203
203
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -209,7 +209,7 @@ export default class woo extends Exchange {
|
|
|
209
209
|
* @method
|
|
210
210
|
* @name woo#cancelAllOrdersAfter
|
|
211
211
|
* @description dead man's switch, cancel all orders after the given timeout
|
|
212
|
-
* @see https://docs.
|
|
212
|
+
* @see https://docs.woox.io/#cancel-all-after
|
|
213
213
|
* @param {number} timeout time in milliseconds, 0 represents cancel the timer
|
|
214
214
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
215
215
|
* @returns {object} the api result
|
|
@@ -218,8 +218,8 @@ export default class woo extends Exchange {
|
|
|
218
218
|
/**
|
|
219
219
|
* @method
|
|
220
220
|
* @name woo#fetchOrder
|
|
221
|
-
* @see https://docs.
|
|
222
|
-
* @see https://docs.
|
|
221
|
+
* @see https://docs.woox.io/#get-algo-order
|
|
222
|
+
* @see https://docs.woox.io/#get-order
|
|
223
223
|
* @description fetches information on an order made by the user
|
|
224
224
|
* @param {string} id the order id
|
|
225
225
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
@@ -232,8 +232,8 @@ export default class woo extends Exchange {
|
|
|
232
232
|
* @method
|
|
233
233
|
* @name woo#fetchOrders
|
|
234
234
|
* @description fetches information on multiple orders made by the user
|
|
235
|
-
* @see https://docs.
|
|
236
|
-
* @see https://docs.
|
|
235
|
+
* @see https://docs.woox.io/#get-orders
|
|
236
|
+
* @see https://docs.woox.io/#get-algo-orders
|
|
237
237
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
238
238
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
239
239
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -250,8 +250,8 @@ export default class woo extends Exchange {
|
|
|
250
250
|
* @method
|
|
251
251
|
* @name woo#fetchOpenOrders
|
|
252
252
|
* @description fetches information on multiple orders made by the user
|
|
253
|
-
* @see https://docs.
|
|
254
|
-
* @see https://docs.
|
|
253
|
+
* @see https://docs.woox.io/#get-orders
|
|
254
|
+
* @see https://docs.woox.io/#get-algo-orders
|
|
255
255
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
256
256
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
257
257
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -268,8 +268,8 @@ export default class woo extends Exchange {
|
|
|
268
268
|
* @method
|
|
269
269
|
* @name woo#fetchClosedOrders
|
|
270
270
|
* @description fetches information on multiple orders made by the user
|
|
271
|
-
* @see https://docs.
|
|
272
|
-
* @see https://docs.
|
|
271
|
+
* @see https://docs.woox.io/#get-orders
|
|
272
|
+
* @see https://docs.woox.io/#get-algo-orders
|
|
273
273
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
274
274
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
275
275
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -289,7 +289,7 @@ export default class woo extends Exchange {
|
|
|
289
289
|
* @method
|
|
290
290
|
* @name woo#fetchOrderBook
|
|
291
291
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
292
|
-
* @see https://docs.
|
|
292
|
+
* @see https://docs.woox.io/#orderbook-snapshot-public
|
|
293
293
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
294
294
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
295
295
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -299,8 +299,8 @@ export default class woo extends Exchange {
|
|
|
299
299
|
/**
|
|
300
300
|
* @method
|
|
301
301
|
* @name woo#fetchOHLCV
|
|
302
|
-
* @see https://docs.
|
|
303
|
-
* @see https://docs.
|
|
302
|
+
* @see https://docs.woox.io/#kline-public
|
|
303
|
+
* @see https://docs.woox.io/#kline-historical-data-public
|
|
304
304
|
* @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
305
305
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
306
306
|
* @param {string} timeframe the length of time each candle represents
|
|
@@ -315,7 +315,7 @@ export default class woo extends Exchange {
|
|
|
315
315
|
* @method
|
|
316
316
|
* @name woo#fetchOrderTrades
|
|
317
317
|
* @description fetch all the trades made from a single order
|
|
318
|
-
* @see https://docs.
|
|
318
|
+
* @see https://docs.woox.io/#get-trades
|
|
319
319
|
* @param {string} id order id
|
|
320
320
|
* @param {string} symbol unified market symbol
|
|
321
321
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
@@ -328,7 +328,7 @@ export default class woo extends Exchange {
|
|
|
328
328
|
* @method
|
|
329
329
|
* @name woo#fetchMyTrades
|
|
330
330
|
* @description fetch all trades made by the user
|
|
331
|
-
* @see https://docs.
|
|
331
|
+
* @see https://docs.woox.io/#get-trades
|
|
332
332
|
* @param {string} symbol unified market symbol
|
|
333
333
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
334
334
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
@@ -341,7 +341,7 @@ export default class woo extends Exchange {
|
|
|
341
341
|
* @method
|
|
342
342
|
* @name woo#fetchAccounts
|
|
343
343
|
* @description fetch all the accounts associated with a profile
|
|
344
|
-
* @see https://docs.
|
|
344
|
+
* @see https://docs.woox.io/#get-assets-of-subaccounts
|
|
345
345
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
346
346
|
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
|
|
347
347
|
*/
|
|
@@ -357,7 +357,7 @@ export default class woo extends Exchange {
|
|
|
357
357
|
* @method
|
|
358
358
|
* @name woo#fetchBalance
|
|
359
359
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
360
|
-
* @see https://docs.
|
|
360
|
+
* @see https://docs.woox.io/#get-current-holding-get-balance-new
|
|
361
361
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
362
362
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
363
363
|
*/
|
|
@@ -367,7 +367,7 @@ export default class woo extends Exchange {
|
|
|
367
367
|
* @method
|
|
368
368
|
* @name woo#fetchDepositAddress
|
|
369
369
|
* @description fetch the deposit address for a currency associated with this account
|
|
370
|
-
* @see https://docs.
|
|
370
|
+
* @see https://docs.woox.io/#get-token-deposit-address
|
|
371
371
|
* @param {string} code unified currency code
|
|
372
372
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
373
373
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
@@ -378,7 +378,7 @@ export default class woo extends Exchange {
|
|
|
378
378
|
* @method
|
|
379
379
|
* @name woo#fetchLedger
|
|
380
380
|
* @description fetch the history of changes, actions done by the user or operations that altered balance of the user
|
|
381
|
-
* @see https://docs.
|
|
381
|
+
* @see https://docs.woox.io/#get-asset-history
|
|
382
382
|
* @param {string} [code] unified currency code, default is undefined
|
|
383
383
|
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
384
384
|
* @param {int} [limit] max number of ledger entries to return, default is undefined
|
|
@@ -393,7 +393,7 @@ export default class woo extends Exchange {
|
|
|
393
393
|
* @method
|
|
394
394
|
* @name woo#fetchDeposits
|
|
395
395
|
* @description fetch all deposits made to an account
|
|
396
|
-
* @see https://docs.
|
|
396
|
+
* @see https://docs.woox.io/#get-asset-history
|
|
397
397
|
* @param {string} code unified currency code
|
|
398
398
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
399
399
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
@@ -405,7 +405,7 @@ export default class woo extends Exchange {
|
|
|
405
405
|
* @method
|
|
406
406
|
* @name woo#fetchWithdrawals
|
|
407
407
|
* @description fetch all withdrawals made from an account
|
|
408
|
-
* @see https://docs.
|
|
408
|
+
* @see https://docs.woox.io/#get-asset-history
|
|
409
409
|
* @param {string} code unified currency code
|
|
410
410
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
411
411
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
@@ -417,7 +417,7 @@ export default class woo extends Exchange {
|
|
|
417
417
|
* @method
|
|
418
418
|
* @name woo#fetchDepositsWithdrawals
|
|
419
419
|
* @description fetch history of deposits and withdrawals
|
|
420
|
-
* @see https://docs.
|
|
420
|
+
* @see https://docs.woox.io/#get-asset-history
|
|
421
421
|
* @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
|
|
422
422
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
423
423
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
@@ -431,7 +431,7 @@ export default class woo extends Exchange {
|
|
|
431
431
|
* @method
|
|
432
432
|
* @name woo#transfer
|
|
433
433
|
* @description transfer currency internally between wallets on the same account
|
|
434
|
-
* @see https://docs.
|
|
434
|
+
* @see https://docs.woox.io/#get-transfer-history
|
|
435
435
|
* @param {string} code unified currency code
|
|
436
436
|
* @param {float} amount amount to transfer
|
|
437
437
|
* @param {string} fromAccount account to transfer from
|
|
@@ -444,7 +444,7 @@ export default class woo extends Exchange {
|
|
|
444
444
|
* @method
|
|
445
445
|
* @name woo#fetchTransfers
|
|
446
446
|
* @description fetch a history of internal transfers made on an account
|
|
447
|
-
* @see https://docs.
|
|
447
|
+
* @see https://docs.woox.io/#get-transfer-history
|
|
448
448
|
* @param {string} code unified currency code of the currency transferred
|
|
449
449
|
* @param {int} [since] the earliest time in ms to fetch transfers for
|
|
450
450
|
* @param {int} [limit] the maximum number of transfers structures to retrieve
|
|
@@ -459,7 +459,7 @@ export default class woo extends Exchange {
|
|
|
459
459
|
* @method
|
|
460
460
|
* @name woo#withdraw
|
|
461
461
|
* @description make a withdrawal
|
|
462
|
-
* @see https://docs.
|
|
462
|
+
* @see https://docs.woox.io/#token-withdraw
|
|
463
463
|
* @param {string} code unified currency code
|
|
464
464
|
* @param {float} amount the amount to withdraw
|
|
465
465
|
* @param {string} address the address to withdraw to
|
|
@@ -472,7 +472,7 @@ export default class woo extends Exchange {
|
|
|
472
472
|
* @method
|
|
473
473
|
* @name woo#repayMargin
|
|
474
474
|
* @description repay borrowed margin and interest
|
|
475
|
-
* @see https://docs.
|
|
475
|
+
* @see https://docs.woox.io/#repay-interest
|
|
476
476
|
* @param {string} code unified currency code of the currency to repay
|
|
477
477
|
* @param {float} amount the amount to repay
|
|
478
478
|
* @param {string} symbol not used by woo.repayMargin ()
|
|
@@ -511,7 +511,7 @@ export default class woo extends Exchange {
|
|
|
511
511
|
* @method
|
|
512
512
|
* @name woo#fetchFundingHistory
|
|
513
513
|
* @description fetch the history of funding payments paid and received on this account
|
|
514
|
-
* @see https://docs.
|
|
514
|
+
* @see https://docs.woox.io/#get-funding-fee-history
|
|
515
515
|
* @param {string} [symbol] unified market symbol
|
|
516
516
|
* @param {int} [since] the earliest time in ms to fetch funding history for
|
|
517
517
|
* @param {int} [limit] the maximum number of funding history structures to retrieve
|
|
@@ -555,7 +555,7 @@ export default class woo extends Exchange {
|
|
|
555
555
|
* @method
|
|
556
556
|
* @name woo#fetchFundingRateHistory
|
|
557
557
|
* @description fetches historical funding rate prices
|
|
558
|
-
* @see https://docs.
|
|
558
|
+
* @see https://docs.woox.io/#get-funding-rate-history-for-one-market-public
|
|
559
559
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
560
560
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
561
561
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure} to fetch
|
|
@@ -569,7 +569,7 @@ export default class woo extends Exchange {
|
|
|
569
569
|
* @method
|
|
570
570
|
* @name woo#setPositionMode
|
|
571
571
|
* @description set hedged to true or false for a market
|
|
572
|
-
* @see https://docs.
|
|
572
|
+
* @see https://docs.woox.io/#update-position-mode
|
|
573
573
|
* @param {bool} hedged set to true to use HEDGE_MODE, false for ONE_WAY
|
|
574
574
|
* @param {string} symbol not used by woo setPositionMode
|
|
575
575
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -580,7 +580,7 @@ export default class woo extends Exchange {
|
|
|
580
580
|
* @method
|
|
581
581
|
* @name woo#fetchLeverage
|
|
582
582
|
* @description fetch the set leverage for a market
|
|
583
|
-
* @see https://docs.
|
|
583
|
+
* @see https://docs.woox.io/#get-account-information-new
|
|
584
584
|
* @param {string} symbol unified market symbol
|
|
585
585
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
586
586
|
* @param {string} [params.marginMode] *for swap markets only* 'cross' or 'isolated'
|
|
@@ -593,8 +593,8 @@ export default class woo extends Exchange {
|
|
|
593
593
|
* @method
|
|
594
594
|
* @name woo#setLeverage
|
|
595
595
|
* @description set the level of leverage for a market
|
|
596
|
-
* @see https://docs.
|
|
597
|
-
* @see https://docs.
|
|
596
|
+
* @see https://docs.woox.io/#update-leverage-setting
|
|
597
|
+
* @see https://docs.woox.io/#update-futures-leverage-setting
|
|
598
598
|
* @param {float} leverage the rate of leverage (1, 2, 3, 4 or 5 for spot markets, 1, 2, 3, 4, 5, 10, 15, 20 for swap markets)
|
|
599
599
|
* @param {string} [symbol] unified market symbol (is mandatory for swap markets)
|
|
600
600
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -607,7 +607,7 @@ export default class woo extends Exchange {
|
|
|
607
607
|
* @method
|
|
608
608
|
* @name woo#addMargin
|
|
609
609
|
* @description add margin
|
|
610
|
-
* @see https://docs.
|
|
610
|
+
* @see https://docs.woox.io/#update-isolated-margin-setting
|
|
611
611
|
* @param {string} symbol unified market symbol
|
|
612
612
|
* @param {float} amount amount of margin to add
|
|
613
613
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -619,7 +619,7 @@ export default class woo extends Exchange {
|
|
|
619
619
|
* @method
|
|
620
620
|
* @name woo#reduceMargin
|
|
621
621
|
* @description remove margin from a position
|
|
622
|
-
* @see https://docs.
|
|
622
|
+
* @see https://docs.woox.io/#update-isolated-margin-setting
|
|
623
623
|
* @param {string} symbol unified market symbol
|
|
624
624
|
* @param {float} amount amount of margin to remove
|
|
625
625
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -635,7 +635,7 @@ export default class woo extends Exchange {
|
|
|
635
635
|
* @method
|
|
636
636
|
* @name woo#fetchConvertQuote
|
|
637
637
|
* @description fetch a quote for converting from one currency to another
|
|
638
|
-
* @see https://docs.
|
|
638
|
+
* @see https://docs.woox.io/#get-quote-rfq
|
|
639
639
|
* @param {string} fromCode the currency that you want to sell and convert from
|
|
640
640
|
* @param {string} toCode the currency that you want to buy and convert into
|
|
641
641
|
* @param {float} [amount] how much you want to trade in units of the from currency
|
|
@@ -647,7 +647,7 @@ export default class woo extends Exchange {
|
|
|
647
647
|
* @method
|
|
648
648
|
* @name woo#createConvertTrade
|
|
649
649
|
* @description convert from one currency to another
|
|
650
|
-
* @see https://docs.
|
|
650
|
+
* @see https://docs.woox.io/#send-quote-rft
|
|
651
651
|
* @param {string} id the id of the trade that you want to make
|
|
652
652
|
* @param {string} fromCode the currency that you want to sell and convert from
|
|
653
653
|
* @param {string} toCode the currency that you want to buy and convert into
|
|
@@ -660,7 +660,7 @@ export default class woo extends Exchange {
|
|
|
660
660
|
* @method
|
|
661
661
|
* @name woo#fetchConvertTrade
|
|
662
662
|
* @description fetch the data for a conversion trade
|
|
663
|
-
* @see https://docs.
|
|
663
|
+
* @see https://docs.woox.io/#get-quote-trade
|
|
664
664
|
* @param {string} id the id of the trade that you want to fetch
|
|
665
665
|
* @param {string} [code] the unified currency code of the conversion trade
|
|
666
666
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -671,7 +671,7 @@ export default class woo extends Exchange {
|
|
|
671
671
|
* @method
|
|
672
672
|
* @name woo#fetchConvertTradeHistory
|
|
673
673
|
* @description fetch the users history of conversion trades
|
|
674
|
-
* @see https://docs.
|
|
674
|
+
* @see https://docs.woox.io/#get-quote-trades
|
|
675
675
|
* @param {string} [code] the unified currency code
|
|
676
676
|
* @param {int} [since] the earliest time in ms to fetch conversions for
|
|
677
677
|
* @param {int} [limit] the maximum number of conversion structures to retrieve
|
|
@@ -685,7 +685,7 @@ export default class woo extends Exchange {
|
|
|
685
685
|
* @method
|
|
686
686
|
* @name woo#fetchConvertCurrencies
|
|
687
687
|
* @description fetches all available currencies that can be converted
|
|
688
|
-
* @see https://docs.
|
|
688
|
+
* @see https://docs.woox.io/#get-quote-asset-info
|
|
689
689
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
690
690
|
* @returns {object} an associative dictionary of currencies
|
|
691
691
|
*/
|