ccxt 4.4.30__py2.py3-none-any.whl → 4.4.31__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/ace.py +36 -12
- ccxt/alpaca.py +62 -22
- ccxt/ascendex.py +65 -30
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +36 -12
- ccxt/async_support/alpaca.py +62 -22
- ccxt/async_support/ascendex.py +65 -30
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/bigone.py +71 -27
- ccxt/async_support/binance.py +555 -323
- ccxt/async_support/bingx.py +208 -108
- ccxt/async_support/bit2c.py +34 -12
- ccxt/async_support/bitbank.py +42 -14
- ccxt/async_support/bitbns.py +17 -9
- ccxt/async_support/bitfinex.py +68 -24
- ccxt/async_support/bitfinex2.py +116 -44
- ccxt/async_support/bitflyer.py +54 -18
- ccxt/async_support/bitget.py +277 -145
- ccxt/async_support/bithumb.py +39 -14
- ccxt/async_support/bitmart.py +145 -79
- ccxt/async_support/bitmex.py +90 -30
- ccxt/async_support/bitopro.py +66 -22
- ccxt/async_support/bitrue.py +109 -57
- ccxt/async_support/bitso.py +55 -19
- ccxt/async_support/bitstamp.py +84 -36
- ccxt/async_support/bitteam.py +51 -17
- ccxt/async_support/bitvavo.py +57 -19
- ccxt/async_support/bl3p.py +26 -10
- ccxt/async_support/blockchaincom.py +63 -21
- ccxt/async_support/blofin.py +95 -38
- ccxt/async_support/btcalpha.py +48 -16
- ccxt/async_support/btcbox.py +27 -9
- ccxt/async_support/btcmarkets.py +57 -19
- ccxt/async_support/btcturk.py +36 -12
- ccxt/async_support/bybit.py +251 -95
- ccxt/async_support/cex.py +65 -22
- ccxt/async_support/coinbase.py +138 -56
- ccxt/async_support/coinbaseexchange.py +76 -28
- ccxt/async_support/coinbaseinternational.py +75 -27
- ccxt/async_support/coincatch.py +191 -97
- ccxt/async_support/coincheck.py +33 -11
- ccxt/async_support/coinex.py +212 -101
- ccxt/async_support/coinlist.py +87 -30
- ccxt/async_support/coinmate.py +55 -24
- ccxt/async_support/coinmetro.py +52 -18
- ccxt/async_support/coinone.py +27 -10
- ccxt/async_support/coinsph.py +73 -27
- ccxt/async_support/coinspot.py +25 -9
- ccxt/async_support/cryptocom.py +103 -38
- ccxt/async_support/currencycom.py +70 -23
- ccxt/async_support/delta.py +90 -30
- ccxt/async_support/deribit.py +131 -50
- ccxt/async_support/digifinex.py +114 -51
- ccxt/async_support/exmo.py +104 -45
- ccxt/async_support/gate.py +298 -155
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +156 -73
- ccxt/async_support/hollaex.py +76 -25
- ccxt/async_support/htx.py +297 -240
- ccxt/async_support/huobijp.py +1 -0
- ccxt/async_support/hyperliquid.py +94 -38
- ccxt/async_support/idex.py +73 -24
- ccxt/async_support/independentreserve.py +12 -5
- ccxt/async_support/indodax.py +53 -16
- ccxt/async_support/kraken.py +107 -35
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +211 -109
- ccxt/async_support/kucoinfutures.py +119 -42
- ccxt/async_support/kuna.py +80 -39
- ccxt/async_support/latoken.py +70 -33
- ccxt/async_support/lbank.py +89 -38
- ccxt/async_support/luno.py +54 -19
- ccxt/async_support/lykke.py +54 -19
- ccxt/async_support/mercado.py +1 -0
- ccxt/async_support/mexc.py +226 -108
- ccxt/async_support/ndax.py +58 -19
- ccxt/async_support/novadax.py +67 -22
- ccxt/async_support/oceanex.py +58 -19
- ccxt/async_support/okcoin.py +81 -38
- ccxt/async_support/okx.py +270 -109
- ccxt/async_support/onetrading.py +3 -1
- ccxt/async_support/oxfun.py +95 -36
- ccxt/async_support/p2b.py +49 -23
- ccxt/async_support/paradex.py +75 -27
- ccxt/async_support/paymium.py +31 -11
- ccxt/async_support/phemex.py +91 -41
- ccxt/async_support/poloniex.py +80 -30
- ccxt/async_support/poloniexfutures.py +72 -30
- ccxt/async_support/probit.py +64 -22
- ccxt/async_support/timex.py +58 -19
- ccxt/async_support/tokocrypto.py +63 -22
- ccxt/async_support/tradeogre.py +7 -2
- ccxt/async_support/upbit.py +72 -25
- ccxt/async_support/vertex.py +74 -28
- ccxt/async_support/wavesexchange.py +29 -8
- ccxt/async_support/wazirx.py +51 -17
- ccxt/async_support/whitebit.py +105 -41
- ccxt/async_support/woo.py +162 -65
- ccxt/async_support/woofipro.py +118 -49
- ccxt/async_support/xt.py +150 -73
- ccxt/async_support/yobit.py +49 -16
- ccxt/async_support/zaif.py +30 -10
- ccxt/async_support/zonda.py +46 -16
- ccxt/base/exchange.py +34 -34
- ccxt/base/types.py +1 -0
- ccxt/bigone.py +71 -27
- ccxt/binance.py +555 -323
- ccxt/bingx.py +208 -108
- ccxt/bit2c.py +34 -12
- ccxt/bitbank.py +42 -14
- ccxt/bitbns.py +17 -9
- ccxt/bitfinex.py +68 -24
- ccxt/bitfinex2.py +116 -44
- ccxt/bitflyer.py +54 -18
- ccxt/bitget.py +277 -145
- ccxt/bithumb.py +39 -14
- ccxt/bitmart.py +145 -79
- ccxt/bitmex.py +90 -30
- ccxt/bitopro.py +66 -22
- ccxt/bitrue.py +109 -57
- ccxt/bitso.py +55 -19
- ccxt/bitstamp.py +84 -36
- ccxt/bitteam.py +51 -17
- ccxt/bitvavo.py +57 -19
- ccxt/bl3p.py +26 -10
- ccxt/blockchaincom.py +63 -21
- ccxt/blofin.py +95 -38
- ccxt/btcalpha.py +48 -16
- ccxt/btcbox.py +27 -9
- ccxt/btcmarkets.py +57 -19
- ccxt/btcturk.py +36 -12
- ccxt/bybit.py +251 -95
- ccxt/cex.py +65 -22
- ccxt/coinbase.py +138 -56
- ccxt/coinbaseexchange.py +76 -28
- ccxt/coinbaseinternational.py +75 -27
- ccxt/coincatch.py +191 -97
- ccxt/coincheck.py +33 -11
- ccxt/coinex.py +212 -101
- ccxt/coinlist.py +87 -30
- ccxt/coinmate.py +55 -24
- ccxt/coinmetro.py +52 -18
- ccxt/coinone.py +27 -10
- ccxt/coinsph.py +73 -27
- ccxt/coinspot.py +25 -9
- ccxt/cryptocom.py +103 -38
- ccxt/currencycom.py +70 -23
- ccxt/delta.py +90 -30
- ccxt/deribit.py +131 -50
- ccxt/digifinex.py +114 -51
- ccxt/exmo.py +104 -45
- ccxt/gate.py +298 -155
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +156 -73
- ccxt/hollaex.py +76 -25
- ccxt/htx.py +297 -240
- ccxt/huobijp.py +1 -0
- ccxt/hyperliquid.py +94 -38
- ccxt/idex.py +73 -24
- ccxt/independentreserve.py +12 -5
- ccxt/indodax.py +53 -16
- ccxt/kraken.py +107 -35
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +211 -109
- ccxt/kucoinfutures.py +119 -42
- ccxt/kuna.py +80 -39
- ccxt/latoken.py +70 -33
- ccxt/lbank.py +89 -38
- ccxt/luno.py +54 -19
- ccxt/lykke.py +54 -19
- ccxt/mercado.py +1 -0
- ccxt/mexc.py +226 -108
- ccxt/ndax.py +58 -19
- ccxt/novadax.py +67 -22
- ccxt/oceanex.py +58 -19
- ccxt/okcoin.py +81 -38
- ccxt/okx.py +270 -109
- ccxt/onetrading.py +3 -1
- ccxt/oxfun.py +95 -36
- ccxt/p2b.py +49 -23
- ccxt/paradex.py +75 -27
- ccxt/paymium.py +31 -11
- ccxt/phemex.py +91 -41
- ccxt/poloniex.py +80 -30
- ccxt/poloniexfutures.py +72 -30
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +15 -5
- ccxt/pro/ascendex.py +18 -6
- ccxt/pro/binance.py +200 -119
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +75 -36
- ccxt/pro/bithumb.py +12 -4
- ccxt/pro/bitmart.py +44 -20
- ccxt/pro/bitmex.py +42 -14
- ccxt/pro/bitopro.py +15 -5
- ccxt/pro/bitrue.py +7 -3
- ccxt/pro/bitvavo.py +51 -17
- ccxt/pro/blockchaincom.py +18 -6
- ccxt/pro/blofin.py +36 -12
- ccxt/pro/bybit.py +100 -42
- ccxt/pro/cex.py +48 -16
- ccxt/pro/coinbase.py +32 -12
- ccxt/pro/coinbaseexchange.py +1 -1
- ccxt/pro/coinbaseinternational.py +34 -14
- ccxt/pro/coincatch.py +54 -19
- ccxt/pro/coincheck.py +6 -2
- ccxt/pro/coinex.py +40 -20
- ccxt/pro/coinone.py +9 -3
- ccxt/pro/cryptocom.py +70 -26
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +64 -30
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +26 -8
- ccxt/pro/hitbtc.py +61 -37
- ccxt/pro/hollaex.py +15 -5
- ccxt/pro/htx.py +39 -21
- ccxt/pro/hyperliquid.py +41 -14
- ccxt/pro/kraken.py +49 -17
- ccxt/pro/krakenfutures.py +47 -24
- ccxt/pro/kucoin.py +60 -31
- ccxt/pro/kucoinfutures.py +41 -19
- ccxt/pro/lbank.py +27 -9
- ccxt/pro/luno.py +3 -1
- ccxt/pro/mexc.py +35 -17
- ccxt/pro/ndax.py +12 -4
- ccxt/pro/okcoin.py +18 -6
- ccxt/pro/okx.py +76 -28
- ccxt/pro/onetrading.py +21 -7
- ccxt/pro/oxfun.py +54 -20
- ccxt/pro/p2b.py +23 -11
- ccxt/pro/paradex.py +12 -4
- ccxt/pro/phemex.py +31 -19
- ccxt/pro/poloniex.py +50 -22
- ccxt/pro/poloniexfutures.py +17 -7
- ccxt/pro/probit.py +18 -6
- ccxt/pro/upbit.py +25 -9
- ccxt/pro/vertex.py +20 -6
- ccxt/pro/wazirx.py +21 -7
- ccxt/pro/whitebit.py +25 -9
- ccxt/pro/woo.py +32 -12
- ccxt/pro/woofipro.py +35 -13
- ccxt/pro/xt.py +46 -26
- ccxt/probit.py +64 -22
- ccxt/timex.py +58 -19
- ccxt/tokocrypto.py +63 -22
- ccxt/tradeogre.py +7 -2
- ccxt/upbit.py +72 -25
- ccxt/vertex.py +74 -28
- ccxt/wavesexchange.py +29 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +118 -49
- ccxt/xt.py +150 -73
- ccxt/yobit.py +49 -16
- ccxt/zaif.py +30 -10
- ccxt/zonda.py +46 -16
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/tradeogre.py
CHANGED
@@ -169,7 +169,9 @@ class tradeogre(Exchange, ImplicitAPI):
|
|
169
169
|
def fetch_markets(self, params={}) -> List[Market]:
|
170
170
|
"""
|
171
171
|
retrieves data on all markets for bigone
|
172
|
-
|
172
|
+
|
173
|
+
https://github.com/P2B-team/p2b-api-docs/blob/master/api-doc.md#markets
|
174
|
+
|
173
175
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
174
176
|
:returns dict[]: an array of objects representing market data
|
175
177
|
"""
|
@@ -516,7 +518,10 @@ class tradeogre(Exchange, ImplicitAPI):
|
|
516
518
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
517
519
|
"""
|
518
520
|
fetches information on an order made by the user
|
519
|
-
|
521
|
+
|
522
|
+
https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---order-status
|
523
|
+
|
524
|
+
:param str id: order id
|
520
525
|
:param str symbol: unified symbol of the market the order was made in
|
521
526
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
522
527
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/upbit.py
CHANGED
@@ -409,7 +409,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
409
409
|
|
410
410
|
def fetch_markets(self, params={}) -> List[Market]:
|
411
411
|
"""
|
412
|
-
|
412
|
+
|
413
|
+
https://docs.upbit.com/reference/%EB%A7%88%EC%BC%93-%EC%BD%94%EB%93%9C-%EC%A1%B0%ED%9A%8C
|
414
|
+
|
413
415
|
retrieves data on all markets for upbit
|
414
416
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
415
417
|
:returns dict[]: an array of objects representing market data
|
@@ -502,7 +504,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
502
504
|
|
503
505
|
def fetch_balance(self, params={}) -> Balances:
|
504
506
|
"""
|
505
|
-
|
507
|
+
|
508
|
+
https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
|
509
|
+
|
506
510
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
507
511
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
508
512
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
@@ -525,7 +529,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
525
529
|
|
526
530
|
def fetch_order_books(self, symbols: Strings = None, limit: Int = None, params={}):
|
527
531
|
"""
|
528
|
-
|
532
|
+
|
533
|
+
https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
|
534
|
+
|
529
535
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
530
536
|
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
531
537
|
:param int [limit]: not used by upbit fetchOrderBooks()
|
@@ -593,7 +599,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
593
599
|
|
594
600
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
595
601
|
"""
|
596
|
-
|
602
|
+
|
603
|
+
https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
|
604
|
+
|
597
605
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
598
606
|
:param str symbol: unified symbol of the market to fetch the order book for
|
599
607
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -661,7 +669,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
661
669
|
|
662
670
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
663
671
|
"""
|
664
|
-
|
672
|
+
|
673
|
+
https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
|
674
|
+
|
665
675
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
666
676
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
667
677
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -720,7 +730,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
720
730
|
|
721
731
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
722
732
|
"""
|
723
|
-
|
733
|
+
|
734
|
+
https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
|
735
|
+
|
724
736
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
725
737
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
726
738
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -799,7 +811,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
799
811
|
|
800
812
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
801
813
|
"""
|
802
|
-
|
814
|
+
|
815
|
+
https://docs.upbit.com/reference/%EC%B5%9C%EA%B7%BC-%EC%B2%B4%EA%B2%B0-%EB%82%B4%EC%97%AD
|
816
|
+
|
803
817
|
get the list of most recent trades for a particular symbol
|
804
818
|
:param str symbol: unified symbol of the market to fetch trades for
|
805
819
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -842,7 +856,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
842
856
|
|
843
857
|
def fetch_trading_fee(self, symbol: str, params={}) -> TradingFeeInterface:
|
844
858
|
"""
|
845
|
-
|
859
|
+
|
860
|
+
https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EA%B0%80%EB%8A%A5-%EC%A0%95%EB%B3%B4
|
861
|
+
|
846
862
|
fetch the trading fees for a market
|
847
863
|
:param str symbol: unified market symbol
|
848
864
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -930,7 +946,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
930
946
|
|
931
947
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
932
948
|
"""
|
933
|
-
|
949
|
+
|
950
|
+
https://docs.upbit.com/reference/%EB%B6%84minute-%EC%BA%94%EB%93%A4-1
|
951
|
+
|
934
952
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
935
953
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
936
954
|
:param str timeframe: the length of time each candle represents
|
@@ -995,8 +1013,10 @@ class upbit(Exchange, ImplicitAPI):
|
|
995
1013
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
996
1014
|
"""
|
997
1015
|
create a trade order
|
998
|
-
|
999
|
-
|
1016
|
+
|
1017
|
+
https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8%ED%95%98%EA%B8%B0
|
1018
|
+
https://global-docs.upbit.com/reference/order
|
1019
|
+
|
1000
1020
|
:param str symbol: unified symbol of the market to create an order in
|
1001
1021
|
:param str type: 'market' or 'limit'
|
1002
1022
|
:param str side: 'buy' or 'sell'
|
@@ -1080,7 +1100,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1080
1100
|
|
1081
1101
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1082
1102
|
"""
|
1083
|
-
|
1103
|
+
|
1104
|
+
https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C
|
1105
|
+
|
1084
1106
|
cancels an open order
|
1085
1107
|
:param str id: order id
|
1086
1108
|
:param str symbol: not used by upbit cancelOrder()
|
@@ -1115,7 +1137,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1115
1137
|
|
1116
1138
|
def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1117
1139
|
"""
|
1118
|
-
|
1140
|
+
|
1141
|
+
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
|
1142
|
+
|
1119
1143
|
fetch all deposits made to an account
|
1120
1144
|
:param str code: unified currency code
|
1121
1145
|
:param int [since]: the earliest time in ms to fetch deposits for
|
@@ -1156,7 +1180,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1156
1180
|
def fetch_deposit(self, id: str, code: Str = None, params={}):
|
1157
1181
|
"""
|
1158
1182
|
fetch information on a deposit
|
1159
|
-
|
1183
|
+
|
1184
|
+
https://global-docs.upbit.com/reference/individual-deposit-inquiry
|
1185
|
+
|
1160
1186
|
:param str id: the unique id for the deposit
|
1161
1187
|
:param str [code]: unified currency code of the currency deposited
|
1162
1188
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1191,7 +1217,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1191
1217
|
|
1192
1218
|
def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1193
1219
|
"""
|
1194
|
-
|
1220
|
+
|
1221
|
+
https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%B6%9C%EA%B8%88-%EC%A1%B0%ED%9A%8C
|
1222
|
+
|
1195
1223
|
fetch all withdrawals made from an account
|
1196
1224
|
:param str code: unified currency code
|
1197
1225
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
@@ -1232,7 +1260,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1232
1260
|
def fetch_withdrawal(self, id: str, code: Str = None, params={}):
|
1233
1261
|
"""
|
1234
1262
|
fetch data on a currency withdrawal via the withdrawal id
|
1235
|
-
|
1263
|
+
|
1264
|
+
https://global-docs.upbit.com/reference/individual-withdrawal-inquiry
|
1265
|
+
|
1236
1266
|
:param str id: the unique id for the withdrawal
|
1237
1267
|
:param str [code]: unified currency code of the currency withdrawn
|
1238
1268
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1498,7 +1528,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1498
1528
|
def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1499
1529
|
"""
|
1500
1530
|
fetch all unfilled currently open orders
|
1501
|
-
|
1531
|
+
|
1532
|
+
https://global-docs.upbit.com/reference/open-order
|
1533
|
+
|
1502
1534
|
:param str symbol: unified market symbol
|
1503
1535
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1504
1536
|
:param int [limit]: the maximum number of open order structures to retrieve
|
@@ -1542,7 +1574,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1542
1574
|
def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1543
1575
|
"""
|
1544
1576
|
fetches information on multiple closed orders made by the user
|
1545
|
-
|
1577
|
+
|
1578
|
+
https://global-docs.upbit.com/reference/closed-order
|
1579
|
+
|
1546
1580
|
:param str symbol: unified market symbol of the market orders were made in
|
1547
1581
|
:param int [since]: the earliest time in ms to fetch orders for
|
1548
1582
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1592,7 +1626,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1592
1626
|
def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1593
1627
|
"""
|
1594
1628
|
fetches information on multiple canceled orders made by the user
|
1595
|
-
|
1629
|
+
|
1630
|
+
https://global-docs.upbit.com/reference/closed-order
|
1631
|
+
|
1596
1632
|
:param str symbol: unified market symbol of the market orders were made in
|
1597
1633
|
:param int [since]: timestamp in ms of the earliest order, default is None
|
1598
1634
|
:param int [limit]: max number of orders to return, default is None
|
@@ -1641,8 +1677,11 @@ class upbit(Exchange, ImplicitAPI):
|
|
1641
1677
|
|
1642
1678
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1643
1679
|
"""
|
1644
|
-
|
1680
|
+
|
1681
|
+
https://docs.upbit.com/reference/%EA%B0%9C%EB%B3%84-%EC%A3%BC%EB%AC%B8-%EC%A1%B0%ED%9A%8C
|
1682
|
+
|
1645
1683
|
fetches information on an order made by the user
|
1684
|
+
:param str id: order id
|
1646
1685
|
:param str symbol: not used by upbit fetchOrder
|
1647
1686
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1648
1687
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1699,7 +1738,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1699
1738
|
|
1700
1739
|
def fetch_deposit_addresses(self, codes: Strings = None, params={}) -> List[DepositAddress]:
|
1701
1740
|
"""
|
1702
|
-
|
1741
|
+
|
1742
|
+
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
|
1743
|
+
|
1703
1744
|
fetch deposit addresses for multiple currencies and chain types
|
1704
1745
|
:param str[]|None codes: list of unified currency codes, default is None
|
1705
1746
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1753,7 +1794,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1753
1794
|
|
1754
1795
|
def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
1755
1796
|
"""
|
1756
|
-
|
1797
|
+
|
1798
|
+
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
|
1799
|
+
|
1757
1800
|
fetch the deposit address for a currency associated with self account
|
1758
1801
|
:param str code: unified currency code
|
1759
1802
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1782,7 +1825,9 @@ class upbit(Exchange, ImplicitAPI):
|
|
1782
1825
|
|
1783
1826
|
def create_deposit_address(self, code: str, params={}):
|
1784
1827
|
"""
|
1785
|
-
|
1828
|
+
|
1829
|
+
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
|
1830
|
+
|
1786
1831
|
create a currency deposit address
|
1787
1832
|
:param str code: unified currency code of the currency for the deposit address
|
1788
1833
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1817,8 +1862,10 @@ class upbit(Exchange, ImplicitAPI):
|
|
1817
1862
|
|
1818
1863
|
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
1819
1864
|
"""
|
1820
|
-
|
1821
|
-
|
1865
|
+
|
1866
|
+
https://docs.upbit.com/reference/디지털자산-출금하기
|
1867
|
+
https://docs.upbit.com/reference/%EC%9B%90%ED%99%94-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0
|
1868
|
+
|
1822
1869
|
make a withdrawal
|
1823
1870
|
:param str code: unified currency code
|
1824
1871
|
:param float amount: the amount to withdraw
|
ccxt/vertex.py
CHANGED
@@ -348,7 +348,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
348
348
|
def fetch_currencies(self, params={}) -> Currencies:
|
349
349
|
"""
|
350
350
|
fetches all available currencies on an exchange
|
351
|
-
|
351
|
+
|
352
|
+
https://docs.vertexprotocol.com/developer-resources/api/v2/assets
|
353
|
+
|
352
354
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
353
355
|
:returns dict: an associative dictionary of currencies
|
354
356
|
"""
|
@@ -507,7 +509,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
507
509
|
def fetch_markets(self, params={}) -> List[Market]:
|
508
510
|
"""
|
509
511
|
retrieves data on all markets for vertex
|
510
|
-
|
512
|
+
|
513
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/symbols
|
514
|
+
|
511
515
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
512
516
|
:returns dict[]: an array of objects representing market data
|
513
517
|
"""
|
@@ -562,7 +566,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
562
566
|
def fetch_status(self, params={}):
|
563
567
|
"""
|
564
568
|
the latest known information on the availability of the exchange API
|
565
|
-
|
569
|
+
|
570
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/status
|
571
|
+
|
566
572
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
567
573
|
:returns dict: a `status structure <https://docs.ccxt.com/#/?id=exchange-status-structure>`
|
568
574
|
"""
|
@@ -713,7 +719,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
713
719
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
714
720
|
"""
|
715
721
|
get the list of most recent trades for a particular symbol
|
716
|
-
|
722
|
+
|
723
|
+
https://docs.vertexprotocol.com/developer-resources/api/v2/trades
|
724
|
+
|
717
725
|
:param str symbol: unified symbol of the market to fetch trades for
|
718
726
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
719
727
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -756,7 +764,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
756
764
|
def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
757
765
|
"""
|
758
766
|
fetch all trades made by the user
|
759
|
-
|
767
|
+
|
768
|
+
https://docs.vertexprotocol.com/developer-resources/api/archive-indexer/matches
|
769
|
+
|
760
770
|
:param str symbol: unified market symbol
|
761
771
|
:param int [since]: the earliest time in ms to fetch trades for
|
762
772
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -961,7 +971,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
961
971
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
962
972
|
"""
|
963
973
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
964
|
-
|
974
|
+
|
975
|
+
https://docs.vertexprotocol.com/developer-resources/api/v2/orderbook
|
976
|
+
|
965
977
|
:param str symbol: unified symbol of the market to fetch the order book for
|
966
978
|
:param int [limit]: the maximum amount of order book entries to return
|
967
979
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1021,7 +1033,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
1021
1033
|
def fetch_trading_fees(self, params={}) -> TradingFees:
|
1022
1034
|
"""
|
1023
1035
|
fetch the trading fees for multiple markets
|
1024
|
-
|
1036
|
+
|
1037
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/fee-rates
|
1038
|
+
|
1025
1039
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1026
1040
|
:param str [params.user]: user address, will default to self.walletAddress if not provided
|
1027
1041
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
@@ -1098,7 +1112,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
1098
1112
|
|
1099
1113
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
1100
1114
|
"""
|
1101
|
-
|
1115
|
+
|
1116
|
+
https://docs.vertexprotocol.com/developer-resources/api/archive-indexer/candlesticks
|
1117
|
+
|
1102
1118
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1103
1119
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1104
1120
|
:param str timeframe: the length of time each candle represents
|
@@ -1214,7 +1230,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
1214
1230
|
def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
|
1215
1231
|
"""
|
1216
1232
|
fetch the current funding rate
|
1217
|
-
|
1233
|
+
|
1234
|
+
https://docs.vertexprotocol.com/developer-resources/api/archive-indexer/funding-rate
|
1235
|
+
|
1218
1236
|
:param str symbol: unified market symbol
|
1219
1237
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1220
1238
|
:returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
|
@@ -1239,7 +1257,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
1239
1257
|
def fetch_funding_rates(self, symbols: Strings = None, params={}) -> FundingRates:
|
1240
1258
|
"""
|
1241
1259
|
fetches funding rates for multiple markets
|
1242
|
-
|
1260
|
+
|
1261
|
+
https://docs.vertexprotocol.com/developer-resources/api/v2/contracts
|
1262
|
+
|
1243
1263
|
:param str[] symbols: unified symbols of the markets to fetch the funding rates for, all market funding rates are returned if not assigned
|
1244
1264
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1245
1265
|
:returns dict[]: an array of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-structure>`
|
@@ -1320,7 +1340,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
1320
1340
|
def fetch_open_interest(self, symbol: str, params={}):
|
1321
1341
|
"""
|
1322
1342
|
Retrieves the open interest of a derivative trading pair
|
1323
|
-
|
1343
|
+
|
1344
|
+
https://docs.vertexprotocol.com/developer-resources/api/v2/contracts
|
1345
|
+
|
1324
1346
|
:param str symbol: Unified CCXT market symbol
|
1325
1347
|
:param dict [params]: exchange specific parameters
|
1326
1348
|
:returns dict} an open interest structure{@link https://docs.ccxt.com/#/?id=open-interest-structure:
|
@@ -1402,7 +1424,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
1402
1424
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
1403
1425
|
"""
|
1404
1426
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
1405
|
-
|
1427
|
+
|
1428
|
+
https://docs.vertexprotocol.com/developer-resources/api/v2/tickers
|
1429
|
+
|
1406
1430
|
:param str[] [symbols]: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
1407
1431
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1408
1432
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -1571,8 +1595,10 @@ class vertex(Exchange, ImplicitAPI):
|
|
1571
1595
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1572
1596
|
"""
|
1573
1597
|
create a trade order
|
1574
|
-
|
1575
|
-
|
1598
|
+
|
1599
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/place-order
|
1600
|
+
https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/place-order
|
1601
|
+
|
1576
1602
|
:param str symbol: unified symbol of the market to create an order in
|
1577
1603
|
:param str type: 'market' or 'limit'
|
1578
1604
|
:param str side: 'buy' or 'sell'
|
@@ -1666,7 +1692,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
1666
1692
|
def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
|
1667
1693
|
"""
|
1668
1694
|
edit a trade order
|
1669
|
-
|
1695
|
+
|
1696
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-and-place
|
1697
|
+
|
1670
1698
|
:param str id: cancel order id
|
1671
1699
|
:param str symbol: unified symbol of the market to create an order in
|
1672
1700
|
:param str type: 'market' or 'limit'
|
@@ -1886,7 +1914,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
1886
1914
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1887
1915
|
"""
|
1888
1916
|
fetches information on an order made by the user
|
1889
|
-
|
1917
|
+
|
1918
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/order
|
1919
|
+
|
1890
1920
|
:param str id: the order id
|
1891
1921
|
:param str symbol: unified symbol of the market the order was made in
|
1892
1922
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1924,8 +1954,10 @@ class vertex(Exchange, ImplicitAPI):
|
|
1924
1954
|
def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1925
1955
|
"""
|
1926
1956
|
fetch all unfilled currently open orders
|
1927
|
-
|
1928
|
-
|
1957
|
+
|
1958
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/orders
|
1959
|
+
https://docs.vertexprotocol.com/developer-resources/api/trigger/queries/list-trigger-orders
|
1960
|
+
|
1929
1961
|
:param str symbol: unified market symbol
|
1930
1962
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1931
1963
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -2035,7 +2067,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
2035
2067
|
def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
2036
2068
|
"""
|
2037
2069
|
fetches information on multiple orders made by the user
|
2038
|
-
|
2070
|
+
|
2071
|
+
https://docs.vertexprotocol.com/developer-resources/api/trigger/queries/list-trigger-orders
|
2072
|
+
|
2039
2073
|
:param str symbol: unified market symbol
|
2040
2074
|
:param int [since]: the earliest time in ms to fetch open orders for
|
2041
2075
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -2115,8 +2149,10 @@ class vertex(Exchange, ImplicitAPI):
|
|
2115
2149
|
|
2116
2150
|
def cancel_all_orders(self, symbol: Str = None, params={}):
|
2117
2151
|
"""
|
2118
|
-
|
2119
|
-
|
2152
|
+
|
2153
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-product-orders
|
2154
|
+
https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/cancel-product-orders
|
2155
|
+
|
2120
2156
|
cancel all open orders in a market
|
2121
2157
|
:param str symbol: unified market symbol
|
2122
2158
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -2194,8 +2230,10 @@ class vertex(Exchange, ImplicitAPI):
|
|
2194
2230
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
2195
2231
|
"""
|
2196
2232
|
cancels an open order
|
2197
|
-
|
2198
|
-
|
2233
|
+
|
2234
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-orders
|
2235
|
+
https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/cancel-orders
|
2236
|
+
|
2199
2237
|
:param str id: order id
|
2200
2238
|
:param str symbol: unified symbol of the market the order was made in
|
2201
2239
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -2206,8 +2244,10 @@ class vertex(Exchange, ImplicitAPI):
|
|
2206
2244
|
def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
|
2207
2245
|
"""
|
2208
2246
|
cancel multiple orders
|
2209
|
-
|
2210
|
-
|
2247
|
+
|
2248
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-orders
|
2249
|
+
https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/cancel-orders
|
2250
|
+
|
2211
2251
|
:param str[] ids: order ids
|
2212
2252
|
:param str [symbol]: unified market symbol
|
2213
2253
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -2287,7 +2327,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
2287
2327
|
def fetch_balance(self, params={}) -> Balances:
|
2288
2328
|
"""
|
2289
2329
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
2290
|
-
|
2330
|
+
|
2331
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/subaccount-info
|
2332
|
+
|
2291
2333
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2292
2334
|
:param str [params.user]: user address, will default to self.walletAddress if not provided
|
2293
2335
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
@@ -2692,7 +2734,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
2692
2734
|
def fetch_positions(self, symbols: Strings = None, params={}):
|
2693
2735
|
"""
|
2694
2736
|
fetch all open positions
|
2695
|
-
|
2737
|
+
|
2738
|
+
https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/subaccount-info
|
2739
|
+
|
2696
2740
|
:param str[] [symbols]: list of unified market symbols
|
2697
2741
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2698
2742
|
:param str [params.user]: user address, will default to self.walletAddress if not provided
|
@@ -2738,7 +2782,9 @@ class vertex(Exchange, ImplicitAPI):
|
|
2738
2782
|
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
2739
2783
|
"""
|
2740
2784
|
make a withdrawal
|
2741
|
-
|
2785
|
+
|
2786
|
+
https://docs.vertexprotocol.com/developer-resources/api/withdrawing-on-chain
|
2787
|
+
|
2742
2788
|
:param str code: unified currency code
|
2743
2789
|
:param float amount: the amount to withdraw
|
2744
2790
|
:param str address: the address to withdraw to
|
ccxt/wavesexchange.py
CHANGED
@@ -607,7 +607,9 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
607
607
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
608
608
|
"""
|
609
609
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
610
|
-
|
610
|
+
|
611
|
+
https://matcher.waves.exchange/api-docs/index.html#/markets/getOrderBook
|
612
|
+
|
611
613
|
:param str symbol: unified symbol of the market to fetch the order book for
|
612
614
|
:param int [limit]: the maximum amount of order book entries to return
|
613
615
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -728,7 +730,9 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
728
730
|
def sign_in(self, params={}):
|
729
731
|
"""
|
730
732
|
sign in, must be called prior to using other authenticated methods
|
731
|
-
|
733
|
+
|
734
|
+
https://docs.wx.network/en/api/auth/oauth2-token
|
735
|
+
|
732
736
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
733
737
|
:returns: response from exchange
|
734
738
|
"""
|
@@ -839,7 +843,9 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
839
843
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
840
844
|
"""
|
841
845
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
842
|
-
|
846
|
+
|
847
|
+
https://api.wavesplatform.com/v0/docs/#/pairs/getPairsListAll
|
848
|
+
|
843
849
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
844
850
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
845
851
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -920,7 +926,9 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
920
926
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
921
927
|
"""
|
922
928
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
923
|
-
|
929
|
+
|
930
|
+
https://api.wavesplatform.com/v0/docs/#/candles/getCandles
|
931
|
+
|
924
932
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
925
933
|
:param str timeframe: the length of time each candle represents
|
926
934
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1226,7 +1234,9 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1226
1234
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1227
1235
|
"""
|
1228
1236
|
create a trade order
|
1229
|
-
|
1237
|
+
|
1238
|
+
https://matcher.waves.exchange/api-docs/index.html#/serialize/serializeOrder
|
1239
|
+
|
1230
1240
|
:param str symbol: unified symbol of the market to create an order in
|
1231
1241
|
:param str type: 'market' or 'limit'
|
1232
1242
|
:param str side: 'buy' or 'sell'
|
@@ -1396,6 +1406,9 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1396
1406
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1397
1407
|
"""
|
1398
1408
|
cancels an open order
|
1409
|
+
|
1410
|
+
https://matcher.waves.exchange/api-docs/index.html#/cancel/cancelOrdersByIdsWithKeyOrSignature
|
1411
|
+
|
1399
1412
|
:param str id: order id
|
1400
1413
|
:param str symbol: unified symbol of the market the order was made in
|
1401
1414
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1442,7 +1455,10 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1442
1455
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1443
1456
|
"""
|
1444
1457
|
fetches information on an order made by the user
|
1445
|
-
|
1458
|
+
|
1459
|
+
https://matcher.waves.exchange/api-docs/index.html#/status/getOrderStatusByPKAndIdWithSig
|
1460
|
+
|
1461
|
+
:param str id: order id
|
1446
1462
|
:param str symbol: unified symbol of the market the order was made in
|
1447
1463
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1448
1464
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1962,6 +1978,9 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1962
1978
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1963
1979
|
"""
|
1964
1980
|
get the list of most recent trades for a particular symbol
|
1981
|
+
|
1982
|
+
https://api.wavesplatform.com/v0/docs/#/transactions/searchTxsExchange
|
1983
|
+
|
1965
1984
|
:param str symbol: unified symbol of the market to fetch trades for
|
1966
1985
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1967
1986
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -2203,8 +2222,10 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
2203
2222
|
def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
|
2204
2223
|
"""
|
2205
2224
|
fetch deposit and withdraw fees
|
2206
|
-
|
2207
|
-
|
2225
|
+
|
2226
|
+
https://docs.wx.network/en/api/gateways/deposit/currencies
|
2227
|
+
https://docs.wx.network/en/api/gateways/withdraw/currencies
|
2228
|
+
|
2208
2229
|
:param str[]|None codes: list of unified currency codes
|
2209
2230
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2210
2231
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|