ccxt 4.4.77 → 4.4.80
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 -10
- package/dist/ccxt.browser.min.js +7 -7
- package/dist/cjs/ccxt.js +8 -4
- package/dist/cjs/src/abstract/ace.js +1 -1
- package/dist/cjs/src/abstract/apex.js +9 -0
- package/dist/cjs/src/ace.js +1 -1
- package/dist/cjs/src/apex.js +1949 -0
- package/dist/cjs/src/ascendex.js +25 -4
- package/dist/cjs/src/base/Exchange.js +42 -2
- package/dist/cjs/src/binance.js +9 -1
- package/dist/cjs/src/bingx.js +3 -3
- package/dist/cjs/src/bitfinex.js +64 -36
- package/dist/cjs/src/bitget.js +191 -138
- package/dist/cjs/src/bitmart.js +7 -2
- package/dist/cjs/src/bitmex.js +16 -8
- package/dist/cjs/src/bitopro.js +5 -1
- package/dist/cjs/src/bitrue.js +2 -1
- package/dist/cjs/src/bitso.js +1 -1
- package/dist/cjs/src/bitteam.js +2 -0
- package/dist/cjs/src/bitvavo.js +28 -10
- package/dist/cjs/src/btcalpha.js +1 -1
- package/dist/cjs/src/btcmarkets.js +1 -1
- package/dist/cjs/src/btcturk.js +1 -1
- package/dist/cjs/src/bybit.js +32 -16
- package/dist/cjs/src/cex.js +1 -1
- package/dist/cjs/src/coinbase.js +18 -2
- package/dist/cjs/src/coincatch.js +68 -0
- package/dist/cjs/src/coinex.js +1 -0
- package/dist/cjs/src/coinlist.js +1 -0
- package/dist/cjs/src/coinone.js +1 -0
- package/dist/cjs/src/delta.js +4 -0
- package/dist/cjs/src/deribit.js +1 -0
- package/dist/cjs/src/hitbtc.js +3 -0
- package/dist/cjs/src/hollaex.js +1 -0
- package/dist/cjs/src/htx.js +7 -3
- package/dist/cjs/src/huobijp.js +1 -0
- package/dist/cjs/src/hyperliquid.js +14 -4
- package/dist/cjs/src/kraken.js +2 -0
- package/dist/cjs/src/mexc.js +50 -57
- package/dist/cjs/src/okx.js +1 -1
- package/dist/cjs/src/phemex.js +2 -1
- package/dist/cjs/src/poloniex.js +2 -1
- package/dist/cjs/src/pro/apex.js +1043 -0
- package/dist/cjs/src/pro/binance.js +3 -3
- package/dist/cjs/src/pro/coinbase.js +45 -68
- package/dist/cjs/src/pro/gate.js +27 -2
- package/dist/cjs/src/pro/hollaex.js +2 -2
- package/dist/cjs/src/pro/p2b.js +2 -2
- package/dist/cjs/src/pro/tradeogre.js +283 -0
- package/dist/cjs/src/pro/upbit.js +43 -0
- package/dist/cjs/src/probit.js +1 -0
- package/dist/cjs/src/static_dependencies/zklink/zklink-sdk-web.js +2639 -0
- package/dist/cjs/src/timex.js +2 -2
- package/dist/cjs/src/tradeogre.js +2 -1
- package/dist/cjs/src/upbit.js +277 -67
- package/dist/cjs/src/whitebit.js +66 -12
- package/dist/cjs/src/woo.js +3 -1
- package/dist/cjs/src/xt.js +9 -0
- package/js/ccxt.d.ts +11 -5
- package/js/ccxt.js +8 -4
- package/js/src/abstract/apex.d.ts +34 -0
- package/js/src/abstract/bitmart.d.ts +1 -0
- package/js/src/apex.d.ts +333 -0
- package/js/src/apex.js +1945 -0
- package/js/src/ascendex.d.ts +3 -3
- package/js/src/ascendex.js +25 -4
- package/js/src/base/Exchange.d.ts +2 -0
- package/js/src/base/Exchange.js +42 -1
- package/js/src/binance.d.ts +7 -7
- package/js/src/binance.js +9 -1
- package/js/src/bingx.js +3 -3
- package/js/src/bitfinex.d.ts +3 -3
- package/js/src/bitfinex.js +64 -36
- package/js/src/bitflyer.d.ts +2 -2
- package/js/src/bitget.d.ts +2 -0
- package/js/src/bitget.js +191 -138
- package/js/src/bitmart.d.ts +5 -4
- package/js/src/bitmart.js +7 -2
- package/js/src/bitmex.d.ts +3 -3
- package/js/src/bitmex.js +16 -8
- package/js/src/bitopro.js +5 -1
- package/js/src/bitrue.js +2 -1
- package/js/src/bitso.js +1 -1
- package/js/src/bitteam.js +2 -0
- package/js/src/bitvavo.js +28 -10
- package/js/src/btcalpha.js +1 -1
- package/js/src/btcmarkets.js +1 -1
- package/js/src/btcturk.js +1 -1
- package/js/src/bybit.js +32 -16
- package/js/src/cex.js +1 -1
- package/js/src/coinbase.d.ts +4 -4
- package/js/src/coinbase.js +18 -2
- package/js/src/coinbaseexchange.d.ts +1 -1
- package/js/src/coincatch.d.ts +11 -0
- package/js/src/coincatch.js +68 -0
- package/js/src/coinex.js +1 -0
- package/js/src/coinlist.js +1 -0
- package/js/src/coinone.js +1 -0
- package/js/src/cryptocom.d.ts +4 -4
- package/js/src/delta.js +4 -0
- package/js/src/deribit.d.ts +4 -4
- package/js/src/deribit.js +1 -0
- package/js/src/derive.d.ts +3 -3
- package/js/src/digifinex.d.ts +4 -4
- package/js/src/hitbtc.js +3 -0
- package/js/src/hollaex.js +1 -0
- package/js/src/htx.d.ts +4 -4
- package/js/src/htx.js +7 -3
- package/js/src/huobijp.js +1 -0
- package/js/src/hyperliquid.d.ts +1 -0
- package/js/src/hyperliquid.js +14 -4
- package/js/src/kraken.d.ts +3 -3
- package/js/src/kraken.js +2 -0
- package/js/src/krakenfutures.d.ts +2 -2
- package/js/src/kucoinfutures.d.ts +5 -5
- package/js/src/mexc.d.ts +1 -0
- package/js/src/mexc.js +50 -57
- package/js/src/okx.js +1 -1
- package/js/src/oxfun.d.ts +3 -3
- package/js/src/phemex.d.ts +3 -3
- package/js/src/phemex.js +2 -1
- package/js/src/poloniex.d.ts +3 -3
- package/js/src/poloniex.js +2 -1
- package/js/src/pro/apex.d.ts +160 -0
- package/js/src/pro/apex.js +1038 -0
- package/js/src/pro/binance.js +3 -3
- package/js/src/pro/coinbase.d.ts +4 -3
- package/js/src/pro/coinbase.js +45 -66
- package/js/src/pro/gate.js +27 -2
- package/js/src/pro/hollaex.js +2 -2
- package/js/src/pro/p2b.js +2 -2
- package/js/src/pro/tradeogre.d.ts +49 -0
- package/js/src/pro/tradeogre.js +278 -0
- package/js/src/pro/upbit.d.ts +16 -1
- package/js/src/pro/upbit.js +43 -0
- package/js/src/probit.js +1 -0
- package/js/src/static_dependencies/zklink/zklink-sdk-web.d.ts +1279 -0
- package/js/src/static_dependencies/zklink/zklink-sdk-web.js +4276 -0
- package/js/src/timex.js +2 -2
- package/js/src/tradeogre.js +2 -1
- package/js/src/upbit.d.ts +75 -23
- package/js/src/upbit.js +277 -67
- package/js/src/vertex.d.ts +3 -3
- package/js/src/whitebit.js +66 -12
- package/js/src/woo.d.ts +4 -4
- package/js/src/woo.js +3 -1
- package/js/src/woofipro.d.ts +4 -4
- package/js/src/xt.d.ts +4 -4
- package/js/src/xt.js +9 -0
- package/package.json +2 -2
- package/js/src/abstract/ace.d.ts +0 -18
- package/js/src/ace.d.ts +0 -158
- package/js/src/ace.js +0 -1175
- /package/js/src/abstract/{ace.js → apex.js} +0 -0
package/js/src/timex.js
CHANGED
|
@@ -1550,7 +1550,7 @@ export default class timex extends Exchange {
|
|
|
1550
1550
|
'currency': feeCurrency,
|
|
1551
1551
|
};
|
|
1552
1552
|
}
|
|
1553
|
-
return {
|
|
1553
|
+
return this.safeTrade({
|
|
1554
1554
|
'info': trade,
|
|
1555
1555
|
'id': id,
|
|
1556
1556
|
'timestamp': timestamp,
|
|
@@ -1564,7 +1564,7 @@ export default class timex extends Exchange {
|
|
|
1564
1564
|
'cost': cost,
|
|
1565
1565
|
'takerOrMaker': takerOrMaker,
|
|
1566
1566
|
'fee': fee,
|
|
1567
|
-
};
|
|
1567
|
+
});
|
|
1568
1568
|
}
|
|
1569
1569
|
parseOHLCV(ohlcv, market = undefined) {
|
|
1570
1570
|
//
|
package/js/src/tradeogre.js
CHANGED
|
@@ -15,7 +15,7 @@ export default class tradeogre extends Exchange {
|
|
|
15
15
|
'countries': [],
|
|
16
16
|
'rateLimit': 100,
|
|
17
17
|
'version': 'v2',
|
|
18
|
-
'pro':
|
|
18
|
+
'pro': true,
|
|
19
19
|
'has': {
|
|
20
20
|
'CORS': undefined,
|
|
21
21
|
'spot': true,
|
|
@@ -526,6 +526,7 @@ export default class tradeogre extends Exchange {
|
|
|
526
526
|
'asks': rawAsks,
|
|
527
527
|
};
|
|
528
528
|
const orderbook = this.parseOrderBook(rawOrderbook, symbol);
|
|
529
|
+
orderbook['nonce'] = this.safeInteger(response, 's');
|
|
529
530
|
return orderbook;
|
|
530
531
|
}
|
|
531
532
|
parseBidsAsks(bidasks, priceKey = 0, amountKey = 1, countOrIdKey = 2) {
|
package/js/src/upbit.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Exchange from './abstract/upbit.js';
|
|
2
|
-
import type { Balances, Currency, Dict, Int, Market, Num, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, TradingFeeInterface, Transaction, int, DepositAddress, OrderBooks } from './base/types.js';
|
|
2
|
+
import type { Balances, Currency, Dict, Int, Market, Num, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, TradingFeeInterface, Transaction, int, DepositAddress, OrderBooks, TradingFees } from './base/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* @class upbit
|
|
5
5
|
* @augments Exchange
|
|
@@ -41,7 +41,8 @@ export default class upbit extends Exchange {
|
|
|
41
41
|
/**
|
|
42
42
|
* @method
|
|
43
43
|
* @name upbit#fetchMarkets
|
|
44
|
-
* @see https://docs.upbit.com/reference
|
|
44
|
+
* @see https://docs.upbit.com/kr/reference/마켓-코드-조회
|
|
45
|
+
* @see https://global-docs.upbit.com/reference/listing-market-list
|
|
45
46
|
* @description retrieves data on all markets for upbit
|
|
46
47
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
47
48
|
* @returns {object[]} an array of objects representing market data
|
|
@@ -52,7 +53,8 @@ export default class upbit extends Exchange {
|
|
|
52
53
|
/**
|
|
53
54
|
* @method
|
|
54
55
|
* @name upbit#fetchBalance
|
|
55
|
-
* @see https://docs.upbit.com/reference
|
|
56
|
+
* @see https://docs.upbit.com/kr/reference/전체-계좌-조회
|
|
57
|
+
* @see https://global-docs.upbit.com/reference/overall-account-inquiry
|
|
56
58
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
57
59
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
58
60
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
@@ -61,7 +63,8 @@ export default class upbit extends Exchange {
|
|
|
61
63
|
/**
|
|
62
64
|
* @method
|
|
63
65
|
* @name upbit#fetchOrderBooks
|
|
64
|
-
* @see https://docs.upbit.com/reference
|
|
66
|
+
* @see https://docs.upbit.com/kr/reference/호가-정보-조회
|
|
67
|
+
* @see https://global-docs.upbit.com/reference/order-book-list
|
|
65
68
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data for multiple markets
|
|
66
69
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
67
70
|
* @param {int} [limit] not used by upbit fetchOrderBooks ()
|
|
@@ -72,7 +75,8 @@ export default class upbit extends Exchange {
|
|
|
72
75
|
/**
|
|
73
76
|
* @method
|
|
74
77
|
* @name upbit#fetchOrderBook
|
|
75
|
-
* @see https://docs.upbit.com/reference
|
|
78
|
+
* @see https://docs.upbit.com/kr/reference/호가-정보-조회
|
|
79
|
+
* @see https://global-docs.upbit.com/reference/order-book-list
|
|
76
80
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
77
81
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
78
82
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
@@ -84,7 +88,8 @@ export default class upbit extends Exchange {
|
|
|
84
88
|
/**
|
|
85
89
|
* @method
|
|
86
90
|
* @name upbit#fetchTickers
|
|
87
|
-
* @see https://docs.upbit.com/reference/ticker
|
|
91
|
+
* @see https://docs.upbit.com/kr/reference/ticker현재가-정보
|
|
92
|
+
* @see https://global-docs.upbit.com/reference/tickers
|
|
88
93
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
89
94
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
90
95
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -94,7 +99,8 @@ export default class upbit extends Exchange {
|
|
|
94
99
|
/**
|
|
95
100
|
* @method
|
|
96
101
|
* @name upbit#fetchTicker
|
|
97
|
-
* @see https://docs.upbit.com/reference/ticker
|
|
102
|
+
* @see https://docs.upbit.com/kr/reference/ticker현재가-정보
|
|
103
|
+
* @see https://global-docs.upbit.com/reference/tickers
|
|
98
104
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
99
105
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
100
106
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -105,7 +111,8 @@ export default class upbit extends Exchange {
|
|
|
105
111
|
/**
|
|
106
112
|
* @method
|
|
107
113
|
* @name upbit#fetchTrades
|
|
108
|
-
* @see https://docs.upbit.com/reference
|
|
114
|
+
* @see https://docs.upbit.com/kr/reference/최근-체결-내역
|
|
115
|
+
* @see https://global-docs.upbit.com/reference/today-trades-history
|
|
109
116
|
* @description get the list of most recent trades for a particular symbol
|
|
110
117
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
111
118
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
@@ -117,18 +124,28 @@ export default class upbit extends Exchange {
|
|
|
117
124
|
/**
|
|
118
125
|
* @method
|
|
119
126
|
* @name upbit#fetchTradingFee
|
|
120
|
-
* @see https://docs.upbit.com/reference
|
|
127
|
+
* @see https://docs.upbit.com/kr/reference/주문-가능-정보
|
|
128
|
+
* @see https://global-docs.upbit.com/reference/available-order-information
|
|
121
129
|
* @description fetch the trading fees for a market
|
|
122
130
|
* @param {string} symbol unified market symbol
|
|
123
131
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
124
132
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
125
133
|
*/
|
|
126
134
|
fetchTradingFee(symbol: string, params?: {}): Promise<TradingFeeInterface>;
|
|
135
|
+
/**
|
|
136
|
+
* @method
|
|
137
|
+
* @name upbit#fetchTradingFees
|
|
138
|
+
* @description fetch the trading fees for markets
|
|
139
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
140
|
+
* @returns {object} a [trading fee structure]{@link https://docs.ccxt.com/#/?id=trading-fee-structure}
|
|
141
|
+
*/
|
|
142
|
+
fetchTradingFees(params?: {}): Promise<TradingFees>;
|
|
127
143
|
parseOHLCV(ohlcv: any, market?: Market): OHLCV;
|
|
128
144
|
/**
|
|
129
145
|
* @method
|
|
130
146
|
* @name upbit#fetchOHLCV
|
|
131
|
-
* @see https://docs.upbit.com/reference
|
|
147
|
+
* @see https://docs.upbit.com/kr/reference/분minute-캔들-1
|
|
148
|
+
* @see https://global-docs.upbit.com/reference/minutes
|
|
132
149
|
* @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
133
150
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
134
151
|
* @param {string} timeframe the length of time each candle represents
|
|
@@ -138,27 +155,30 @@ export default class upbit extends Exchange {
|
|
|
138
155
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
139
156
|
*/
|
|
140
157
|
fetchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<OHLCV[]>;
|
|
158
|
+
calcOrderPrice(symbol: string, amount: number, price?: Num, params?: {}): string;
|
|
141
159
|
/**
|
|
142
160
|
* @method
|
|
143
161
|
* @name upbit#createOrder
|
|
144
162
|
* @description create a trade order
|
|
145
|
-
* @see https://docs.upbit.com/reference
|
|
163
|
+
* @see https://docs.upbit.com/kr/reference/주문하기
|
|
146
164
|
* @see https://global-docs.upbit.com/reference/order
|
|
147
165
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
148
|
-
* @param {string} type 'market'
|
|
166
|
+
* @param {string} type supports 'market' and 'limit'. if params.ordType is set to best, a best-type order will be created regardless of the value of type.
|
|
149
167
|
* @param {string} side 'buy' or 'sell'
|
|
150
168
|
* @param {float} amount how much you want to trade in units of the base currency
|
|
151
169
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
152
170
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
153
|
-
* @param {float} [params.cost] for market buy orders, the quote quantity that can be used as an alternative for the amount
|
|
154
|
-
* @param {string} [params.
|
|
171
|
+
* @param {float} [params.cost] for market buy and best buy orders, the quote quantity that can be used as an alternative for the amount
|
|
172
|
+
* @param {string} [params.ordType] this field can be used to place a ‘best’ type order
|
|
173
|
+
* @param {string} [params.timeInForce] 'IOC' or 'FOK'. only for limit or best type orders. this field is required when the order type is 'best'.
|
|
155
174
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
156
175
|
*/
|
|
157
176
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
158
177
|
/**
|
|
159
178
|
* @method
|
|
160
179
|
* @name upbit#cancelOrder
|
|
161
|
-
* @see https://docs.upbit.com/reference
|
|
180
|
+
* @see https://docs.upbit.com/kr/reference/주문-취소
|
|
181
|
+
* @see https://global-docs.upbit.com/reference/order-cancel
|
|
162
182
|
* @description cancels an open order
|
|
163
183
|
* @param {string} id order id
|
|
164
184
|
* @param {string} symbol not used by upbit cancelOrder ()
|
|
@@ -166,10 +186,32 @@ export default class upbit extends Exchange {
|
|
|
166
186
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
167
187
|
*/
|
|
168
188
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
189
|
+
/**
|
|
190
|
+
* @method
|
|
191
|
+
* @name upbit#editOrder
|
|
192
|
+
* @see https://docs.upbit.com/kr/reference/취소-후-재주문
|
|
193
|
+
* @see https://global-docs.upbit.com/reference/cancel-and-new
|
|
194
|
+
* @description canceled existing order and create new order. It's only generated same side and symbol as the canceled order. it returns the data of the canceled order, except for `new_order_uuid` and `new_identifier`. to get the details of the new order, use `fetchOrder(new_order_uuid)`.
|
|
195
|
+
* @param {string} id the uuid of the previous order you want to edit.
|
|
196
|
+
* @param {string} symbol the symbol of the new order. it must be the same as the symbol of the previous order.
|
|
197
|
+
* @param {string} type the type of the new order. only limit or market is accepted. if params.newOrdType is set to best, a best-type order will be created regardless of the value of type.
|
|
198
|
+
* @param {string} side the side of the new order. it must be the same as the side of the previous order.
|
|
199
|
+
* @param {number} amount the amount of the asset you want to buy or sell. It could be overridden by specifying the new_volume parameter in params.
|
|
200
|
+
* @param {number} price the price of the asset you want to buy or sell. It could be overridden by specifying the new_price parameter in params.
|
|
201
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint.
|
|
202
|
+
* @param {string} [params.clientOrderId] to identify the previous order, either the id or this field is required in this method.
|
|
203
|
+
* @param {float} [params.cost] for market buy and best buy orders, the quote quantity that can be used as an alternative for the amount.
|
|
204
|
+
* @param {string} [params.newTimeInForce] 'IOC' or 'FOK'. only for limit or best type orders. this field is required when the order type is 'best'.
|
|
205
|
+
* @param {string} [params.newClientOrderId] the order ID that the user can define.
|
|
206
|
+
* @param {string} [params.newOrdType] this field only accepts limit, price, market, or best. You can refer to the Upbit developer documentation for details on how to use this field.
|
|
207
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
208
|
+
*/
|
|
209
|
+
editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
|
|
169
210
|
/**
|
|
170
211
|
* @method
|
|
171
212
|
* @name upbit#fetchDeposits
|
|
172
|
-
* @see https://docs.upbit.com/reference
|
|
213
|
+
* @see https://docs.upbit.com/kr/reference/입금-리스트-조회
|
|
214
|
+
* @see https://global-docs.upbit.com/reference/deposit-list-inquiry
|
|
173
215
|
* @description fetch all deposits made to an account
|
|
174
216
|
* @param {string} code unified currency code
|
|
175
217
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
@@ -182,6 +224,7 @@ export default class upbit extends Exchange {
|
|
|
182
224
|
* @method
|
|
183
225
|
* @name upbit#fetchDeposit
|
|
184
226
|
* @description fetch information on a deposit
|
|
227
|
+
* @see https://docs.upbit.com/kr/reference/개별-입금-조회
|
|
185
228
|
* @see https://global-docs.upbit.com/reference/individual-deposit-inquiry
|
|
186
229
|
* @param {string} id the unique id for the deposit
|
|
187
230
|
* @param {string} [code] unified currency code of the currency deposited
|
|
@@ -193,7 +236,8 @@ export default class upbit extends Exchange {
|
|
|
193
236
|
/**
|
|
194
237
|
* @method
|
|
195
238
|
* @name upbit#fetchWithdrawals
|
|
196
|
-
* @see https://docs.upbit.com/reference
|
|
239
|
+
* @see https://docs.upbit.com/kr/reference/전체-출금-조회
|
|
240
|
+
* @see https://global-docs.upbit.com/reference/withdrawal-list-inquiry
|
|
197
241
|
* @description fetch all withdrawals made from an account
|
|
198
242
|
* @param {string} code unified currency code
|
|
199
243
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
@@ -206,6 +250,7 @@ export default class upbit extends Exchange {
|
|
|
206
250
|
* @method
|
|
207
251
|
* @name upbit#fetchWithdrawal
|
|
208
252
|
* @description fetch data on a currency withdrawal via the withdrawal id
|
|
253
|
+
* @see https://docs.upbit.com/kr/reference/개별-출금-조회
|
|
209
254
|
* @see https://global-docs.upbit.com/reference/individual-withdrawal-inquiry
|
|
210
255
|
* @param {string} id the unique id for the withdrawal
|
|
211
256
|
* @param {string} [code] unified currency code of the currency withdrawn
|
|
@@ -222,6 +267,7 @@ export default class upbit extends Exchange {
|
|
|
222
267
|
* @method
|
|
223
268
|
* @name upbit#fetchOpenOrders
|
|
224
269
|
* @description fetch all unfilled currently open orders
|
|
270
|
+
* @see https://docs.upbit.com/kr/reference/대기-주문-조회
|
|
225
271
|
* @see https://global-docs.upbit.com/reference/open-order
|
|
226
272
|
* @param {string} symbol unified market symbol
|
|
227
273
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
@@ -235,6 +281,7 @@ export default class upbit extends Exchange {
|
|
|
235
281
|
* @method
|
|
236
282
|
* @name upbit#fetchClosedOrders
|
|
237
283
|
* @description fetches information on multiple closed orders made by the user
|
|
284
|
+
* @see https://docs.upbit.com/kr/reference/종료-주문-조회
|
|
238
285
|
* @see https://global-docs.upbit.com/reference/closed-order
|
|
239
286
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
240
287
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
@@ -248,6 +295,7 @@ export default class upbit extends Exchange {
|
|
|
248
295
|
* @method
|
|
249
296
|
* @name upbit#fetchCanceledOrders
|
|
250
297
|
* @description fetches information on multiple canceled orders made by the user
|
|
298
|
+
* @see https://docs.upbit.com/kr/reference/종료-주문-조회
|
|
251
299
|
* @see https://global-docs.upbit.com/reference/closed-order
|
|
252
300
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
253
301
|
* @param {int} [since] timestamp in ms of the earliest order, default is undefined
|
|
@@ -260,7 +308,8 @@ export default class upbit extends Exchange {
|
|
|
260
308
|
/**
|
|
261
309
|
* @method
|
|
262
310
|
* @name upbit#fetchOrder
|
|
263
|
-
* @see https://docs.upbit.com/reference
|
|
311
|
+
* @see https://docs.upbit.com/kr/reference/개별-주문-조회
|
|
312
|
+
* @see https://global-docs.upbit.com/reference/individual-order-inquiry
|
|
264
313
|
* @description fetches information on an order made by the user
|
|
265
314
|
* @param {string} id order id
|
|
266
315
|
* @param {string} symbol not used by upbit fetchOrder
|
|
@@ -271,7 +320,8 @@ export default class upbit extends Exchange {
|
|
|
271
320
|
/**
|
|
272
321
|
* @method
|
|
273
322
|
* @name upbit#fetchDepositAddresses
|
|
274
|
-
* @see https://docs.upbit.com/reference
|
|
323
|
+
* @see https://docs.upbit.com/kr/reference/전체-입금-주소-조회
|
|
324
|
+
* @see https://global-docs.upbit.com/reference/general-deposit-address-inquiry
|
|
275
325
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
276
326
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
277
327
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -282,7 +332,8 @@ export default class upbit extends Exchange {
|
|
|
282
332
|
/**
|
|
283
333
|
* @method
|
|
284
334
|
* @name upbit#fetchDepositAddress
|
|
285
|
-
* @see https://docs.upbit.com/reference
|
|
335
|
+
* @see https://docs.upbit.com/kr/reference/개별-입금-주소-조회
|
|
336
|
+
* @see https://global-docs.upbit.com/reference/individual-deposit-address-inquiry
|
|
286
337
|
* @description fetch the deposit address for a currency associated with this account
|
|
287
338
|
* @param {string} code unified currency code
|
|
288
339
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -293,7 +344,8 @@ export default class upbit extends Exchange {
|
|
|
293
344
|
/**
|
|
294
345
|
* @method
|
|
295
346
|
* @name upbit#createDepositAddress
|
|
296
|
-
* @see https://docs.upbit.com/reference
|
|
347
|
+
* @see https://docs.upbit.com/kr/reference/입금-주소-생성-요청
|
|
348
|
+
* @see https://global-docs.upbit.com/reference/deposit-address-generation
|
|
297
349
|
* @description create a currency deposit address
|
|
298
350
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
299
351
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -303,8 +355,8 @@ export default class upbit extends Exchange {
|
|
|
303
355
|
/**
|
|
304
356
|
* @method
|
|
305
357
|
* @name upbit#withdraw
|
|
306
|
-
* @see https://docs.upbit.com/reference/디지털자산-출금하기
|
|
307
|
-
* @see https://docs.upbit.com/reference
|
|
358
|
+
* @see https://docs.upbit.com/kr/reference/디지털자산-출금하기
|
|
359
|
+
* @see https://global-docs.upbit.com/reference/withdrawal-digital-assets
|
|
308
360
|
* @description make a withdrawal
|
|
309
361
|
* @param {string} code unified currency code
|
|
310
362
|
* @param {float} amount the amount to withdraw
|