ccxt 4.3.54__py2.py3-none-any.whl → 4.3.55__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/kucoin.py +3 -0
- ccxt/abstract/kucoinfutures.py +3 -0
- ccxt/ace.py +1 -1
- ccxt/alpaca.py +1 -1
- ccxt/ascendex.py +6 -4
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +1 -1
- ccxt/async_support/alpaca.py +1 -1
- ccxt/async_support/ascendex.py +6 -4
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bigone.py +1 -1
- ccxt/async_support/binance.py +6 -6
- ccxt/async_support/bingx.py +3 -3
- ccxt/async_support/bit2c.py +1 -1
- ccxt/async_support/bitbank.py +1 -1
- ccxt/async_support/bitbns.py +1 -1
- ccxt/async_support/bitfinex.py +1 -1
- ccxt/async_support/bitfinex2.py +1 -1
- ccxt/async_support/bitflyer.py +1 -1
- ccxt/async_support/bitget.py +2 -2
- ccxt/async_support/bithumb.py +1 -1
- ccxt/async_support/bitmart.py +3 -3
- ccxt/async_support/bitmex.py +1 -1
- ccxt/async_support/bitopro.py +1 -1
- ccxt/async_support/bitrue.py +1 -1
- ccxt/async_support/bitso.py +1 -1
- ccxt/async_support/bitstamp.py +1 -1
- ccxt/async_support/bitteam.py +1 -1
- ccxt/async_support/bitvavo.py +2 -2
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/blockchaincom.py +28 -28
- ccxt/async_support/blofin.py +1 -1
- ccxt/async_support/btcalpha.py +4 -11
- ccxt/async_support/btcbox.py +1 -1
- ccxt/async_support/btcmarkets.py +1 -1
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +2 -2
- ccxt/async_support/cex.py +2 -2
- ccxt/async_support/coinbase.py +33 -33
- ccxt/async_support/coinbaseexchange.py +1 -1
- ccxt/async_support/coinbaseinternational.py +1 -1
- ccxt/async_support/coincheck.py +1 -1
- ccxt/async_support/coinex.py +2 -2
- ccxt/async_support/coinlist.py +2 -2
- ccxt/async_support/coinmate.py +1 -1
- ccxt/async_support/coinmetro.py +1 -1
- ccxt/async_support/coinone.py +1 -1
- ccxt/async_support/coinsph.py +1 -1
- ccxt/async_support/coinspot.py +1 -1
- ccxt/async_support/cryptocom.py +1 -1
- ccxt/async_support/currencycom.py +1 -1
- ccxt/async_support/delta.py +2 -2
- ccxt/async_support/deribit.py +4 -4
- ccxt/async_support/digifinex.py +2 -2
- ccxt/async_support/exmo.py +2 -2
- ccxt/async_support/gate.py +2 -2
- ccxt/async_support/gemini.py +1 -1
- ccxt/async_support/hitbtc.py +1 -1
- ccxt/async_support/hollaex.py +1 -1
- ccxt/async_support/htx.py +3 -3
- ccxt/async_support/huobijp.py +1 -1
- ccxt/async_support/hyperliquid.py +2 -2
- ccxt/async_support/idex.py +1 -1
- ccxt/async_support/independentreserve.py +1 -1
- ccxt/async_support/indodax.py +1 -1
- ccxt/async_support/kraken.py +2 -2
- ccxt/async_support/kucoin.py +127 -46
- ccxt/async_support/kucoinfutures.py +1 -1
- ccxt/async_support/kuna.py +1 -1
- ccxt/async_support/latoken.py +1 -1
- ccxt/async_support/lbank.py +1 -1
- ccxt/async_support/luno.py +1 -1
- ccxt/async_support/lykke.py +1 -1
- ccxt/async_support/mercado.py +1 -1
- ccxt/async_support/mexc.py +1 -1
- ccxt/async_support/ndax.py +1 -1
- ccxt/async_support/novadax.py +1 -1
- ccxt/async_support/oceanex.py +1 -1
- ccxt/async_support/okcoin.py +1 -1
- ccxt/async_support/okx.py +3 -3
- ccxt/async_support/onetrading.py +1 -1
- ccxt/async_support/oxfun.py +2 -2
- ccxt/async_support/p2b.py +1 -1
- ccxt/async_support/paymium.py +1 -1
- ccxt/async_support/phemex.py +2 -2
- ccxt/async_support/poloniex.py +4 -3
- ccxt/async_support/poloniexfutures.py +1 -1
- ccxt/async_support/probit.py +1 -1
- ccxt/async_support/timex.py +1 -1
- ccxt/async_support/tokocrypto.py +1 -1
- ccxt/async_support/tradeogre.py +1 -1
- ccxt/async_support/upbit.py +1 -1
- ccxt/async_support/vertex.py +2 -2
- ccxt/async_support/wavesexchange.py +1 -1
- ccxt/async_support/wazirx.py +1 -1
- ccxt/async_support/whitebit.py +2 -2
- ccxt/async_support/woo.py +5 -5
- ccxt/async_support/woofipro.py +3 -3
- ccxt/async_support/yobit.py +1 -1
- ccxt/async_support/zaif.py +1 -1
- ccxt/async_support/zonda.py +1 -1
- ccxt/base/exchange.py +1 -1
- ccxt/base/types.py +4 -1
- ccxt/bigone.py +1 -1
- ccxt/binance.py +6 -6
- ccxt/bingx.py +3 -3
- ccxt/bit2c.py +1 -1
- ccxt/bitbank.py +1 -1
- ccxt/bitbns.py +1 -1
- ccxt/bitfinex.py +1 -1
- ccxt/bitfinex2.py +1 -1
- ccxt/bitflyer.py +1 -1
- ccxt/bitget.py +2 -2
- ccxt/bithumb.py +1 -1
- ccxt/bitmart.py +3 -3
- ccxt/bitmex.py +1 -1
- ccxt/bitopro.py +1 -1
- ccxt/bitrue.py +1 -1
- ccxt/bitso.py +1 -1
- ccxt/bitstamp.py +1 -1
- ccxt/bitteam.py +1 -1
- ccxt/bitvavo.py +2 -2
- ccxt/bl3p.py +1 -1
- ccxt/blockchaincom.py +28 -28
- ccxt/blofin.py +1 -1
- ccxt/btcalpha.py +4 -11
- ccxt/btcbox.py +1 -1
- ccxt/btcmarkets.py +1 -1
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +2 -2
- ccxt/cex.py +2 -2
- ccxt/coinbase.py +33 -33
- ccxt/coinbaseexchange.py +1 -1
- ccxt/coinbaseinternational.py +1 -1
- ccxt/coincheck.py +1 -1
- ccxt/coinex.py +2 -2
- ccxt/coinlist.py +2 -2
- ccxt/coinmate.py +1 -1
- ccxt/coinmetro.py +1 -1
- ccxt/coinone.py +1 -1
- ccxt/coinsph.py +1 -1
- ccxt/coinspot.py +1 -1
- ccxt/cryptocom.py +1 -1
- ccxt/currencycom.py +1 -1
- ccxt/delta.py +2 -2
- ccxt/deribit.py +4 -4
- ccxt/digifinex.py +2 -2
- ccxt/exmo.py +2 -2
- ccxt/gate.py +2 -2
- ccxt/gemini.py +1 -1
- ccxt/hitbtc.py +1 -1
- ccxt/hollaex.py +1 -1
- ccxt/htx.py +3 -3
- ccxt/huobijp.py +1 -1
- ccxt/hyperliquid.py +2 -2
- ccxt/idex.py +1 -1
- ccxt/independentreserve.py +1 -1
- ccxt/indodax.py +1 -1
- ccxt/kraken.py +2 -2
- ccxt/kucoin.py +127 -46
- ccxt/kucoinfutures.py +1 -1
- ccxt/kuna.py +1 -1
- ccxt/latoken.py +1 -1
- ccxt/lbank.py +1 -1
- ccxt/luno.py +1 -1
- ccxt/lykke.py +1 -1
- ccxt/mercado.py +1 -1
- ccxt/mexc.py +1 -1
- ccxt/ndax.py +1 -1
- ccxt/novadax.py +1 -1
- ccxt/oceanex.py +1 -1
- ccxt/okcoin.py +1 -1
- ccxt/okx.py +3 -3
- ccxt/onetrading.py +1 -1
- ccxt/oxfun.py +2 -2
- ccxt/p2b.py +1 -1
- ccxt/paymium.py +1 -1
- ccxt/phemex.py +2 -2
- ccxt/poloniex.py +4 -3
- ccxt/poloniexfutures.py +1 -1
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/binance.py +2 -2
- ccxt/pro/bitvavo.py +2 -2
- ccxt/pro/bybit.py +2 -2
- ccxt/pro/cex.py +3 -3
- ccxt/pro/coinbase.py +22 -1
- ccxt/pro/cryptocom.py +1 -1
- ccxt/pro/gate.py +2 -2
- ccxt/pro/hitbtc.py +1 -1
- ccxt/pro/kraken.py +2 -2
- ccxt/pro/kucoin.py +2 -2
- ccxt/pro/okx.py +2 -2
- ccxt/pro/oxfun.py +2 -2
- ccxt/pro/poloniex.py +1 -1
- ccxt/pro/vertex.py +1 -1
- ccxt/probit.py +1 -1
- ccxt/test/{test_async.py → tests_async.py} +27 -280
- ccxt/test/tests_helpers.py +284 -0
- ccxt/test/tests_init.py +35 -0
- ccxt/test/{test_sync.py → tests_sync.py} +27 -282
- ccxt/timex.py +1 -1
- ccxt/tokocrypto.py +1 -1
- ccxt/tradeogre.py +1 -1
- ccxt/upbit.py +1 -1
- ccxt/vertex.py +2 -2
- ccxt/wavesexchange.py +1 -1
- ccxt/wazirx.py +1 -1
- ccxt/whitebit.py +2 -2
- ccxt/woo.py +5 -5
- ccxt/woofipro.py +3 -3
- ccxt/yobit.py +1 -1
- ccxt/zaif.py +1 -1
- ccxt/zonda.py +1 -1
- {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/METADATA +5 -5
- {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/RECORD +219 -252
- ccxt/test/base/__init__.py +0 -29
- ccxt/test/base/test_account.py +0 -26
- ccxt/test/base/test_balance.py +0 -56
- ccxt/test/base/test_borrow_interest.py +0 -35
- ccxt/test/base/test_borrow_rate.py +0 -32
- ccxt/test/base/test_calculate_fee.py +0 -51
- ccxt/test/base/test_crypto.py +0 -127
- ccxt/test/base/test_currency.py +0 -76
- ccxt/test/base/test_datetime.py +0 -109
- ccxt/test/base/test_decimal_to_precision.py +0 -392
- ccxt/test/base/test_deep_extend.py +0 -68
- ccxt/test/base/test_deposit_withdrawal.py +0 -50
- ccxt/test/base/test_exchange_datetime_functions.py +0 -76
- ccxt/test/base/test_funding_rate_history.py +0 -29
- ccxt/test/base/test_last_price.py +0 -31
- ccxt/test/base/test_ledger_entry.py +0 -45
- ccxt/test/base/test_ledger_item.py +0 -48
- ccxt/test/base/test_leverage_tier.py +0 -33
- ccxt/test/base/test_liquidation.py +0 -50
- ccxt/test/base/test_margin_mode.py +0 -24
- ccxt/test/base/test_margin_modification.py +0 -35
- ccxt/test/base/test_market.py +0 -193
- ccxt/test/base/test_number.py +0 -411
- ccxt/test/base/test_ohlcv.py +0 -33
- ccxt/test/base/test_open_interest.py +0 -32
- ccxt/test/base/test_order.py +0 -64
- ccxt/test/base/test_order_book.py +0 -69
- ccxt/test/base/test_position.py +0 -60
- ccxt/test/base/test_shared_methods.py +0 -353
- ccxt/test/base/test_status.py +0 -24
- ccxt/test/base/test_throttle.py +0 -126
- ccxt/test/base/test_ticker.py +0 -92
- ccxt/test/base/test_trade.py +0 -47
- ccxt/test/base/test_trading_fee.py +0 -26
- ccxt/test/base/test_transaction.py +0 -39
- {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/WHEEL +0 -0
- {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/top_level.txt +0 -0
ccxt/async_support/coincheck.py
CHANGED
@@ -558,7 +558,7 @@ class coincheck(Exchange, ImplicitAPI):
|
|
558
558
|
:param str type: 'market' or 'limit'
|
559
559
|
:param str side: 'buy' or 'sell'
|
560
560
|
:param float amount: how much of currency you want to trade in units of base currency
|
561
|
-
:param float [price]: the price at which the order is to be
|
561
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
562
562
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
563
563
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
564
564
|
"""
|
ccxt/async_support/coinex.py
CHANGED
@@ -2032,7 +2032,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
2032
2032
|
:param str type: 'market' or 'limit'
|
2033
2033
|
:param str side: 'buy' or 'sell'
|
2034
2034
|
:param float amount: how much you want to trade in units of the base currency
|
2035
|
-
:param float [price]: the price at which the order is to be
|
2035
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
2036
2036
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2037
2037
|
:param float [params.triggerPrice]: price to trigger stop orders
|
2038
2038
|
:param float [params.stopLossPrice]: price to trigger stop loss orders
|
@@ -2622,7 +2622,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
2622
2622
|
:param str type: 'market' or 'limit'
|
2623
2623
|
:param str side: 'buy' or 'sell'
|
2624
2624
|
:param float amount: how much of the currency you want to trade in units of the base currency
|
2625
|
-
:param float [price]: the price at which the order is to be
|
2625
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
2626
2626
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2627
2627
|
:param float [params.triggerPrice]: the price to trigger stop orders
|
2628
2628
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/async_support/coinlist.py
CHANGED
@@ -1425,7 +1425,7 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1425
1425
|
:param str type: 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
|
1426
1426
|
:param str side: 'buy' or 'sell'
|
1427
1427
|
:param float amount: how much of currency you want to trade in units of base currency
|
1428
|
-
:param float [price]: the price at which the order is to be
|
1428
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1429
1429
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1430
1430
|
:param bool [params.postOnly]: if True, the order will only be posted to the order book and not executed immediately(default False)
|
1431
1431
|
:param float [params.triggerPrice]: only for the 'stop_market', 'stop_limit', 'take_market' or 'take_limit' orders(the price at which an order is triggered)
|
@@ -1491,7 +1491,7 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1491
1491
|
:param str type: 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
|
1492
1492
|
:param str side: 'buy' or 'sell'
|
1493
1493
|
:param float amount: how much of currency you want to trade in units of base currency
|
1494
|
-
:param float [price]: the price at which the order is to be
|
1494
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1495
1495
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1496
1496
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
1497
1497
|
"""
|
ccxt/async_support/coinmate.py
CHANGED
@@ -951,7 +951,7 @@ class coinmate(Exchange, ImplicitAPI):
|
|
951
951
|
:param str type: 'market' or 'limit'
|
952
952
|
:param str side: 'buy' or 'sell'
|
953
953
|
:param float amount: how much of currency you want to trade in units of base currency
|
954
|
-
:param float [price]: the price at which the order is to be
|
954
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
955
955
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
956
956
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
957
957
|
"""
|
ccxt/async_support/coinmetro.py
CHANGED
@@ -1140,7 +1140,7 @@ class coinmetro(Exchange, ImplicitAPI):
|
|
1140
1140
|
:param str type: 'market' or 'limit'
|
1141
1141
|
:param str side: 'buy' or 'sell'
|
1142
1142
|
:param float amount: how much of currency you want to trade in units of base currency
|
1143
|
-
:param float [price]: the price at which the order is to be
|
1143
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1144
1144
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1145
1145
|
:param float [params.cost]: the quote quantity that can be used alternative for the amount in market orders
|
1146
1146
|
:param str [params.timeInForce]: "GTC", "IOC", "FOK", "GTD"
|
ccxt/async_support/coinone.py
CHANGED
@@ -729,7 +729,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
729
729
|
:param str type: must be 'limit'
|
730
730
|
:param str side: 'buy' or 'sell'
|
731
731
|
:param float amount: how much of currency you want to trade in units of base currency
|
732
|
-
:param float [price]: the price at which the order is to be
|
732
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
733
733
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
734
734
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
735
735
|
"""
|
ccxt/async_support/coinsph.py
CHANGED
@@ -1066,7 +1066,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
1066
1066
|
:param str type: 'market', 'limit', 'stop_loss', 'take_profit', 'stop_loss_limit', 'take_profit_limit' or 'limit_maker'
|
1067
1067
|
:param str side: 'buy' or 'sell'
|
1068
1068
|
:param float amount: how much of currency you want to trade in units of base currency
|
1069
|
-
:param float [price]: the price at which the order is to be
|
1069
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1070
1070
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1071
1071
|
:param float [params.cost]: the quote quantity that can be used alternative for the amount for market buy orders
|
1072
1072
|
:param bool [params.test]: set to True to test an order, no order will be created but the request will be validated
|
ccxt/async_support/coinspot.py
CHANGED
@@ -475,7 +475,7 @@ class coinspot(Exchange, ImplicitAPI):
|
|
475
475
|
:param str type: must be 'limit'
|
476
476
|
:param str side: 'buy' or 'sell'
|
477
477
|
:param float amount: how much of currency you want to trade in units of base currency
|
478
|
-
:param float [price]: the price at which the order is to be
|
478
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
479
479
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
480
480
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
481
481
|
"""
|
ccxt/async_support/cryptocom.py
CHANGED
@@ -1084,7 +1084,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1084
1084
|
:param str type: 'market', 'limit', 'stop_loss', 'stop_limit', 'take_profit', 'take_profit_limit'
|
1085
1085
|
:param str side: 'buy' or 'sell'
|
1086
1086
|
:param float amount: how much you want to trade in units of base currency
|
1087
|
-
:param float [price]: the price at which the order is to be
|
1087
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1088
1088
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1089
1089
|
:param str [params.timeInForce]: 'GTC', 'IOC', 'FOK' or 'PO'
|
1090
1090
|
:param str [params.ref_price_type]: 'MARK_PRICE', 'INDEX_PRICE', 'LAST_PRICE' which trigger price type to use, default is MARK_PRICE
|
@@ -1239,7 +1239,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
1239
1239
|
:param str type: 'market' or 'limit'
|
1240
1240
|
:param str side: 'buy' or 'sell'
|
1241
1241
|
:param float amount: how much of currency you want to trade in units of base currency
|
1242
|
-
:param float [price]: the price at which the order is to be
|
1242
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1243
1243
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1244
1244
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
1245
1245
|
"""
|
ccxt/async_support/delta.py
CHANGED
@@ -1750,7 +1750,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1750
1750
|
:param str type: 'market' or 'limit'
|
1751
1751
|
:param str side: 'buy' or 'sell'
|
1752
1752
|
:param float amount: how much of currency you want to trade in units of base currency
|
1753
|
-
:param float [price]: the price at which the order is to be
|
1753
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1754
1754
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1755
1755
|
:param bool [params.reduceOnly]: *contract only* indicates if self order is to reduce the size of a position
|
1756
1756
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1828,7 +1828,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1828
1828
|
:param str type: 'market' or 'limit'
|
1829
1829
|
:param str side: 'buy' or 'sell'
|
1830
1830
|
:param float amount: how much of the currency you want to trade in units of the base currency
|
1831
|
-
:param float [price]: the price at which the order is to be
|
1831
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency
|
1832
1832
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1833
1833
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
1834
1834
|
"""
|
ccxt/async_support/deribit.py
CHANGED
@@ -1798,8 +1798,8 @@ class deribit(Exchange, ImplicitAPI):
|
|
1798
1798
|
:param str symbol: unified symbol of the market to create an order in
|
1799
1799
|
:param str type: 'market' or 'limit'
|
1800
1800
|
:param str side: 'buy' or 'sell'
|
1801
|
-
:param float amount: how much you want to trade in units of the base currency. For
|
1802
|
-
:param float [price]: the price at which the order is to be
|
1801
|
+
:param float amount: how much you want to trade in units of the base currency. For perpetual and inverse futures the amount is in USD units. For options it is in the underlying assets base currency.
|
1802
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1803
1803
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1804
1804
|
:param str [params.trigger]: the trigger type 'index_price', 'mark_price', or 'last_price', default is 'last_price'
|
1805
1805
|
:param float [params.trailingAmount]: the quote amount to trail away from the current market price
|
@@ -1955,8 +1955,8 @@ class deribit(Exchange, ImplicitAPI):
|
|
1955
1955
|
:param str [symbol]: unified symbol of the market to edit an order in
|
1956
1956
|
:param str [type]: 'market' or 'limit'
|
1957
1957
|
:param str [side]: 'buy' or 'sell'
|
1958
|
-
:param float amount: how much you want to trade in units of the base currency
|
1959
|
-
:param float [price]: the price at which the order is to be
|
1958
|
+
:param float amount: how much you want to trade in units of the base currency. For perpetual and inverse futures the amount is in USD units. For options it is in the underlying assets base currency.
|
1959
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1960
1960
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1961
1961
|
:param float [params.trailingAmount]: the quote amount to trail away from the current market price
|
1962
1962
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/async_support/digifinex.py
CHANGED
@@ -1511,7 +1511,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1511
1511
|
:param str type: 'market' or 'limit'
|
1512
1512
|
:param str side: 'buy' or 'sell'
|
1513
1513
|
:param float amount: how much you want to trade in units of the base currency, spot market orders use the quote currency, swap requires the number of contracts
|
1514
|
-
:param float [price]: the price at which the order is to be
|
1514
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1515
1515
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1516
1516
|
:param str [params.timeInForce]: "GTC", "IOC", "FOK", or "PO"
|
1517
1517
|
:param bool [params.postOnly]: True or False
|
@@ -1647,7 +1647,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1647
1647
|
:param str type: 'market' or 'limit'
|
1648
1648
|
:param str side: 'buy' or 'sell'
|
1649
1649
|
:param float amount: how much you want to trade in units of the base currency, spot market orders use the quote currency, swap requires the number of contracts
|
1650
|
-
:param float [price]: the price at which the order is to be
|
1650
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1651
1651
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1652
1652
|
:returns dict: request to be sent to the exchange
|
1653
1653
|
"""
|
ccxt/async_support/exmo.py
CHANGED
@@ -1329,7 +1329,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
1329
1329
|
:param str type: 'market' or 'limit'
|
1330
1330
|
:param str side: 'buy' or 'sell'
|
1331
1331
|
:param float amount: how much of currency you want to trade in units of base currency
|
1332
|
-
:param float [price]: the price at which the order is to be
|
1332
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1333
1333
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1334
1334
|
:param float [params.stopPrice]: the price at which a trigger order is triggered at
|
1335
1335
|
:param str [params.timeInForce]: *spot only* 'fok', 'ioc' or 'post_only'
|
@@ -1912,7 +1912,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
1912
1912
|
:param str type: not used by exmo editOrder
|
1913
1913
|
:param str side: not used by exmo editOrder
|
1914
1914
|
:param float [amount]: how much of the currency you want to trade in units of the base currency
|
1915
|
-
:param float [price]: the price at which the order is to be
|
1915
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1916
1916
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1917
1917
|
:param float [params.triggerPrice]: stop price for stop-market and stop-limit orders
|
1918
1918
|
:param str params['marginMode']: must be set to isolated
|
ccxt/async_support/gate.py
CHANGED
@@ -3556,7 +3556,7 @@ class gate(Exchange, ImplicitAPI):
|
|
3556
3556
|
:param str type: 'limit' or 'market' *"market" is contract only*
|
3557
3557
|
:param str side: 'buy' or 'sell'
|
3558
3558
|
:param float amount: the amount of currency to trade
|
3559
|
-
:param float [price]:
|
3559
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
3560
3560
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
3561
3561
|
:param float [params.stopPrice]: The price at which a trigger order is triggered at
|
3562
3562
|
:param str [params.timeInForce]: "GTC", "IOC", or "PO"
|
@@ -3981,7 +3981,7 @@ class gate(Exchange, ImplicitAPI):
|
|
3981
3981
|
:param str type: 'market' or 'limit'
|
3982
3982
|
:param str side: 'buy' or 'sell'
|
3983
3983
|
:param float amount: how much of the currency you want to trade in units of the base currency
|
3984
|
-
:param float [price]: the price at which the order is to be
|
3984
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
3985
3985
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
3986
3986
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
3987
3987
|
"""
|
ccxt/async_support/gemini.py
CHANGED
@@ -1383,7 +1383,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1383
1383
|
:param str type: must be 'limit'
|
1384
1384
|
:param str side: 'buy' or 'sell'
|
1385
1385
|
:param float amount: how much of currency you want to trade in units of base currency
|
1386
|
-
:param float [price]: the price at which the order is to be
|
1386
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1387
1387
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1388
1388
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
1389
1389
|
"""
|
ccxt/async_support/hitbtc.py
CHANGED
@@ -2132,7 +2132,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
2132
2132
|
:param str type: 'market' or 'limit'
|
2133
2133
|
:param str side: 'buy' or 'sell'
|
2134
2134
|
:param float amount: how much of currency you want to trade in units of base currency
|
2135
|
-
:param float [price]: the price at which the order is to be
|
2135
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
2136
2136
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2137
2137
|
:param str [params.marginMode]: 'cross' or 'isolated' only 'isolated' is supported for spot-margin, swap supports both, default is 'cross'
|
2138
2138
|
:param bool [params.margin]: True for creating a margin order
|
ccxt/async_support/hollaex.py
CHANGED
@@ -1105,7 +1105,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1105
1105
|
:param str type: 'market' or 'limit'
|
1106
1106
|
:param str side: 'buy' or 'sell'
|
1107
1107
|
:param float amount: how much of currency you want to trade in units of base currency
|
1108
|
-
:param float [price]: the price at which the order is to be
|
1108
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1109
1109
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1110
1110
|
:param float [params.triggerPrice]: the price at which a trigger order is triggered at
|
1111
1111
|
:param bool [params.postOnly]: if True, the order will only be posted to the order book and not executed immediately
|
ccxt/async_support/htx.py
CHANGED
@@ -4806,7 +4806,7 @@ class htx(Exchange, ImplicitAPI):
|
|
4806
4806
|
:param str type: 'market' or 'limit'
|
4807
4807
|
:param str side: 'buy' or 'sell'
|
4808
4808
|
:param float amount: how much you want to trade in units of the base currency
|
4809
|
-
:param float [price]: the price at which the order is to be
|
4809
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
4810
4810
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
4811
4811
|
:param str [params.timeInForce]: supports 'IOC' and 'FOK'
|
4812
4812
|
:param float [params.cost]: the quote quantity that can be used alternative for the amount for market buy orders
|
@@ -4910,7 +4910,7 @@ class htx(Exchange, ImplicitAPI):
|
|
4910
4910
|
:param str type: 'market' or 'limit'
|
4911
4911
|
:param str side: 'buy' or 'sell'
|
4912
4912
|
:param float amount: how much you want to trade in units of the base currency
|
4913
|
-
:param float [price]: the price at which the order is to be
|
4913
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
4914
4914
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
4915
4915
|
:param str [params.timeInForce]: supports 'IOC' and 'FOK'
|
4916
4916
|
:param float [params.trailingPercent]: *contract only* the percent to trail away from the current market price
|
@@ -4999,7 +4999,7 @@ class htx(Exchange, ImplicitAPI):
|
|
4999
4999
|
:param str type: 'market' or 'limit'
|
5000
5000
|
:param str side: 'buy' or 'sell'
|
5001
5001
|
:param float amount: how much you want to trade in units of the base currency
|
5002
|
-
:param float [price]: the price at which the order is to be
|
5002
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
5003
5003
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
5004
5004
|
:param float [params.stopPrice]: the price a trigger order is triggered at
|
5005
5005
|
:param str [params.triggerType]: *contract trigger orders only* ge: greater than or equal to, le: less than or equal to
|
ccxt/async_support/huobijp.py
CHANGED
@@ -1327,7 +1327,7 @@ class huobijp(Exchange, ImplicitAPI):
|
|
1327
1327
|
:param str type: 'market' or 'limit'
|
1328
1328
|
:param str side: 'buy' or 'sell'
|
1329
1329
|
:param float amount: how much of currency you want to trade in units of base currency
|
1330
|
-
:param float [price]: the price at which the order is to be
|
1330
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1331
1331
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1332
1332
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
1333
1333
|
"""
|
@@ -996,7 +996,7 @@ class hyperliquid(Exchange, ImplicitAPI):
|
|
996
996
|
:param str type: 'market' or 'limit'
|
997
997
|
:param str side: 'buy' or 'sell'
|
998
998
|
:param float amount: how much of currency you want to trade in units of base currency
|
999
|
-
:param float [price]: the price at which the order is to be
|
999
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1000
1000
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1001
1001
|
:param str [params.timeInForce]: 'Gtc', 'Ioc', 'Alo'
|
1002
1002
|
:param bool [params.postOnly]: True or False whether the order is post-only
|
@@ -1368,7 +1368,7 @@ class hyperliquid(Exchange, ImplicitAPI):
|
|
1368
1368
|
:param str type: 'market' or 'limit'
|
1369
1369
|
:param str side: 'buy' or 'sell'
|
1370
1370
|
:param float amount: how much of currency you want to trade in units of base currency
|
1371
|
-
:param float [price]: the price at which the order is to be
|
1371
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1372
1372
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1373
1373
|
:param str [params.timeInForce]: 'Gtc', 'Ioc', 'Alo'
|
1374
1374
|
:param bool [params.postOnly]: True or False whether the order is post-only
|
ccxt/async_support/idex.py
CHANGED
@@ -1117,7 +1117,7 @@ class idex(Exchange, ImplicitAPI):
|
|
1117
1117
|
:param str type: 'market' or 'limit'
|
1118
1118
|
:param str side: 'buy' or 'sell'
|
1119
1119
|
:param float amount: how much of currency you want to trade in units of base currency
|
1120
|
-
:param float [price]: the price at which the order is to be
|
1120
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1121
1121
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1122
1122
|
:param bool [params.test]: set to True to test an order, no order will be created but the request will be validated
|
1123
1123
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -653,7 +653,7 @@ class independentreserve(Exchange, ImplicitAPI):
|
|
653
653
|
:param str type: 'market' or 'limit'
|
654
654
|
:param str side: 'buy' or 'sell'
|
655
655
|
:param float amount: how much of currency you want to trade in units of base currency
|
656
|
-
:param float [price]: the price at which the order is to be
|
656
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
657
657
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
658
658
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
659
659
|
"""
|
ccxt/async_support/indodax.py
CHANGED
@@ -797,7 +797,7 @@ class indodax(Exchange, ImplicitAPI):
|
|
797
797
|
:param str type: 'market' or 'limit'
|
798
798
|
:param str side: 'buy' or 'sell'
|
799
799
|
:param float amount: how much of currency you want to trade in units of base currency
|
800
|
-
:param float [price]: the price at which the order is to be
|
800
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
801
801
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
802
802
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
803
803
|
"""
|
ccxt/async_support/kraken.py
CHANGED
@@ -1343,7 +1343,7 @@ class kraken(Exchange, ImplicitAPI):
|
|
1343
1343
|
:param str type: 'market' or 'limit'
|
1344
1344
|
:param str side: 'buy' or 'sell'
|
1345
1345
|
:param float amount: how much of currency you want to trade in units of base currency
|
1346
|
-
:param float [price]: the price at which the order is to be
|
1346
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1347
1347
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1348
1348
|
:param bool [params.postOnly]: if True, the order will only be posted to the order book and not executed immediately
|
1349
1349
|
:param bool [params.reduceOnly]: *margin only* indicates if self order is to reduce the size of a position
|
@@ -1737,7 +1737,7 @@ class kraken(Exchange, ImplicitAPI):
|
|
1737
1737
|
:param str type: 'market' or 'limit'
|
1738
1738
|
:param str side: 'buy' or 'sell'
|
1739
1739
|
:param float amount: how much of the currency you want to trade in units of the base currency
|
1740
|
-
:param float [price]: the price at which the order is to be
|
1740
|
+
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
1741
1741
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1742
1742
|
:param float [params.stopLossPrice]: *margin only* the price that a stop loss order is triggered at
|
1743
1743
|
:param float [params.takeProfitPrice]: *margin only* the price that a take profit order is triggered at
|