ccxt 4.1.19__py2.py3-none-any.whl → 4.1.22__py2.py3-none-any.whl
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.
- ccxt/__init__.py +1 -1
- ccxt/abstract/okcoin.py +70 -206
- ccxt/ace.py +12 -12
- ccxt/ascendex.py +5 -5
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +12 -12
- ccxt/async_support/ascendex.py +5 -5
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bigone.py +2 -2
- ccxt/async_support/binance.py +184 -184
- ccxt/async_support/bingx.py +48 -48
- ccxt/async_support/bitbank.py +14 -14
- ccxt/async_support/bitbns.py +7 -7
- ccxt/async_support/bitfinex.py +2 -2
- ccxt/async_support/bitfinex2.py +35 -35
- ccxt/async_support/bitflyer.py +17 -17
- ccxt/async_support/bitforex.py +9 -9
- ccxt/async_support/bitget.py +433 -215
- ccxt/async_support/bitmart.py +39 -39
- ccxt/async_support/bitmex.py +7 -7
- ccxt/async_support/bitopro.py +1 -1
- ccxt/async_support/bitpanda.py +1 -1
- ccxt/async_support/bitrue.py +2 -2
- ccxt/async_support/bitso.py +2 -2
- ccxt/async_support/bitstamp.py +3 -3
- ccxt/async_support/bitvavo.py +2 -2
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/btcalpha.py +7 -7
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +58 -58
- ccxt/async_support/cex.py +1 -1
- ccxt/async_support/coinbase.py +13 -13
- ccxt/async_support/coinbasepro.py +15 -15
- ccxt/async_support/coinex.py +19 -19
- ccxt/async_support/coinone.py +2 -2
- ccxt/async_support/coinsph.py +4 -4
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +28 -28
- ccxt/async_support/currencycom.py +1 -1
- ccxt/async_support/delta.py +26 -26
- ccxt/async_support/deribit.py +9 -9
- ccxt/async_support/digifinex.py +38 -38
- ccxt/async_support/exmo.py +18 -18
- ccxt/async_support/gate.py +59 -59
- ccxt/async_support/gemini.py +4 -4
- ccxt/async_support/hitbtc.py +6 -6
- ccxt/async_support/hollaex.py +2 -2
- ccxt/async_support/huobi.py +70 -70
- ccxt/async_support/indodax.py +1 -1
- ccxt/async_support/kraken.py +33 -33
- ccxt/async_support/krakenfutures.py +6 -5
- ccxt/async_support/kucoin.py +74 -74
- ccxt/async_support/kucoinfutures.py +8 -8
- ccxt/async_support/latoken.py +14 -14
- ccxt/async_support/lbank2.py +33 -33
- ccxt/async_support/mexc.py +22 -22
- ccxt/async_support/ndax.py +1 -1
- ccxt/async_support/novadax.py +22 -22
- ccxt/async_support/oceanex.py +18 -18
- ccxt/async_support/okcoin.py +1950 -2758
- ccxt/async_support/okx.py +73 -73
- ccxt/async_support/paymium.py +11 -11
- ccxt/async_support/phemex.py +26 -26
- ccxt/async_support/poloniex.py +30 -30
- ccxt/async_support/poloniexfutures.py +25 -25
- ccxt/async_support/probit.py +21 -21
- ccxt/async_support/tokocrypto.py +22 -22
- ccxt/async_support/upbit.py +21 -21
- ccxt/async_support/wavesexchange.py +2 -2
- ccxt/async_support/wazirx.py +14 -14
- ccxt/async_support/whitebit.py +6 -6
- ccxt/async_support/woo.py +21 -21
- ccxt/async_support/yobit.py +16 -16
- ccxt/async_support/zaif.py +10 -10
- ccxt/async_support/zonda.py +15 -15
- ccxt/base/exchange.py +2 -1
- ccxt/bigone.py +2 -2
- ccxt/binance.py +184 -184
- ccxt/bingx.py +48 -48
- ccxt/bitbank.py +14 -14
- ccxt/bitbns.py +7 -7
- ccxt/bitfinex.py +2 -2
- ccxt/bitfinex2.py +35 -35
- ccxt/bitflyer.py +17 -17
- ccxt/bitforex.py +9 -9
- ccxt/bitget.py +433 -215
- ccxt/bitmart.py +39 -39
- ccxt/bitmex.py +7 -7
- ccxt/bitopro.py +1 -1
- ccxt/bitpanda.py +1 -1
- ccxt/bitrue.py +2 -2
- ccxt/bitso.py +2 -2
- ccxt/bitstamp.py +3 -3
- ccxt/bitvavo.py +2 -2
- ccxt/bl3p.py +1 -1
- ccxt/btcalpha.py +7 -7
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +58 -58
- ccxt/cex.py +1 -1
- ccxt/coinbase.py +13 -13
- ccxt/coinbasepro.py +15 -15
- ccxt/coinex.py +19 -19
- ccxt/coinone.py +2 -2
- ccxt/coinsph.py +4 -4
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +28 -28
- ccxt/currencycom.py +1 -1
- ccxt/delta.py +26 -26
- ccxt/deribit.py +9 -9
- ccxt/digifinex.py +38 -38
- ccxt/exmo.py +18 -18
- ccxt/gate.py +59 -59
- ccxt/gemini.py +4 -4
- ccxt/hitbtc.py +6 -6
- ccxt/hollaex.py +2 -2
- ccxt/huobi.py +70 -70
- ccxt/indodax.py +1 -1
- ccxt/kraken.py +33 -33
- ccxt/krakenfutures.py +6 -5
- ccxt/kucoin.py +74 -74
- ccxt/kucoinfutures.py +8 -8
- ccxt/latoken.py +14 -14
- ccxt/lbank2.py +33 -33
- ccxt/mexc.py +22 -22
- ccxt/ndax.py +1 -1
- ccxt/novadax.py +22 -22
- ccxt/oceanex.py +18 -18
- ccxt/okcoin.py +1950 -2758
- ccxt/okx.py +73 -73
- ccxt/paymium.py +11 -11
- ccxt/phemex.py +26 -26
- ccxt/poloniex.py +30 -30
- ccxt/poloniexfutures.py +25 -25
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/ascendex.py +1 -1
- ccxt/pro/binance.py +9 -9
- ccxt/pro/bingx.py +12 -12
- ccxt/pro/bitget.py +2 -2
- ccxt/pro/bitpanda.py +7 -7
- ccxt/pro/bitrue.py +2 -2
- ccxt/pro/blockchaincom.py +6 -6
- ccxt/pro/bybit.py +15 -15
- ccxt/pro/cex.py +8 -8
- ccxt/pro/coinbase.py +6 -6
- ccxt/pro/coinbasepro.py +1 -1
- ccxt/pro/coinex.py +8 -8
- ccxt/pro/cryptocom.py +12 -12
- ccxt/pro/deribit.py +7 -7
- ccxt/pro/gemini.py +4 -4
- ccxt/pro/hitbtc.py +17 -17
- ccxt/pro/huobi.py +3 -3
- ccxt/pro/kraken.py +6 -6
- ccxt/pro/krakenfutures.py +10 -10
- ccxt/pro/kucoin.py +85 -42
- ccxt/pro/kucoinfutures.py +5 -5
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +7 -7
- ccxt/pro/okx.py +16 -15
- ccxt/pro/phemex.py +15 -15
- ccxt/pro/poloniex.py +9 -9
- ccxt/pro/poloniexfutures.py +5 -5
- ccxt/pro/probit.py +5 -5
- ccxt/pro/wazirx.py +5 -5
- ccxt/pro/woo.py +1 -1
- ccxt/probit.py +21 -21
- ccxt/test/base/test_shared_methods.py +1 -1
- ccxt/tokocrypto.py +22 -22
- ccxt/upbit.py +21 -21
- ccxt/wavesexchange.py +2 -2
- ccxt/wazirx.py +14 -14
- ccxt/whitebit.py +6 -6
- ccxt/woo.py +21 -21
- ccxt/yobit.py +16 -16
- ccxt/zaif.py +10 -10
- ccxt/zonda.py +15 -15
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/METADATA +5 -9
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/RECORD +179 -179
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/WHEEL +0 -0
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/top_level.txt +0 -0
ccxt/probit.py
CHANGED
@@ -256,7 +256,7 @@ class probit(Exchange, ImplicitAPI):
|
|
256
256
|
|
257
257
|
def fetch_markets(self, params={}):
|
258
258
|
"""
|
259
|
-
see https://docs-en.probit.com/reference/market
|
259
|
+
:see: https://docs-en.probit.com/reference/market
|
260
260
|
retrieves data on all markets for probit
|
261
261
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
262
262
|
:returns dict[]: an array of objects representing market data
|
@@ -356,7 +356,7 @@ class probit(Exchange, ImplicitAPI):
|
|
356
356
|
|
357
357
|
def fetch_currencies(self, params={}):
|
358
358
|
"""
|
359
|
-
see https://docs-en.probit.com/reference/currency
|
359
|
+
:see: https://docs-en.probit.com/reference/currency
|
360
360
|
fetches all available currencies on an exchange
|
361
361
|
:param dict [params]: extra parameters specific to the probit api endpoint
|
362
362
|
:returns dict: an associative dictionary of currencies
|
@@ -531,7 +531,7 @@ class probit(Exchange, ImplicitAPI):
|
|
531
531
|
|
532
532
|
def fetch_balance(self, params={}):
|
533
533
|
"""
|
534
|
-
see https://docs-en.probit.com/reference/balance
|
534
|
+
:see: https://docs-en.probit.com/reference/balance
|
535
535
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
536
536
|
:param dict [params]: extra parameters specific to the probit api endpoint
|
537
537
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
@@ -553,7 +553,7 @@ class probit(Exchange, ImplicitAPI):
|
|
553
553
|
|
554
554
|
def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
555
555
|
"""
|
556
|
-
see https://docs-en.probit.com/reference/order_book
|
556
|
+
:see: https://docs-en.probit.com/reference/order_book
|
557
557
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
558
558
|
:param str symbol: unified symbol of the market to fetch the order book for
|
559
559
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -581,7 +581,7 @@ class probit(Exchange, ImplicitAPI):
|
|
581
581
|
|
582
582
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
583
583
|
"""
|
584
|
-
see https://docs-en.probit.com/reference/ticker
|
584
|
+
:see: https://docs-en.probit.com/reference/ticker
|
585
585
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
586
586
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
587
587
|
:param dict [params]: extra parameters specific to the probit api endpoint
|
@@ -614,7 +614,7 @@ class probit(Exchange, ImplicitAPI):
|
|
614
614
|
|
615
615
|
def fetch_ticker(self, symbol: str, params={}):
|
616
616
|
"""
|
617
|
-
see https://docs-en.probit.com/reference/ticker
|
617
|
+
:see: https://docs-en.probit.com/reference/ticker
|
618
618
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
619
619
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
620
620
|
:param dict [params]: extra parameters specific to the probit api endpoint
|
@@ -693,7 +693,7 @@ class probit(Exchange, ImplicitAPI):
|
|
693
693
|
|
694
694
|
def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
695
695
|
"""
|
696
|
-
see https://docs-en.probit.com/reference/trade
|
696
|
+
:see: https://docs-en.probit.com/reference/trade
|
697
697
|
fetch all trades made by the user
|
698
698
|
:param str symbol: unified market symbol
|
699
699
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -742,7 +742,7 @@ class probit(Exchange, ImplicitAPI):
|
|
742
742
|
|
743
743
|
def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
744
744
|
"""
|
745
|
-
see https://docs-en.probit.com/reference/trade-1
|
745
|
+
:see: https://docs-en.probit.com/reference/trade-1
|
746
746
|
get the list of most recent trades for a particular symbol
|
747
747
|
:param str symbol: unified symbol of the market to fetch trades for
|
748
748
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -856,7 +856,7 @@ class probit(Exchange, ImplicitAPI):
|
|
856
856
|
|
857
857
|
def fetch_time(self, params={}):
|
858
858
|
"""
|
859
|
-
see https://docs-en.probit.com/reference/time
|
859
|
+
:see: https://docs-en.probit.com/reference/time
|
860
860
|
fetches the current integer timestamp in milliseconds from the exchange server
|
861
861
|
:param dict [params]: extra parameters specific to the probit api endpoint
|
862
862
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
@@ -899,7 +899,7 @@ class probit(Exchange, ImplicitAPI):
|
|
899
899
|
|
900
900
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
901
901
|
"""
|
902
|
-
see https://docs-en.probit.com/reference/candle
|
902
|
+
:see: https://docs-en.probit.com/reference/candle
|
903
903
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
904
904
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
905
905
|
:param str timeframe: the length of time each candle represents
|
@@ -983,7 +983,7 @@ class probit(Exchange, ImplicitAPI):
|
|
983
983
|
|
984
984
|
def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
985
985
|
"""
|
986
|
-
see https://docs-en.probit.com/reference/open_order-1
|
986
|
+
:see: https://docs-en.probit.com/reference/open_order-1
|
987
987
|
fetch all unfilled currently open orders
|
988
988
|
:param str symbol: unified market symbol
|
989
989
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -1004,7 +1004,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1004
1004
|
|
1005
1005
|
def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1006
1006
|
"""
|
1007
|
-
see https://docs-en.probit.com/reference/order
|
1007
|
+
:see: https://docs-en.probit.com/reference/order
|
1008
1008
|
fetches information on multiple closed orders made by the user
|
1009
1009
|
:param str symbol: unified market symbol of the market orders were made in
|
1010
1010
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -1032,7 +1032,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1032
1032
|
|
1033
1033
|
def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1034
1034
|
"""
|
1035
|
-
see https://docs-en.probit.com/reference/order-3
|
1035
|
+
:see: https://docs-en.probit.com/reference/order-3
|
1036
1036
|
fetches information on an order made by the user
|
1037
1037
|
:param str symbol: unified symbol of the market the order was made in
|
1038
1038
|
:param dict [params]: extra parameters specific to the probit api endpoint
|
@@ -1132,7 +1132,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1132
1132
|
|
1133
1133
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1134
1134
|
"""
|
1135
|
-
see https://docs-en.probit.com/reference/order-1
|
1135
|
+
:see: https://docs-en.probit.com/reference/order-1
|
1136
1136
|
create a trade order
|
1137
1137
|
:param str symbol: unified symbol of the market to create an order in
|
1138
1138
|
:param str type: 'market' or 'limit'
|
@@ -1214,7 +1214,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1214
1214
|
|
1215
1215
|
def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1216
1216
|
"""
|
1217
|
-
see https://docs-en.probit.com/reference/order-2
|
1217
|
+
:see: https://docs-en.probit.com/reference/order-2
|
1218
1218
|
cancels an open order
|
1219
1219
|
:param str id: order id
|
1220
1220
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -1251,7 +1251,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1251
1251
|
|
1252
1252
|
def fetch_deposit_address(self, code: str, params={}):
|
1253
1253
|
"""
|
1254
|
-
see https://docs-en.probit.com/reference/deposit_address
|
1254
|
+
:see: https://docs-en.probit.com/reference/deposit_address
|
1255
1255
|
fetch the deposit address for a currency associated with self account
|
1256
1256
|
:param str code: unified currency code
|
1257
1257
|
:param dict [params]: extra parameters specific to the probit api endpoint
|
@@ -1301,7 +1301,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1301
1301
|
|
1302
1302
|
def fetch_deposit_addresses(self, codes=None, params={}):
|
1303
1303
|
"""
|
1304
|
-
see https://docs-en.probit.com/reference/deposit_address
|
1304
|
+
:see: https://docs-en.probit.com/reference/deposit_address
|
1305
1305
|
fetch deposit addresses for multiple currencies and chain types
|
1306
1306
|
:param str[]|None codes: list of unified currency codes, default is None
|
1307
1307
|
:param dict [params]: extra parameters specific to the probit api endpoint
|
@@ -1321,7 +1321,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1321
1321
|
|
1322
1322
|
def withdraw(self, code: str, amount, address, tag=None, params={}):
|
1323
1323
|
"""
|
1324
|
-
see https://docs-en.probit.com/reference/withdrawal
|
1324
|
+
:see: https://docs-en.probit.com/reference/withdrawal
|
1325
1325
|
make a withdrawal
|
1326
1326
|
:param str code: unified currency code
|
1327
1327
|
:param float amount: the amount to withdraw
|
@@ -1396,7 +1396,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1396
1396
|
"""
|
1397
1397
|
* @deprecated
|
1398
1398
|
use fetchDepositsWithdrawals instead
|
1399
|
-
see https://docs-en.probit.com/reference/transferpayment
|
1399
|
+
:see: https://docs-en.probit.com/reference/transferpayment
|
1400
1400
|
:param str code: unified currency code
|
1401
1401
|
:param int [since]: the earliest time in ms to fetch transactions for
|
1402
1402
|
:param int [limit]: the maximum number of transaction structures to retrieve
|
@@ -1497,7 +1497,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1497
1497
|
|
1498
1498
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
1499
1499
|
"""
|
1500
|
-
see https://docs-en.probit.com/reference/currency
|
1500
|
+
:see: https://docs-en.probit.com/reference/currency
|
1501
1501
|
fetch deposit and withdraw fees
|
1502
1502
|
:param str[]|None codes: list of unified currency codes
|
1503
1503
|
:param dict [params]: extra parameters specific to the poloniex api endpoint
|
@@ -1668,7 +1668,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1668
1668
|
|
1669
1669
|
def sign_in(self, params={}):
|
1670
1670
|
"""
|
1671
|
-
see https://docs-en.probit.com/reference/token
|
1671
|
+
:see: https://docs-en.probit.com/reference/token
|
1672
1672
|
sign in, must be called prior to using other authenticated methods
|
1673
1673
|
:param dict [params]: extra parameters specific to the probit api endpoint
|
1674
1674
|
:returns: response from exchange
|
@@ -253,7 +253,7 @@ def assert_fee_structure(exchange, skipped_properties, method, entry, key):
|
|
253
253
|
# todo: remove undefined check to make stricter
|
254
254
|
if fee_object is not None:
|
255
255
|
assert 'cost' in fee_object, key_string + ' fee object should contain \"cost\" key' + log_text
|
256
|
-
|
256
|
+
# assertGreaterOrEqual (exchange, skippedProperties, method, feeObject, 'cost', '0'); # fee might be negative in the case of a rebate or reward
|
257
257
|
assert 'currency' in fee_object, '\"' + key_string + '\" fee object should contain \"currency\" key' + log_text
|
258
258
|
assert_currency_code(exchange, skipped_properties, method, entry, fee_object['currency'])
|
259
259
|
|
ccxt/tokocrypto.py
CHANGED
@@ -623,7 +623,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
623
623
|
|
624
624
|
def fetch_time(self, params={}):
|
625
625
|
"""
|
626
|
-
see https://www.tokocrypto.com/apidocs/#check-server-time
|
626
|
+
:see: https://www.tokocrypto.com/apidocs/#check-server-time
|
627
627
|
fetches the current integer timestamp in milliseconds from the exchange server
|
628
628
|
:param dict [params]: extra parameters specific to the tokocrypto api endpoint
|
629
629
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
@@ -636,7 +636,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
636
636
|
|
637
637
|
def fetch_markets(self, params={}):
|
638
638
|
"""
|
639
|
-
see https://www.tokocrypto.com/apidocs/#get-all-supported-trading-symbol
|
639
|
+
:see: https://www.tokocrypto.com/apidocs/#get-all-supported-trading-symbol
|
640
640
|
retrieves data on all markets for tokocrypto
|
641
641
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
642
642
|
:returns dict[]: an array of objects representing market data
|
@@ -792,7 +792,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
792
792
|
|
793
793
|
def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
794
794
|
"""
|
795
|
-
see https://www.tokocrypto.com/apidocs/#order-book
|
795
|
+
:see: https://www.tokocrypto.com/apidocs/#order-book
|
796
796
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
797
797
|
:param str symbol: unified symbol of the market to fetch the order book for
|
798
798
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -988,8 +988,8 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
988
988
|
|
989
989
|
def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
990
990
|
"""
|
991
|
-
see https://www.tokocrypto.com/apidocs/#recent-trades-list
|
992
|
-
see https://www.tokocrypto.com/apidocs/#compressedaggregate-trades-list
|
991
|
+
:see: https://www.tokocrypto.com/apidocs/#recent-trades-list
|
992
|
+
:see: https://www.tokocrypto.com/apidocs/#compressedaggregate-trades-list
|
993
993
|
get the list of most recent trades for a particular symbol
|
994
994
|
:param str symbol: unified symbol of the market to fetch trades for
|
995
995
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -1147,7 +1147,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1147
1147
|
|
1148
1148
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
1149
1149
|
"""
|
1150
|
-
see https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
|
1150
|
+
:see: https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
|
1151
1151
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
1152
1152
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
1153
1153
|
:param dict [params]: extra parameters specific to the tokocrypto api endpoint
|
@@ -1166,7 +1166,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1166
1166
|
|
1167
1167
|
def fetch_ticker(self, symbol: str, params={}):
|
1168
1168
|
"""
|
1169
|
-
see https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
|
1169
|
+
:see: https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
|
1170
1170
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
1171
1171
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
1172
1172
|
:param dict [params]: extra parameters specific to the tokocrypto api endpoint
|
@@ -1185,7 +1185,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1185
1185
|
|
1186
1186
|
def fetch_bids_asks(self, symbols: Optional[List[str]] = None, params={}):
|
1187
1187
|
"""
|
1188
|
-
see https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker
|
1188
|
+
:see: https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker
|
1189
1189
|
fetches the bid and ask price and volume for multiple markets
|
1190
1190
|
:param str[]|None symbols: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
|
1191
1191
|
:param dict [params]: extra parameters specific to the tokocrypto api endpoint
|
@@ -1241,7 +1241,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1241
1241
|
|
1242
1242
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1243
1243
|
"""
|
1244
|
-
see https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
|
1244
|
+
:see: https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
|
1245
1245
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1246
1246
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1247
1247
|
:param str timeframe: the length of time each candle represents
|
@@ -1292,7 +1292,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1292
1292
|
|
1293
1293
|
def fetch_balance(self, params={}):
|
1294
1294
|
"""
|
1295
|
-
see https://www.tokocrypto.com/apidocs/#account-information-signed
|
1295
|
+
:see: https://www.tokocrypto.com/apidocs/#account-information-signed
|
1296
1296
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1297
1297
|
:param dict [params]: extra parameters specific to the tokocrypto api endpoint
|
1298
1298
|
:param str [params.type]: 'future', 'delivery', 'savings', 'funding', or 'spot'
|
@@ -1536,8 +1536,8 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1536
1536
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1537
1537
|
"""
|
1538
1538
|
create a trade order
|
1539
|
-
see https://www.tokocrypto.com/apidocs/#new-order--signed
|
1540
|
-
see https://www.tokocrypto.com/apidocs/#account-trade-list-signed
|
1539
|
+
:see: https://www.tokocrypto.com/apidocs/#new-order--signed
|
1540
|
+
:see: https://www.tokocrypto.com/apidocs/#account-trade-list-signed
|
1541
1541
|
:param str symbol: unified symbol of the market to create an order in
|
1542
1542
|
:param str type: 'market' or 'limit'
|
1543
1543
|
:param str side: 'buy' or 'sell'
|
@@ -1685,7 +1685,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1685
1685
|
|
1686
1686
|
def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1687
1687
|
"""
|
1688
|
-
see https://www.tokocrypto.com/apidocs/#all-orders-signed
|
1688
|
+
:see: https://www.tokocrypto.com/apidocs/#all-orders-signed
|
1689
1689
|
fetches information on an order made by the user
|
1690
1690
|
:param str symbol: unified symbol of the market the order was made in
|
1691
1691
|
:param dict [params]: extra parameters specific to the tokocrypto api endpoint
|
@@ -1732,7 +1732,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1732
1732
|
|
1733
1733
|
def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1734
1734
|
"""
|
1735
|
-
see https://www.tokocrypto.com/apidocs/#all-orders-signed
|
1735
|
+
:see: https://www.tokocrypto.com/apidocs/#all-orders-signed
|
1736
1736
|
fetches information on multiple orders made by the user
|
1737
1737
|
:param str symbol: unified market symbol of the market orders were made in
|
1738
1738
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -1798,7 +1798,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1798
1798
|
|
1799
1799
|
def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1800
1800
|
"""
|
1801
|
-
see https://www.tokocrypto.com/apidocs/#all-orders-signed
|
1801
|
+
:see: https://www.tokocrypto.com/apidocs/#all-orders-signed
|
1802
1802
|
fetch all unfilled currently open orders
|
1803
1803
|
:param str symbol: unified market symbol
|
1804
1804
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -1811,7 +1811,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1811
1811
|
|
1812
1812
|
def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1813
1813
|
"""
|
1814
|
-
see https://www.tokocrypto.com/apidocs/#all-orders-signed
|
1814
|
+
:see: https://www.tokocrypto.com/apidocs/#all-orders-signed
|
1815
1815
|
fetches information on multiple closed orders made by the user
|
1816
1816
|
:param str symbol: unified market symbol of the market orders were made in
|
1817
1817
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -1824,7 +1824,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1824
1824
|
|
1825
1825
|
def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1826
1826
|
"""
|
1827
|
-
see https://www.tokocrypto.com/apidocs/#cancel-order-signed
|
1827
|
+
:see: https://www.tokocrypto.com/apidocs/#cancel-order-signed
|
1828
1828
|
cancels an open order
|
1829
1829
|
:param str id: order id
|
1830
1830
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -1867,7 +1867,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1867
1867
|
|
1868
1868
|
def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1869
1869
|
"""
|
1870
|
-
see https://www.tokocrypto.com/apidocs/#account-trade-list-signed
|
1870
|
+
:see: https://www.tokocrypto.com/apidocs/#account-trade-list-signed
|
1871
1871
|
fetch all trades made by the user
|
1872
1872
|
:param str symbol: unified market symbol
|
1873
1873
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1922,7 +1922,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1922
1922
|
|
1923
1923
|
def fetch_deposit_address(self, code: str, params={}):
|
1924
1924
|
"""
|
1925
|
-
see https://www.tokocrypto.com/apidocs/#deposit-address-signed
|
1925
|
+
:see: https://www.tokocrypto.com/apidocs/#deposit-address-signed
|
1926
1926
|
fetch the deposit address for a currency associated with self account
|
1927
1927
|
:param str code: unified currency code
|
1928
1928
|
:param dict [params]: extra parameters specific to the tokocrypto api endpoint
|
@@ -1974,7 +1974,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
1974
1974
|
|
1975
1975
|
def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1976
1976
|
"""
|
1977
|
-
see https://www.tokocrypto.com/apidocs/#deposit-history-signed
|
1977
|
+
:see: https://www.tokocrypto.com/apidocs/#deposit-history-signed
|
1978
1978
|
fetch all deposits made to an account
|
1979
1979
|
:param str code: unified currency code
|
1980
1980
|
:param int [since]: the earliest time in ms to fetch deposits for
|
@@ -2029,7 +2029,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
2029
2029
|
|
2030
2030
|
def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2031
2031
|
"""
|
2032
|
-
see https://www.tokocrypto.com/apidocs/#withdraw-signed
|
2032
|
+
:see: https://www.tokocrypto.com/apidocs/#withdraw-signed
|
2033
2033
|
fetch all withdrawals made from an account
|
2034
2034
|
:param str code: unified currency code
|
2035
2035
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
@@ -2207,7 +2207,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
2207
2207
|
|
2208
2208
|
def withdraw(self, code: str, amount, address, tag=None, params={}):
|
2209
2209
|
"""
|
2210
|
-
see https://www.tokocrypto.com/apidocs/#withdraw-signed
|
2210
|
+
:see: https://www.tokocrypto.com/apidocs/#withdraw-signed
|
2211
2211
|
make a withdrawal
|
2212
2212
|
:param str code: unified currency code
|
2213
2213
|
:param float amount: the amount to withdraw
|
ccxt/upbit.py
CHANGED
@@ -400,7 +400,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
400
400
|
|
401
401
|
def fetch_markets(self, params={}):
|
402
402
|
"""
|
403
|
-
see https://docs.upbit.com/reference/%EB%A7%88%EC%BC%93-%EC%BD%94%EB%93%9C-%EC%A1%B0%ED%9A%8C
|
403
|
+
:see: https://docs.upbit.com/reference/%EB%A7%88%EC%BC%93-%EC%BD%94%EB%93%9C-%EC%A1%B0%ED%9A%8C
|
404
404
|
retrieves data on all markets for upbit
|
405
405
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
406
406
|
:returns dict[]: an array of objects representing market data
|
@@ -494,7 +494,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
494
494
|
|
495
495
|
def fetch_balance(self, params={}):
|
496
496
|
"""
|
497
|
-
see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
|
497
|
+
:see: https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
|
498
498
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
499
499
|
:param dict [params]: extra parameters specific to the upbit api endpoint
|
500
500
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
@@ -517,7 +517,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
517
517
|
|
518
518
|
def fetch_order_books(self, symbols: Optional[List[str]] = None, limit: Optional[int] = None, params={}):
|
519
519
|
"""
|
520
|
-
see https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
|
520
|
+
:see: https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
|
521
521
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
522
522
|
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
523
523
|
:param int [limit]: not used by upbit fetchOrderBooks()
|
@@ -585,7 +585,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
585
585
|
|
586
586
|
def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
587
587
|
"""
|
588
|
-
see https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
|
588
|
+
:see: https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
|
589
589
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
590
590
|
:param str symbol: unified symbol of the market to fetch the order book for
|
591
591
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -653,7 +653,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
653
653
|
|
654
654
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
655
655
|
"""
|
656
|
-
see https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
|
656
|
+
:see: https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
|
657
657
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
658
658
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
659
659
|
:param dict [params]: extra parameters specific to the upbit api endpoint
|
@@ -712,7 +712,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
712
712
|
|
713
713
|
def fetch_ticker(self, symbol: str, params={}):
|
714
714
|
"""
|
715
|
-
see https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
|
715
|
+
:see: https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
|
716
716
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
717
717
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
718
718
|
:param dict [params]: extra parameters specific to the upbit api endpoint
|
@@ -791,7 +791,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
791
791
|
|
792
792
|
def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
793
793
|
"""
|
794
|
-
see https://docs.upbit.com/reference/%EC%B5%9C%EA%B7%BC-%EC%B2%B4%EA%B2%B0-%EB%82%B4%EC%97%AD
|
794
|
+
:see: https://docs.upbit.com/reference/%EC%B5%9C%EA%B7%BC-%EC%B2%B4%EA%B2%B0-%EB%82%B4%EC%97%AD
|
795
795
|
get the list of most recent trades for a particular symbol
|
796
796
|
:param str symbol: unified symbol of the market to fetch trades for
|
797
797
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -834,7 +834,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
834
834
|
|
835
835
|
def fetch_trading_fee(self, symbol: str, params={}):
|
836
836
|
"""
|
837
|
-
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EA%B0%80%EB%8A%A5-%EC%A0%95%EB%B3%B4
|
837
|
+
:see: https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EA%B0%80%EB%8A%A5-%EC%A0%95%EB%B3%B4
|
838
838
|
fetch the trading fees for a market
|
839
839
|
:param str symbol: unified market symbol
|
840
840
|
:param dict [params]: extra parameters specific to the upbit api endpoint
|
@@ -922,7 +922,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
922
922
|
|
923
923
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
924
924
|
"""
|
925
|
-
see https://docs.upbit.com/reference/%EB%B6%84minute-%EC%BA%94%EB%93%A4-1
|
925
|
+
:see: https://docs.upbit.com/reference/%EB%B6%84minute-%EC%BA%94%EB%93%A4-1
|
926
926
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
927
927
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
928
928
|
:param str timeframe: the length of time each candle represents
|
@@ -985,7 +985,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
985
985
|
|
986
986
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
987
987
|
"""
|
988
|
-
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8%ED%95%98%EA%B8%B0
|
988
|
+
:see: https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8%ED%95%98%EA%B8%B0
|
989
989
|
create a trade order
|
990
990
|
:param str symbol: unified symbol of the market to create an order in
|
991
991
|
:param str type: 'market' or 'limit'
|
@@ -1056,7 +1056,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1056
1056
|
|
1057
1057
|
def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1058
1058
|
"""
|
1059
|
-
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C
|
1059
|
+
:see: https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C
|
1060
1060
|
cancels an open order
|
1061
1061
|
:param str id: order id
|
1062
1062
|
:param str symbol: not used by upbit cancelOrder()
|
@@ -1091,7 +1091,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1091
1091
|
|
1092
1092
|
def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1093
1093
|
"""
|
1094
|
-
see https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1094
|
+
:see: https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1095
1095
|
fetch all deposits made to an account
|
1096
1096
|
:param str code: unified currency code
|
1097
1097
|
:param int [since]: the earliest time in ms to fetch deposits for
|
@@ -1131,7 +1131,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1131
1131
|
|
1132
1132
|
def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1133
1133
|
"""
|
1134
|
-
see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%B6%9C%EA%B8%88-%EC%A1%B0%ED%9A%8C
|
1134
|
+
:see: https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%B6%9C%EA%B8%88-%EC%A1%B0%ED%9A%8C
|
1135
1135
|
fetch all withdrawals made from an account
|
1136
1136
|
:param str code: unified currency code
|
1137
1137
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
@@ -1419,7 +1419,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1419
1419
|
|
1420
1420
|
def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1421
1421
|
"""
|
1422
|
-
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1422
|
+
:see: https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1423
1423
|
fetch all unfilled currently open orders
|
1424
1424
|
:param str symbol: unified market symbol
|
1425
1425
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -1431,7 +1431,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1431
1431
|
|
1432
1432
|
def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1433
1433
|
"""
|
1434
|
-
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1434
|
+
:see: https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1435
1435
|
fetches information on multiple closed orders made by the user
|
1436
1436
|
:param str symbol: unified market symbol of the market orders were made in
|
1437
1437
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -1443,7 +1443,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1443
1443
|
|
1444
1444
|
def fetch_canceled_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1445
1445
|
"""
|
1446
|
-
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1446
|
+
:see: https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1447
1447
|
fetches information on multiple canceled orders made by the user
|
1448
1448
|
:param str symbol: unified market symbol of the market orders were made in
|
1449
1449
|
:param int [since]: timestamp in ms of the earliest order, default is None
|
@@ -1455,7 +1455,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1455
1455
|
|
1456
1456
|
def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1457
1457
|
"""
|
1458
|
-
see https://docs.upbit.com/reference/%EA%B0%9C%EB%B3%84-%EC%A3%BC%EB%AC%B8-%EC%A1%B0%ED%9A%8C
|
1458
|
+
:see: https://docs.upbit.com/reference/%EA%B0%9C%EB%B3%84-%EC%A3%BC%EB%AC%B8-%EC%A1%B0%ED%9A%8C
|
1459
1459
|
fetches information on an order made by the user
|
1460
1460
|
:param str symbol: not used by upbit fetchOrder
|
1461
1461
|
:param dict [params]: extra parameters specific to the upbit api endpoint
|
@@ -1513,7 +1513,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1513
1513
|
|
1514
1514
|
def fetch_deposit_addresses(self, codes=None, params={}):
|
1515
1515
|
"""
|
1516
|
-
see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
|
1516
|
+
:see: https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
|
1517
1517
|
fetch deposit addresses for multiple currencies and chain types
|
1518
1518
|
:param str[]|None codes: list of unified currency codes, default is None
|
1519
1519
|
:param dict [params]: extra parameters specific to the upbit api endpoint
|
@@ -1565,7 +1565,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1565
1565
|
|
1566
1566
|
def fetch_deposit_address(self, code: str, params={}):
|
1567
1567
|
"""
|
1568
|
-
see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
|
1568
|
+
:see: https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
|
1569
1569
|
fetch the deposit address for a currency associated with self account
|
1570
1570
|
:param str code: unified currency code
|
1571
1571
|
:param dict [params]: extra parameters specific to the upbit api endpoint
|
@@ -1587,7 +1587,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1587
1587
|
|
1588
1588
|
def create_deposit_address(self, code: str, params={}):
|
1589
1589
|
"""
|
1590
|
-
see https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%83%9D%EC%84%B1-%EC%9A%94%EC%B2%AD
|
1590
|
+
:see: https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%83%9D%EC%84%B1-%EC%9A%94%EC%B2%AD
|
1591
1591
|
create a currency deposit address
|
1592
1592
|
:param str code: unified currency code of the currency for the deposit address
|
1593
1593
|
:param dict [params]: extra parameters specific to the upbit api endpoint
|
@@ -1622,7 +1622,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1622
1622
|
|
1623
1623
|
def withdraw(self, code: str, amount, address, tag=None, params={}):
|
1624
1624
|
"""
|
1625
|
-
see https://docs.upbit.com/reference/%EC%9B%90%ED%99%94-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0
|
1625
|
+
:see: https://docs.upbit.com/reference/%EC%9B%90%ED%99%94-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0
|
1626
1626
|
make a withdrawal
|
1627
1627
|
:param str code: unified currency code
|
1628
1628
|
:param float amount: the amount to withdraw
|
ccxt/wavesexchange.py
CHANGED
@@ -2199,8 +2199,8 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
2199
2199
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
2200
2200
|
"""
|
2201
2201
|
fetch deposit and withdraw fees
|
2202
|
-
see https://docs.wx.network/en/api/gateways/deposit/currencies
|
2203
|
-
see https://docs.wx.network/en/api/gateways/withdraw/currencies
|
2202
|
+
:see: https://docs.wx.network/en/api/gateways/deposit/currencies
|
2203
|
+
:see: https://docs.wx.network/en/api/gateways/withdraw/currencies
|
2204
2204
|
:param str[]|None codes: list of unified currency codes
|
2205
2205
|
:param dict [params]: extra parameters specific to the wavesexchange api endpoint
|
2206
2206
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|