ccxt 4.4.29__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/abstract/alpaca.py +1 -0
- ccxt/abstract/binance.py +9 -0
- ccxt/abstract/binancecoinm.py +9 -0
- ccxt/abstract/binanceus.py +9 -0
- ccxt/abstract/binanceusdm.py +9 -0
- ccxt/ace.py +36 -12
- ccxt/alpaca.py +113 -28
- ccxt/ascendex.py +65 -30
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +36 -12
- ccxt/async_support/alpaca.py +113 -28
- 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 +564 -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 +29 -21
- ccxt/async_support/bitfinex.py +77 -33
- 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 +198 -132
- 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 +138 -53
- 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 +203 -42
- 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 +90 -39
- 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 +564 -323
- ccxt/bingx.py +208 -108
- ccxt/bit2c.py +34 -12
- ccxt/bitbank.py +42 -14
- ccxt/bitbns.py +29 -21
- ccxt/bitfinex.py +77 -33
- ccxt/bitfinex2.py +116 -44
- ccxt/bitflyer.py +54 -18
- ccxt/bitget.py +277 -145
- ccxt/bithumb.py +39 -14
- ccxt/bitmart.py +198 -132
- 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 +138 -53
- 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 +203 -42
- 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 +90 -39
- 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 +38 -13
- 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/test/tests_helpers.py +2 -2
- 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.29.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
- {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/RECORD +273 -273
- {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
- {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/async_support/woo.py
CHANGED
@@ -356,7 +356,9 @@ class woo(Exchange, ImplicitAPI):
|
|
356
356
|
async def fetch_status(self, params={}):
|
357
357
|
"""
|
358
358
|
the latest known information on the availability of the exchange API
|
359
|
-
|
359
|
+
|
360
|
+
https://docs.woo.org/#get-system-maintenance-status-public
|
361
|
+
|
360
362
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
361
363
|
:returns dict: a `status structure <https://docs.ccxt.com/#/?id=exchange-status-structure>`
|
362
364
|
"""
|
@@ -390,7 +392,9 @@ class woo(Exchange, ImplicitAPI):
|
|
390
392
|
async def fetch_time(self, params={}):
|
391
393
|
"""
|
392
394
|
fetches the current integer timestamp in milliseconds from the exchange server
|
393
|
-
|
395
|
+
|
396
|
+
https://docs.woo.org/#get-system-maintenance-status-public
|
397
|
+
|
394
398
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
395
399
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
396
400
|
"""
|
@@ -410,7 +414,9 @@ class woo(Exchange, ImplicitAPI):
|
|
410
414
|
async def fetch_markets(self, params={}) -> List[Market]:
|
411
415
|
"""
|
412
416
|
retrieves data on all markets for woo
|
413
|
-
|
417
|
+
|
418
|
+
https://docs.woo.org/#exchange-information
|
419
|
+
|
414
420
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
415
421
|
:returns dict[]: an array of objects representing market data
|
416
422
|
"""
|
@@ -523,7 +529,9 @@ class woo(Exchange, ImplicitAPI):
|
|
523
529
|
async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
524
530
|
"""
|
525
531
|
get the list of most recent trades for a particular symbol
|
526
|
-
|
532
|
+
|
533
|
+
https://docs.woo.org/#market-trades-public
|
534
|
+
|
527
535
|
:param str symbol: unified symbol of the market to fetch trades for
|
528
536
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
529
537
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -648,7 +656,9 @@ class woo(Exchange, ImplicitAPI):
|
|
648
656
|
async def fetch_trading_fees(self, params={}) -> TradingFees:
|
649
657
|
"""
|
650
658
|
fetch the trading fees for multiple markets
|
651
|
-
|
659
|
+
|
660
|
+
https://docs.woo.org/#get-account-information-new
|
661
|
+
|
652
662
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
653
663
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
654
664
|
"""
|
@@ -701,7 +711,9 @@ class woo(Exchange, ImplicitAPI):
|
|
701
711
|
async def fetch_currencies(self, params={}) -> Currencies:
|
702
712
|
"""
|
703
713
|
fetches all available currencies on an exchange
|
704
|
-
|
714
|
+
|
715
|
+
https://docs.woo.org/#available-token-public
|
716
|
+
|
705
717
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
706
718
|
:returns dict: an associative dictionary of currencies
|
707
719
|
"""
|
@@ -833,7 +845,9 @@ class woo(Exchange, ImplicitAPI):
|
|
833
845
|
async def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
|
834
846
|
"""
|
835
847
|
create a market buy order by providing the symbol and cost
|
836
|
-
|
848
|
+
|
849
|
+
https://docs.woo.org/#send-order
|
850
|
+
|
837
851
|
:param str symbol: unified symbol of the market to create an order in
|
838
852
|
:param float cost: how much you want to trade in units of the quote currency
|
839
853
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -848,7 +862,9 @@ class woo(Exchange, ImplicitAPI):
|
|
848
862
|
async def create_market_sell_order_with_cost(self, symbol: str, cost: float, params={}):
|
849
863
|
"""
|
850
864
|
create a market sell order by providing the symbol and cost
|
851
|
-
|
865
|
+
|
866
|
+
https://docs.woo.org/#send-order
|
867
|
+
|
852
868
|
:param str symbol: unified symbol of the market to create an order in
|
853
869
|
:param float cost: how much you want to trade in units of the quote currency
|
854
870
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -863,7 +879,9 @@ class woo(Exchange, ImplicitAPI):
|
|
863
879
|
async def create_trailing_amount_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingAmount=None, trailingTriggerPrice=None, params={}) -> Order:
|
864
880
|
"""
|
865
881
|
create a trailing order by providing the symbol, type, side, amount, price and trailingAmount
|
866
|
-
|
882
|
+
|
883
|
+
https://docs.woo.org/#send-algo-order
|
884
|
+
|
867
885
|
:param str symbol: unified symbol of the market to create an order in
|
868
886
|
:param str type: 'market' or 'limit'
|
869
887
|
:param str side: 'buy' or 'sell'
|
@@ -885,7 +903,9 @@ class woo(Exchange, ImplicitAPI):
|
|
885
903
|
async def create_trailing_percent_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingPercent=None, trailingTriggerPrice=None, params={}) -> Order:
|
886
904
|
"""
|
887
905
|
create a trailing order by providing the symbol, type, side, amount, price and trailingPercent
|
888
|
-
|
906
|
+
|
907
|
+
https://docs.woo.org/#send-algo-order
|
908
|
+
|
889
909
|
:param str symbol: unified symbol of the market to create an order in
|
890
910
|
:param str type: 'market' or 'limit'
|
891
911
|
:param str side: 'buy' or 'sell'
|
@@ -907,8 +927,10 @@ class woo(Exchange, ImplicitAPI):
|
|
907
927
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
908
928
|
"""
|
909
929
|
create a trade order
|
910
|
-
|
911
|
-
|
930
|
+
|
931
|
+
https://docs.woo.org/#send-order
|
932
|
+
https://docs.woo.org/#send-algo-order
|
933
|
+
|
912
934
|
:param str symbol: unified symbol of the market to create an order in
|
913
935
|
:param str type: 'market' or 'limit'
|
914
936
|
:param str side: 'buy' or 'sell'
|
@@ -1089,10 +1111,12 @@ class woo(Exchange, ImplicitAPI):
|
|
1089
1111
|
async def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
|
1090
1112
|
"""
|
1091
1113
|
edit a trade order
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1114
|
+
|
1115
|
+
https://docs.woo.org/#edit-order
|
1116
|
+
https://docs.woo.org/#edit-order-by-client_order_id
|
1117
|
+
https://docs.woo.org/#edit-algo-order
|
1118
|
+
https://docs.woo.org/#edit-algo-order-by-client_order_id
|
1119
|
+
|
1096
1120
|
:param str id: order id
|
1097
1121
|
:param str symbol: unified symbol of the market to create an order in
|
1098
1122
|
:param str type: 'market' or 'limit'
|
@@ -1170,9 +1194,11 @@ class woo(Exchange, ImplicitAPI):
|
|
1170
1194
|
|
1171
1195
|
async def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1172
1196
|
"""
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1197
|
+
|
1198
|
+
https://docs.woo.org/#cancel-algo-order
|
1199
|
+
https://docs.woo.org/#cancel-order
|
1200
|
+
https://docs.woo.org/#cancel-order-by-client_order_id
|
1201
|
+
|
1176
1202
|
cancels an open order
|
1177
1203
|
:param str id: order id
|
1178
1204
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -1217,9 +1243,11 @@ class woo(Exchange, ImplicitAPI):
|
|
1217
1243
|
|
1218
1244
|
async def cancel_all_orders(self, symbol: Str = None, params={}):
|
1219
1245
|
"""
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1246
|
+
|
1247
|
+
https://docs.woo.org/#cancel-all-pending-orders
|
1248
|
+
https://docs.woo.org/#cancel-orders
|
1249
|
+
https://docs.woo.org/#cancel-all-pending-algo-orders
|
1250
|
+
|
1223
1251
|
cancel all open orders in a market
|
1224
1252
|
:param str symbol: unified market symbol
|
1225
1253
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1251,9 +1279,10 @@ class woo(Exchange, ImplicitAPI):
|
|
1251
1279
|
async def cancel_all_orders_after(self, timeout: Int, params={}):
|
1252
1280
|
"""
|
1253
1281
|
dead man's switch, cancel all orders after the given timeout
|
1254
|
-
|
1282
|
+
|
1283
|
+
https://docs.woo.org/#cancel-all-after
|
1284
|
+
|
1255
1285
|
:param number timeout: time in milliseconds, 0 represents cancel the timer
|
1256
|
-
:param boolean activated: countdown
|
1257
1286
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1258
1287
|
:returns dict: the api result
|
1259
1288
|
"""
|
@@ -1277,8 +1306,10 @@ class woo(Exchange, ImplicitAPI):
|
|
1277
1306
|
|
1278
1307
|
async def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1279
1308
|
"""
|
1280
|
-
|
1281
|
-
|
1309
|
+
|
1310
|
+
https://docs.woo.org/#get-algo-order
|
1311
|
+
https://docs.woo.org/#get-order
|
1312
|
+
|
1282
1313
|
fetches information on an order made by the user
|
1283
1314
|
:param str id: the order id
|
1284
1315
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -1343,8 +1374,10 @@ class woo(Exchange, ImplicitAPI):
|
|
1343
1374
|
async def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1344
1375
|
"""
|
1345
1376
|
fetches information on multiple orders made by the user
|
1346
|
-
|
1347
|
-
|
1377
|
+
|
1378
|
+
https://docs.woo.org/#get-orders
|
1379
|
+
https://docs.woo.org/#get-algo-orders
|
1380
|
+
|
1348
1381
|
:param str symbol: unified market symbol of the market orders were made in
|
1349
1382
|
:param int [since]: the earliest time in ms to fetch orders for
|
1350
1383
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1425,8 +1458,10 @@ class woo(Exchange, ImplicitAPI):
|
|
1425
1458
|
async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1426
1459
|
"""
|
1427
1460
|
fetches information on multiple orders made by the user
|
1428
|
-
|
1429
|
-
|
1461
|
+
|
1462
|
+
https://docs.woo.org/#get-orders
|
1463
|
+
https://docs.woo.org/#get-algo-orders
|
1464
|
+
|
1430
1465
|
:param str symbol: unified market symbol of the market orders were made in
|
1431
1466
|
:param int [since]: the earliest time in ms to fetch orders for
|
1432
1467
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1445,8 +1480,10 @@ class woo(Exchange, ImplicitAPI):
|
|
1445
1480
|
async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1446
1481
|
"""
|
1447
1482
|
fetches information on multiple orders made by the user
|
1448
|
-
|
1449
|
-
|
1483
|
+
|
1484
|
+
https://docs.woo.org/#get-orders
|
1485
|
+
https://docs.woo.org/#get-algo-orders
|
1486
|
+
|
1450
1487
|
:param str symbol: unified market symbol of the market orders were made in
|
1451
1488
|
:param int [since]: the earliest time in ms to fetch orders for
|
1452
1489
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1598,7 +1635,9 @@ class woo(Exchange, ImplicitAPI):
|
|
1598
1635
|
async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
1599
1636
|
"""
|
1600
1637
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1601
|
-
|
1638
|
+
|
1639
|
+
https://docs.woo.org/#orderbook-snapshot-public
|
1640
|
+
|
1602
1641
|
:param str symbol: unified symbol of the market to fetch the order book for
|
1603
1642
|
:param int [limit]: the maximum amount of order book entries to return
|
1604
1643
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1634,8 +1673,10 @@ class woo(Exchange, ImplicitAPI):
|
|
1634
1673
|
|
1635
1674
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
1636
1675
|
"""
|
1637
|
-
|
1638
|
-
|
1676
|
+
|
1677
|
+
https://docs.woo.org/#kline-public
|
1678
|
+
https://docs.woo.org/#kline-historical-data-public
|
1679
|
+
|
1639
1680
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1640
1681
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1641
1682
|
:param str timeframe: the length of time each candle represents
|
@@ -1724,7 +1765,9 @@ class woo(Exchange, ImplicitAPI):
|
|
1724
1765
|
async def fetch_order_trades(self, id: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1725
1766
|
"""
|
1726
1767
|
fetch all the trades made from a single order
|
1727
|
-
|
1768
|
+
|
1769
|
+
https://docs.woo.org/#get-trades
|
1770
|
+
|
1728
1771
|
:param str id: order id
|
1729
1772
|
:param str symbol: unified market symbol
|
1730
1773
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1764,7 +1807,9 @@ class woo(Exchange, ImplicitAPI):
|
|
1764
1807
|
async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1765
1808
|
"""
|
1766
1809
|
fetch all trades made by the user
|
1767
|
-
|
1810
|
+
|
1811
|
+
https://docs.woo.org/#get-trades
|
1812
|
+
|
1768
1813
|
:param str symbol: unified market symbol
|
1769
1814
|
:param int [since]: the earliest time in ms to fetch trades for
|
1770
1815
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -1818,7 +1863,9 @@ class woo(Exchange, ImplicitAPI):
|
|
1818
1863
|
async def fetch_accounts(self, params={}) -> List[Account]:
|
1819
1864
|
"""
|
1820
1865
|
fetch all the accounts associated with a profile
|
1821
|
-
|
1866
|
+
|
1867
|
+
https://docs.woo.org/#get-assets-of-subaccounts
|
1868
|
+
|
1822
1869
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1823
1870
|
:returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
|
1824
1871
|
"""
|
@@ -1862,7 +1909,9 @@ class woo(Exchange, ImplicitAPI):
|
|
1862
1909
|
async def fetch_balance(self, params={}) -> Balances:
|
1863
1910
|
"""
|
1864
1911
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1865
|
-
|
1912
|
+
|
1913
|
+
https://docs.woo.org/#get-current-holding-get-balance-new
|
1914
|
+
|
1866
1915
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1867
1916
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
1868
1917
|
"""
|
@@ -1911,7 +1960,9 @@ class woo(Exchange, ImplicitAPI):
|
|
1911
1960
|
async def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
1912
1961
|
"""
|
1913
1962
|
fetch the deposit address for a currency associated with self account
|
1914
|
-
|
1963
|
+
|
1964
|
+
https://docs.woo.org/#get-token-deposit-address
|
1965
|
+
|
1915
1966
|
:param str code: unified currency code
|
1916
1967
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1917
1968
|
:returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
|
@@ -1998,7 +2049,9 @@ class woo(Exchange, ImplicitAPI):
|
|
1998
2049
|
async def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
|
1999
2050
|
"""
|
2000
2051
|
fetch the history of changes, actions done by the user or operations that altered balance of the user
|
2001
|
-
|
2052
|
+
|
2053
|
+
https://docs.woo.org/#get-asset-history
|
2054
|
+
|
2002
2055
|
:param str [code]: unified currency code, default is None
|
2003
2056
|
:param int [since]: timestamp in ms of the earliest ledger entry, default is None
|
2004
2057
|
:param int [limit]: max number of ledger entries to return, default is None
|
@@ -2059,7 +2112,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2059
2112
|
async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
2060
2113
|
"""
|
2061
2114
|
fetch all deposits made to an account
|
2062
|
-
|
2115
|
+
|
2116
|
+
https://docs.woo.org/#get-asset-history
|
2117
|
+
|
2063
2118
|
:param str code: unified currency code
|
2064
2119
|
:param int [since]: the earliest time in ms to fetch deposits for
|
2065
2120
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
@@ -2074,7 +2129,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2074
2129
|
async def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
2075
2130
|
"""
|
2076
2131
|
fetch all withdrawals made from an account
|
2077
|
-
|
2132
|
+
|
2133
|
+
https://docs.woo.org/#get-asset-history
|
2134
|
+
|
2078
2135
|
:param str code: unified currency code
|
2079
2136
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
2080
2137
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
@@ -2089,7 +2146,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2089
2146
|
async def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
2090
2147
|
"""
|
2091
2148
|
fetch history of deposits and withdrawals
|
2092
|
-
|
2149
|
+
|
2150
|
+
https://docs.woo.org/#get-asset-history
|
2151
|
+
|
2093
2152
|
:param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
|
2094
2153
|
:param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
|
2095
2154
|
:param int [limit]: max number of deposit/withdrawals to return, default is None
|
@@ -2161,7 +2220,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2161
2220
|
async def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
|
2162
2221
|
"""
|
2163
2222
|
transfer currency internally between wallets on the same account
|
2164
|
-
|
2223
|
+
|
2224
|
+
https://docs.woo.org/#get-transfer-history
|
2225
|
+
|
2165
2226
|
:param str code: unified currency code
|
2166
2227
|
:param float amount: amount to transfer
|
2167
2228
|
:param str fromAccount: account to transfer from
|
@@ -2196,7 +2257,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2196
2257
|
async def fetch_transfers(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[TransferEntry]:
|
2197
2258
|
"""
|
2198
2259
|
fetch a history of internal transfers made on an account
|
2199
|
-
|
2260
|
+
|
2261
|
+
https://docs.woo.org/#get-transfer-history
|
2262
|
+
|
2200
2263
|
:param str code: unified currency code of the currency transferred
|
2201
2264
|
:param int [since]: the earliest time in ms to fetch transfers for
|
2202
2265
|
:param int [limit]: the maximum number of transfers structures to retrieve
|
@@ -2296,7 +2359,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2296
2359
|
async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
2297
2360
|
"""
|
2298
2361
|
make a withdrawal
|
2299
|
-
|
2362
|
+
|
2363
|
+
https://docs.woo.org/#token-withdraw
|
2364
|
+
|
2300
2365
|
:param str code: unified currency code
|
2301
2366
|
:param float amount: the amount to withdraw
|
2302
2367
|
:param str address: the address to withdraw to
|
@@ -2335,7 +2400,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2335
2400
|
async def repay_margin(self, code: str, amount: float, symbol: Str = None, params={}):
|
2336
2401
|
"""
|
2337
2402
|
repay borrowed margin and interest
|
2338
|
-
|
2403
|
+
|
2404
|
+
https://docs.woo.org/#repay-interest
|
2405
|
+
|
2339
2406
|
:param str code: unified currency code of the currency to repay
|
2340
2407
|
:param float amount: the amount to repay
|
2341
2408
|
:param str symbol: not used by woo.repayMargin()
|
@@ -2494,7 +2561,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2494
2561
|
async def fetch_funding_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
2495
2562
|
"""
|
2496
2563
|
fetch the history of funding payments paid and received on self account
|
2497
|
-
|
2564
|
+
|
2565
|
+
https://docs.woo.org/#get-funding-fee-history
|
2566
|
+
|
2498
2567
|
:param str [symbol]: unified market symbol
|
2499
2568
|
:param int [since]: the earliest time in ms to fetch funding history for
|
2500
2569
|
:param int [limit]: the maximum number of funding history structures to retrieve
|
@@ -2597,7 +2666,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2597
2666
|
async def fetch_funding_interval(self, symbol: str, params={}) -> FundingRate:
|
2598
2667
|
"""
|
2599
2668
|
fetch the current funding rate interval
|
2600
|
-
|
2669
|
+
|
2670
|
+
https://docs.woox.io/#get-predicted-funding-rate-for-one-market-public
|
2671
|
+
|
2601
2672
|
:param str symbol: unified market symbol
|
2602
2673
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2603
2674
|
:returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
|
@@ -2607,7 +2678,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2607
2678
|
async def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
|
2608
2679
|
"""
|
2609
2680
|
fetch the current funding rate
|
2610
|
-
|
2681
|
+
|
2682
|
+
https://docs.woox.io/#get-predicted-funding-rate-for-one-market-public
|
2683
|
+
|
2611
2684
|
:param str symbol: unified market symbol
|
2612
2685
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2613
2686
|
:returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
|
@@ -2637,7 +2710,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2637
2710
|
async def fetch_funding_rates(self, symbols: Strings = None, params={}) -> FundingRates:
|
2638
2711
|
"""
|
2639
2712
|
fetch the funding rate for multiple markets
|
2640
|
-
|
2713
|
+
|
2714
|
+
https://docs.woox.io/#get-predicted-funding-rate-for-all-markets-public
|
2715
|
+
|
2641
2716
|
:param str[]|None symbols: list of unified market symbols
|
2642
2717
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2643
2718
|
:returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rates-structure>`, indexed by market symbols
|
@@ -2668,7 +2743,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2668
2743
|
async def fetch_funding_rate_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
2669
2744
|
"""
|
2670
2745
|
fetches historical funding rate prices
|
2671
|
-
|
2746
|
+
|
2747
|
+
https://docs.woo.org/#get-funding-rate-history-for-one-market-public
|
2748
|
+
|
2672
2749
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2673
2750
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
2674
2751
|
:param int [limit]: the maximum amount of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-history-structure>` to fetch
|
@@ -2729,7 +2806,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2729
2806
|
async def set_position_mode(self, hedged: bool, symbol: Str = None, params={}):
|
2730
2807
|
"""
|
2731
2808
|
set hedged to True or False for a market
|
2732
|
-
|
2809
|
+
|
2810
|
+
https://docs.woo.org/#update-position-mode
|
2811
|
+
|
2733
2812
|
:param bool hedged: set to True to use HEDGE_MODE, False for ONE_WAY
|
2734
2813
|
:param str symbol: not used by woo setPositionMode
|
2735
2814
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -2756,7 +2835,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2756
2835
|
async def fetch_leverage(self, symbol: str, params={}) -> Leverage:
|
2757
2836
|
"""
|
2758
2837
|
fetch the set leverage for a market
|
2759
|
-
|
2838
|
+
|
2839
|
+
https://docs.woo.org/#get-account-information-new
|
2840
|
+
|
2760
2841
|
:param str symbol: unified market symbol
|
2761
2842
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2762
2843
|
:param str [params.marginMode]: *for swap markets only* 'cross' or 'isolated'
|
@@ -2879,10 +2960,12 @@ class woo(Exchange, ImplicitAPI):
|
|
2879
2960
|
async def set_leverage(self, leverage: Int, symbol: Str = None, params={}):
|
2880
2961
|
"""
|
2881
2962
|
set the level of leverage for a market
|
2882
|
-
|
2883
|
-
|
2963
|
+
|
2964
|
+
https://docs.woo.org/#update-leverage-setting
|
2965
|
+
https://docs.woo.org/#update-futures-leverage-setting
|
2966
|
+
|
2884
2967
|
:param float leverage: the rate of leverage(1, 2, 3, 4 or 5 for spot markets, 1, 2, 3, 4, 5, 10, 15, 20 for swap markets)
|
2885
|
-
:param str [
|
2968
|
+
:param str [symbol]: unified market symbol(is mandatory for swap markets)
|
2886
2969
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2887
2970
|
:param str [params.marginMode]: *for swap markets only* 'cross' or 'isolated'
|
2888
2971
|
:param str [params.position_side]: *for swap markets only* 'LONG' or 'SHORT' in hedge mode, 'BOTH' in one way mode.
|
@@ -2909,7 +2992,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2909
2992
|
async def add_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
|
2910
2993
|
"""
|
2911
2994
|
add margin
|
2912
|
-
|
2995
|
+
|
2996
|
+
https://docs.woo.org/#update-isolated-margin-setting
|
2997
|
+
|
2913
2998
|
:param str symbol: unified market symbol
|
2914
2999
|
:param float amount: amount of margin to add
|
2915
3000
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -2921,7 +3006,9 @@ class woo(Exchange, ImplicitAPI):
|
|
2921
3006
|
async def reduce_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
|
2922
3007
|
"""
|
2923
3008
|
remove margin from a position
|
2924
|
-
|
3009
|
+
|
3010
|
+
https://docs.woo.org/#update-isolated-margin-setting
|
3011
|
+
|
2925
3012
|
:param str symbol: unified market symbol
|
2926
3013
|
:param float amount: amount of margin to remove
|
2927
3014
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -3133,7 +3220,9 @@ class woo(Exchange, ImplicitAPI):
|
|
3133
3220
|
async def fetch_convert_quote(self, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
|
3134
3221
|
"""
|
3135
3222
|
fetch a quote for converting from one currency to another
|
3136
|
-
|
3223
|
+
|
3224
|
+
https://docs.woo.org/#get-quote-rfq
|
3225
|
+
|
3137
3226
|
:param str fromCode: the currency that you want to sell and convert from
|
3138
3227
|
:param str toCode: the currency that you want to buy and convert into
|
3139
3228
|
:param float [amount]: how much you want to trade in units of the from currency
|
@@ -3173,7 +3262,9 @@ class woo(Exchange, ImplicitAPI):
|
|
3173
3262
|
async def create_convert_trade(self, id: str, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
|
3174
3263
|
"""
|
3175
3264
|
convert from one currency to another
|
3176
|
-
|
3265
|
+
|
3266
|
+
https://docs.woo.org/#send-quote-rft
|
3267
|
+
|
3177
3268
|
:param str id: the id of the trade that you want to make
|
3178
3269
|
:param str fromCode: the currency that you want to sell and convert from
|
3179
3270
|
:param str toCode: the currency that you want to buy and convert into
|
@@ -3202,7 +3293,9 @@ class woo(Exchange, ImplicitAPI):
|
|
3202
3293
|
async def fetch_convert_trade(self, id: str, code: Str = None, params={}) -> Conversion:
|
3203
3294
|
"""
|
3204
3295
|
fetch the data for a conversion trade
|
3205
|
-
|
3296
|
+
|
3297
|
+
https://docs.woo.org/#get-quote-trade
|
3298
|
+
|
3206
3299
|
:param str id: the id of the trade that you want to fetch
|
3207
3300
|
:param str [code]: the unified currency code of the conversion trade
|
3208
3301
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -3241,7 +3334,9 @@ class woo(Exchange, ImplicitAPI):
|
|
3241
3334
|
async def fetch_convert_trade_history(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Conversion]:
|
3242
3335
|
"""
|
3243
3336
|
fetch the users history of conversion trades
|
3244
|
-
|
3337
|
+
|
3338
|
+
https://docs.woo.org/#get-quote-trades
|
3339
|
+
|
3245
3340
|
:param str [code]: the unified currency code
|
3246
3341
|
:param int [since]: the earliest time in ms to fetch conversions for
|
3247
3342
|
:param int [limit]: the maximum number of conversion structures to retrieve
|
@@ -3338,7 +3433,9 @@ class woo(Exchange, ImplicitAPI):
|
|
3338
3433
|
async def fetch_convert_currencies(self, params={}) -> Currencies:
|
3339
3434
|
"""
|
3340
3435
|
fetches all available currencies that can be converted
|
3341
|
-
|
3436
|
+
|
3437
|
+
https://docs.woo.org/#get-quote-asset-info
|
3438
|
+
|
3342
3439
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
3343
3440
|
:returns dict: an associative dictionary of currencies
|
3344
3441
|
"""
|