ccxt 4.0.75__py2.py3-none-any.whl → 4.0.77__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.
Potentially problematic release.
This version of ccxt might be problematic. Click here for more details.
- ccxt/__init__.py +1 -1
- ccxt/abstract/bingx.py +2 -0
- ccxt/abstract/coinsph.py +5 -0
- ccxt/abstract/gate.py +24 -0
- ccxt/abstract/gateio.py +24 -0
- ccxt/ace.py +2 -2
- ccxt/alpaca.py +1 -1
- ccxt/ascendex.py +3 -3
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +2 -2
- ccxt/async_support/alpaca.py +1 -1
- ccxt/async_support/ascendex.py +3 -3
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/bigone.py +2 -2
- ccxt/async_support/binance.py +5 -5
- ccxt/async_support/bingx.py +72 -21
- ccxt/async_support/bit2c.py +2 -2
- ccxt/async_support/bitbank.py +2 -2
- ccxt/async_support/bitbns.py +2 -2
- ccxt/async_support/bitfinex.py +2 -2
- ccxt/async_support/bitfinex2.py +4 -4
- ccxt/async_support/bitflyer.py +2 -2
- ccxt/async_support/bitforex.py +2 -2
- ccxt/async_support/bitget.py +5 -5
- ccxt/async_support/bithumb.py +2 -2
- ccxt/async_support/bitmart.py +2 -2
- ccxt/async_support/bitmex.py +5 -5
- ccxt/async_support/bitopro.py +3 -3
- ccxt/async_support/bitpanda.py +2 -2
- ccxt/async_support/bitrue.py +3 -3
- ccxt/async_support/bitso.py +2 -2
- ccxt/async_support/bitstamp.py +2 -2
- ccxt/async_support/bitstamp1.py +2 -2
- ccxt/async_support/bittrex.py +3 -3
- ccxt/async_support/bitvavo.py +3 -3
- ccxt/async_support/bkex.py +4 -4
- ccxt/async_support/bl3p.py +2 -2
- ccxt/async_support/blockchaincom.py +1 -1
- ccxt/async_support/btcalpha.py +2 -2
- ccxt/async_support/btcbox.py +2 -2
- ccxt/async_support/btcmarkets.py +2 -2
- ccxt/async_support/btctradeua.py +2 -2
- ccxt/async_support/btcturk.py +2 -2
- ccxt/async_support/bybit.py +6 -6
- ccxt/async_support/cex.py +2 -2
- ccxt/async_support/coinbase.py +3 -3
- ccxt/async_support/coinbasepro.py +2 -2
- ccxt/async_support/coincheck.py +2 -2
- ccxt/async_support/coinex.py +6 -6
- ccxt/async_support/coinfalcon.py +2 -2
- ccxt/async_support/coinmate.py +2 -2
- ccxt/async_support/coinone.py +2 -2
- ccxt/async_support/coinsph.py +7 -2
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +5 -5
- ccxt/async_support/currencycom.py +2 -2
- ccxt/async_support/delta.py +2 -2
- ccxt/async_support/deribit.py +3 -3
- ccxt/async_support/digifinex.py +4 -4
- ccxt/async_support/exmo.py +2 -2
- ccxt/async_support/gate.py +46 -4
- ccxt/async_support/gemini.py +3 -3
- ccxt/async_support/hitbtc.py +4 -4
- ccxt/async_support/hollaex.py +3 -3
- ccxt/async_support/huobi.py +5 -5
- ccxt/async_support/huobijp.py +2 -2
- ccxt/async_support/idex.py +2 -2
- ccxt/async_support/independentreserve.py +2 -2
- ccxt/async_support/indodax.py +2 -2
- ccxt/async_support/kraken.py +2 -2
- ccxt/async_support/kucoin.py +4 -4
- ccxt/async_support/kucoinfutures.py +5 -5
- ccxt/async_support/kuna.py +2 -2
- ccxt/async_support/latoken.py +2 -2
- ccxt/async_support/lbank.py +2 -2
- ccxt/async_support/lbank2.py +2 -2
- ccxt/async_support/luno.py +2 -2
- ccxt/async_support/lykke.py +2 -2
- ccxt/async_support/mercado.py +2 -2
- ccxt/async_support/mexc.py +6 -3
- ccxt/async_support/ndax.py +2 -2
- ccxt/async_support/novadax.py +2 -2
- ccxt/async_support/oceanex.py +2 -2
- ccxt/async_support/okcoin.py +2 -2
- ccxt/async_support/okx.py +4 -4
- ccxt/async_support/paymium.py +2 -2
- ccxt/async_support/phemex.py +2 -2
- ccxt/async_support/poloniex.py +149 -68
- ccxt/async_support/poloniexfutures.py +2 -2
- ccxt/async_support/probit.py +2 -2
- ccxt/async_support/tidex.py +2 -2
- ccxt/async_support/timex.py +2 -2
- ccxt/async_support/tokocrypto.py +2 -2
- ccxt/async_support/upbit.py +2 -2
- ccxt/async_support/wavesexchange.py +3 -3
- ccxt/async_support/wazirx.py +2 -2
- ccxt/async_support/whitebit.py +4 -3
- ccxt/async_support/woo.py +2 -2
- ccxt/async_support/yobit.py +2 -2
- ccxt/async_support/zaif.py +2 -2
- ccxt/async_support/zonda.py +2 -2
- ccxt/base/exchange.py +3 -3
- ccxt/bigone.py +2 -2
- ccxt/binance.py +5 -5
- ccxt/bingx.py +72 -21
- ccxt/bit2c.py +2 -2
- ccxt/bitbank.py +2 -2
- ccxt/bitbns.py +2 -2
- ccxt/bitfinex.py +2 -2
- ccxt/bitfinex2.py +4 -4
- ccxt/bitflyer.py +2 -2
- ccxt/bitforex.py +2 -2
- ccxt/bitget.py +5 -5
- ccxt/bithumb.py +2 -2
- ccxt/bitmart.py +2 -2
- ccxt/bitmex.py +5 -5
- ccxt/bitopro.py +3 -3
- ccxt/bitpanda.py +2 -2
- ccxt/bitrue.py +3 -3
- ccxt/bitso.py +2 -2
- ccxt/bitstamp.py +2 -2
- ccxt/bitstamp1.py +2 -2
- ccxt/bittrex.py +3 -3
- ccxt/bitvavo.py +3 -3
- ccxt/bkex.py +4 -4
- ccxt/bl3p.py +2 -2
- ccxt/blockchaincom.py +1 -1
- ccxt/btcalpha.py +2 -2
- ccxt/btcbox.py +2 -2
- ccxt/btcmarkets.py +2 -2
- ccxt/btctradeua.py +2 -2
- ccxt/btcturk.py +2 -2
- ccxt/bybit.py +6 -6
- ccxt/cex.py +2 -2
- ccxt/coinbase.py +3 -3
- ccxt/coinbasepro.py +2 -2
- ccxt/coincheck.py +2 -2
- ccxt/coinex.py +6 -6
- ccxt/coinfalcon.py +2 -2
- ccxt/coinmate.py +2 -2
- ccxt/coinone.py +2 -2
- ccxt/coinsph.py +7 -2
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +5 -5
- ccxt/currencycom.py +2 -2
- ccxt/delta.py +2 -2
- ccxt/deribit.py +3 -3
- ccxt/digifinex.py +4 -4
- ccxt/exmo.py +2 -2
- ccxt/gate.py +46 -4
- ccxt/gemini.py +3 -3
- ccxt/hitbtc.py +4 -4
- ccxt/hollaex.py +3 -3
- ccxt/huobi.py +5 -5
- ccxt/huobijp.py +2 -2
- ccxt/idex.py +2 -2
- ccxt/independentreserve.py +2 -2
- ccxt/indodax.py +2 -2
- ccxt/kraken.py +2 -2
- ccxt/kucoin.py +4 -4
- ccxt/kucoinfutures.py +5 -5
- ccxt/kuna.py +2 -2
- ccxt/latoken.py +2 -2
- ccxt/lbank.py +2 -2
- ccxt/lbank2.py +2 -2
- ccxt/luno.py +2 -2
- ccxt/lykke.py +2 -2
- ccxt/mercado.py +2 -2
- ccxt/mexc.py +6 -3
- ccxt/ndax.py +2 -2
- ccxt/novadax.py +2 -2
- ccxt/oceanex.py +2 -2
- ccxt/okcoin.py +2 -2
- ccxt/okx.py +4 -4
- ccxt/paymium.py +2 -2
- ccxt/phemex.py +2 -2
- ccxt/poloniex.py +149 -68
- ccxt/poloniexfutures.py +2 -2
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/ascendex.py +2 -2
- ccxt/pro/binance.py +6 -6
- ccxt/pro/bitfinex.py +1 -1
- ccxt/pro/bitfinex2.py +2 -2
- ccxt/pro/bitget.py +2 -2
- ccxt/pro/bitmart.py +1 -1
- ccxt/pro/bitmex.py +2 -2
- ccxt/pro/bitopro.py +2 -2
- ccxt/pro/bitpanda.py +6 -6
- ccxt/pro/bitrue.py +1 -1
- ccxt/pro/bitstamp.py +1 -1
- ccxt/pro/bittrex.py +2 -2
- ccxt/pro/bitvavo.py +1 -1
- ccxt/pro/blockchaincom.py +5 -5
- ccxt/pro/bybit.py +1 -1
- ccxt/pro/cex.py +4 -4
- ccxt/pro/coinbase.py +5 -5
- ccxt/pro/coinbasepro.py +1 -1
- ccxt/pro/coinex.py +2 -2
- ccxt/pro/cryptocom.py +3 -3
- ccxt/pro/currencycom.py +2 -2
- ccxt/pro/deribit.py +3 -3
- ccxt/pro/exmo.py +3 -3
- ccxt/pro/gate.py +2 -2
- ccxt/pro/gemini.py +1 -1
- ccxt/pro/hitbtc.py +1 -1
- ccxt/pro/hollaex.py +2 -2
- ccxt/pro/huobi.py +2 -2
- ccxt/pro/huobijp.py +1 -1
- ccxt/pro/idex.py +1 -1
- ccxt/pro/independentreserve.py +1 -1
- ccxt/pro/kraken.py +6 -6
- ccxt/pro/krakenfutures.py +5 -5
- ccxt/pro/kucoin.py +2 -2
- ccxt/pro/kucoinfutures.py +3 -2
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +6 -6
- ccxt/pro/ndax.py +1 -1
- ccxt/pro/okcoin.py +2 -2
- ccxt/pro/okx.py +10 -7
- ccxt/pro/phemex.py +2 -2
- ccxt/pro/poloniex.py +6 -6
- ccxt/pro/poloniexfutures.py +5 -5
- ccxt/pro/probit.py +6 -6
- ccxt/pro/upbit.py +1 -1
- ccxt/pro/wazirx.py +3 -3
- ccxt/pro/whitebit.py +2 -2
- ccxt/probit.py +2 -2
- ccxt/tidex.py +2 -2
- ccxt/timex.py +2 -2
- ccxt/tokocrypto.py +2 -2
- ccxt/upbit.py +2 -2
- ccxt/wavesexchange.py +3 -3
- ccxt/wazirx.py +2 -2
- ccxt/whitebit.py +4 -3
- ccxt/woo.py +2 -2
- ccxt/yobit.py +2 -2
- ccxt/zaif.py +2 -2
- ccxt/zonda.py +2 -2
- {ccxt-4.0.75.dist-info → ccxt-4.0.77.dist-info}/METADATA +4 -4
- ccxt-4.0.77.dist-info/RECORD +456 -0
- ccxt-4.0.75.dist-info/RECORD +0 -456
- {ccxt-4.0.75.dist-info → ccxt-4.0.77.dist-info}/WHEEL +0 -0
- {ccxt-4.0.75.dist-info → ccxt-4.0.77.dist-info}/top_level.txt +0 -0
ccxt/lbank.py
CHANGED
@@ -383,7 +383,7 @@ class lbank(Exchange, ImplicitAPI):
|
|
383
383
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
384
384
|
:param int [limit]: the maximum amount of trades to fetch
|
385
385
|
:param dict [params]: extra parameters specific to the lbank api endpoint
|
386
|
-
:returns Trade[]: a list of `trade structures <https://
|
386
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
387
387
|
"""
|
388
388
|
self.load_markets()
|
389
389
|
market = self.market(symbol)
|
@@ -476,7 +476,7 @@ class lbank(Exchange, ImplicitAPI):
|
|
476
476
|
"""
|
477
477
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
478
478
|
:param dict [params]: extra parameters specific to the lbank api endpoint
|
479
|
-
:returns dict: a `balance structure <https://
|
479
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
480
480
|
"""
|
481
481
|
self.load_markets()
|
482
482
|
response = self.privatePostUserInfo(params)
|
ccxt/lbank2.py
CHANGED
@@ -884,7 +884,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
884
884
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
885
885
|
:param int [limit]: the maximum amount of trades to fetch
|
886
886
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
887
|
-
:returns Trade[]: a list of `trade structures <https://
|
887
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
888
888
|
"""
|
889
889
|
self.load_markets()
|
890
890
|
market = self.market(symbol)
|
@@ -1124,7 +1124,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1124
1124
|
see https://www.lbank.info/en-US/docs/index.html#account-information
|
1125
1125
|
see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
1126
1126
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1127
|
-
:returns dict: a `balance structure <https://
|
1127
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1128
1128
|
"""
|
1129
1129
|
self.load_markets()
|
1130
1130
|
method = self.safe_string(params, 'method')
|
ccxt/luno.py
CHANGED
@@ -299,7 +299,7 @@ class luno(Exchange, ImplicitAPI):
|
|
299
299
|
"""
|
300
300
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
301
301
|
:param dict [params]: extra parameters specific to the luno api endpoint
|
302
|
-
:returns dict: a `balance structure <https://
|
302
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
303
303
|
"""
|
304
304
|
self.load_markets()
|
305
305
|
response = self.privateGetBalance(params)
|
@@ -648,7 +648,7 @@ class luno(Exchange, ImplicitAPI):
|
|
648
648
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
649
649
|
:param int [limit]: the maximum amount of trades to fetch
|
650
650
|
:param dict [params]: extra parameters specific to the luno api endpoint
|
651
|
-
:returns Trade[]: a list of `trade structures <https://
|
651
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
652
652
|
"""
|
653
653
|
self.load_markets()
|
654
654
|
market = self.market(symbol)
|
ccxt/lykke.py
CHANGED
@@ -603,7 +603,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
603
603
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
604
604
|
:param int [limit]: the maximum amount of trades to fetch
|
605
605
|
:param dict [params]: extra parameters specific to the lykke api endpoint
|
606
|
-
:returns Trade[]: a list of `trade structures <https://
|
606
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
607
607
|
"""
|
608
608
|
self.load_markets()
|
609
609
|
market = self.market(symbol)
|
@@ -660,7 +660,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
660
660
|
"""
|
661
661
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
662
662
|
:param dict [params]: extra parameters specific to the lykke api endpoint
|
663
|
-
:returns dict: a `balance structure <https://
|
663
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
664
664
|
"""
|
665
665
|
self.load_markets()
|
666
666
|
response = self.privateGetBalance(params)
|
ccxt/mercado.py
CHANGED
@@ -366,7 +366,7 @@ class mercado(Exchange, ImplicitAPI):
|
|
366
366
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
367
367
|
:param int [limit]: the maximum amount of trades to fetch
|
368
368
|
:param dict [params]: extra parameters specific to the mercado api endpoint
|
369
|
-
:returns Trade[]: a list of `trade structures <https://
|
369
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
370
370
|
"""
|
371
371
|
self.load_markets()
|
372
372
|
market = self.market(symbol)
|
@@ -403,7 +403,7 @@ class mercado(Exchange, ImplicitAPI):
|
|
403
403
|
"""
|
404
404
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
405
405
|
:param dict [params]: extra parameters specific to the mercado api endpoint
|
406
|
-
:returns dict: a `balance structure <https://
|
406
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
407
407
|
"""
|
408
408
|
self.load_markets()
|
409
409
|
response = self.privatePostGetAccountInfo(params)
|
ccxt/mexc.py
CHANGED
@@ -21,6 +21,7 @@ from ccxt.base.errors import InsufficientFunds
|
|
21
21
|
from ccxt.base.errors import InvalidAddress
|
22
22
|
from ccxt.base.errors import InvalidOrder
|
23
23
|
from ccxt.base.errors import NotSupported
|
24
|
+
from ccxt.base.errors import OnMaintenance
|
24
25
|
from ccxt.base.errors import InvalidNonce
|
25
26
|
from ccxt.base.errors import AuthenticationError
|
26
27
|
from ccxt.base.decimal_to_precision import TICK_SIZE
|
@@ -731,6 +732,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
731
732
|
'2003': InvalidOrder,
|
732
733
|
'2005': InsufficientFunds,
|
733
734
|
'400': BadRequest, # {"msg":"The start time cannot be earlier than 90 days","code":400}
|
735
|
+
# '500': OnMaintenance, # {"code": 500,"message": "Under maintenance, please try again later","announcement": "https://www.mexc.com/support/articles/17827791510263"}
|
734
736
|
'600': BadRequest,
|
735
737
|
'70011': PermissionDenied, # {"code":70011,"msg":"Pair user ban trade apikey."}
|
736
738
|
'88004': InsufficientFunds, # {"msg":"超出最大可借,最大可借币为:18.09833211","code":88004}
|
@@ -825,6 +827,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
825
827
|
'Bid price is great than max allow price': InvalidOrder, # code:2003
|
826
828
|
'Invalid symbol.': BadSymbol, # code:-1121
|
827
829
|
'Param error!': BadRequest, # code:600
|
830
|
+
'maintenance': OnMaintenance, # {"code": 500,"message": "Under maintenance, please try again later","announcement": "https://www.mexc.com/support/articles/17827791510263"}
|
828
831
|
},
|
829
832
|
},
|
830
833
|
})
|
@@ -1340,7 +1343,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
1340
1343
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1341
1344
|
:param int [limit]: the maximum amount of trades to fetch
|
1342
1345
|
:param dict [params]: extra parameters specific to the mexc3 api endpoint
|
1343
|
-
:returns Trade[]: a list of `trade structures <https://
|
1346
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1344
1347
|
"""
|
1345
1348
|
self.load_markets()
|
1346
1349
|
market = self.market(symbol)
|
@@ -3222,7 +3225,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
3222
3225
|
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#isolated-account
|
3223
3226
|
:param dict [params]: extra parameters specific to the mexc3 api endpoint
|
3224
3227
|
:param str [params.symbols]: # required for margin, market id's separated by commas
|
3225
|
-
:returns dict: a `balance structure <https://
|
3228
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
3226
3229
|
"""
|
3227
3230
|
self.load_markets()
|
3228
3231
|
marketType = None
|
@@ -3703,7 +3706,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
3703
3706
|
:param int [since]: not used by mexc, but filtered internally by ccxt
|
3704
3707
|
:param int [limit]: mexc limit is page_size default 20, maximum is 100
|
3705
3708
|
:param dict [params]: extra parameters specific to the mexc api endpoint
|
3706
|
-
:returns dict[]: a list of `funding rate structures <https://
|
3709
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
3707
3710
|
"""
|
3708
3711
|
if symbol is None:
|
3709
3712
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
ccxt/ndax.py
CHANGED
@@ -929,7 +929,7 @@ class ndax(Exchange, ImplicitAPI):
|
|
929
929
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
930
930
|
:param int [limit]: the maximum amount of trades to fetch
|
931
931
|
:param dict [params]: extra parameters specific to the ndax api endpoint
|
932
|
-
:returns Trade[]: a list of `trade structures <https://
|
932
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
933
933
|
"""
|
934
934
|
omsId = self.safe_integer(self.options, 'omsId', 1)
|
935
935
|
self.load_markets()
|
@@ -1001,7 +1001,7 @@ class ndax(Exchange, ImplicitAPI):
|
|
1001
1001
|
"""
|
1002
1002
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1003
1003
|
:param dict [params]: extra parameters specific to the ndax api endpoint
|
1004
|
-
:returns dict: a `balance structure <https://
|
1004
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1005
1005
|
"""
|
1006
1006
|
omsId = self.safe_integer(self.options, 'omsId', 1)
|
1007
1007
|
self.load_markets()
|
ccxt/novadax.py
CHANGED
@@ -563,7 +563,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
563
563
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
564
564
|
:param int [limit]: the maximum amount of trades to fetch
|
565
565
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
566
|
-
:returns Trade[]: a list of `trade structures <https://
|
566
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
567
567
|
"""
|
568
568
|
self.load_markets()
|
569
569
|
market = self.market(symbol)
|
@@ -686,7 +686,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
686
686
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
687
687
|
see https://doc.novadax.com/en-US/#get-account-balance
|
688
688
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
689
|
-
:returns dict: a `balance structure <https://
|
689
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
690
690
|
"""
|
691
691
|
self.load_markets()
|
692
692
|
response = self.privateGetAccountGetBalance(params)
|
ccxt/oceanex.py
CHANGED
@@ -454,7 +454,7 @@ class oceanex(Exchange, ImplicitAPI):
|
|
454
454
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
455
455
|
:param int [limit]: the maximum amount of trades to fetch
|
456
456
|
:param dict [params]: extra parameters specific to the oceanex api endpoint
|
457
|
-
:returns Trade[]: a list of `trade structures <https://
|
457
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
458
458
|
"""
|
459
459
|
self.load_markets()
|
460
460
|
market = self.market(symbol)
|
@@ -589,7 +589,7 @@ class oceanex(Exchange, ImplicitAPI):
|
|
589
589
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
590
590
|
see https://api.oceanex.pro/doc/v1/#account-info-post
|
591
591
|
:param dict [params]: extra parameters specific to the oceanex api endpoint
|
592
|
-
:returns dict: a `balance structure <https://
|
592
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
593
593
|
"""
|
594
594
|
self.load_markets()
|
595
595
|
response = self.privateGetMembersMe(params)
|
ccxt/okcoin.py
CHANGED
@@ -1422,7 +1422,7 @@ class okcoin(Exchange, ImplicitAPI):
|
|
1422
1422
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1423
1423
|
:param int [limit]: the maximum amount of trades to fetch
|
1424
1424
|
:param dict [params]: extra parameters specific to the okcoin api endpoint
|
1425
|
-
:returns Trade[]: a list of `trade structures <https://
|
1425
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1426
1426
|
"""
|
1427
1427
|
self.load_markets()
|
1428
1428
|
market = self.market(symbol)
|
@@ -1781,7 +1781,7 @@ class okcoin(Exchange, ImplicitAPI):
|
|
1781
1781
|
"""
|
1782
1782
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1783
1783
|
:param dict [params]: extra parameters specific to the okcoin api endpoint
|
1784
|
-
:returns dict: a `balance structure <https://
|
1784
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1785
1785
|
"""
|
1786
1786
|
defaultType = self.safe_string_2(self.options, 'fetchBalance', 'defaultType')
|
1787
1787
|
type = self.safe_string(params, 'type', defaultType)
|
ccxt/okx.py
CHANGED
@@ -1901,7 +1901,7 @@ class okx(Exchange, ImplicitAPI):
|
|
1901
1901
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1902
1902
|
:param int [limit]: the maximum amount of trades to fetch
|
1903
1903
|
:param dict [params]: extra parameters specific to the okx api endpoint
|
1904
|
-
:returns Trade[]: a list of `trade structures <https://
|
1904
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1905
1905
|
"""
|
1906
1906
|
self.load_markets()
|
1907
1907
|
market = self.market(symbol)
|
@@ -2064,9 +2064,9 @@ class okx(Exchange, ImplicitAPI):
|
|
2064
2064
|
fetches historical funding rate prices
|
2065
2065
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2066
2066
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
2067
|
-
:param int [limit]: the maximum amount of `funding rate structures <https://
|
2067
|
+
:param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
|
2068
2068
|
:param dict [params]: extra parameters specific to the okx api endpoint
|
2069
|
-
:returns dict[]: a list of `funding rate structures <https://
|
2069
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
2070
2070
|
"""
|
2071
2071
|
if symbol is None:
|
2072
2072
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
@@ -2233,7 +2233,7 @@ class okx(Exchange, ImplicitAPI):
|
|
2233
2233
|
"""
|
2234
2234
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
2235
2235
|
:param dict [params]: extra parameters specific to the okx api endpoint
|
2236
|
-
:returns dict: a `balance structure <https://
|
2236
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
2237
2237
|
"""
|
2238
2238
|
self.load_markets()
|
2239
2239
|
marketType, query = self.handle_market_type_and_params('fetchBalance', None, params)
|
ccxt/paymium.py
CHANGED
@@ -136,7 +136,7 @@ class paymium(Exchange, ImplicitAPI):
|
|
136
136
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
137
137
|
see https://paymium.github.io/api-documentation/#tag/User/paths/~1user/get
|
138
138
|
:param dict [params]: extra parameters specific to the paymium api endpoint
|
139
|
-
:returns dict: a `balance structure <https://
|
139
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
140
140
|
"""
|
141
141
|
self.load_markets()
|
142
142
|
response = self.privateGetUser(params)
|
@@ -273,7 +273,7 @@ class paymium(Exchange, ImplicitAPI):
|
|
273
273
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
274
274
|
:param int [limit]: the maximum amount of trades to fetch
|
275
275
|
:param dict [params]: extra parameters specific to the paymium api endpoint
|
276
|
-
:returns Trade[]: a list of `trade structures <https://
|
276
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
277
277
|
"""
|
278
278
|
self.load_markets()
|
279
279
|
market = self.market(symbol)
|
ccxt/phemex.py
CHANGED
@@ -1340,7 +1340,7 @@ class phemex(Exchange, ImplicitAPI):
|
|
1340
1340
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1341
1341
|
:param int [limit]: the maximum amount of trades to fetch
|
1342
1342
|
:param dict [params]: extra parameters specific to the phemex api endpoint
|
1343
|
-
:returns Trade[]: a list of `trade structures <https://
|
1343
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1344
1344
|
"""
|
1345
1345
|
self.load_markets()
|
1346
1346
|
market = self.market(symbol)
|
@@ -1726,7 +1726,7 @@ class phemex(Exchange, ImplicitAPI):
|
|
1726
1726
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1727
1727
|
see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
|
1728
1728
|
:param dict [params]: extra parameters specific to the phemex api endpoint
|
1729
|
-
:returns dict: a `balance structure <https://
|
1729
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1730
1730
|
"""
|
1731
1731
|
self.load_markets()
|
1732
1732
|
type = None
|