ccxt 4.1.19__py2.py3-none-any.whl → 4.1.22__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ccxt/__init__.py +1 -1
- ccxt/abstract/okcoin.py +70 -206
- ccxt/ace.py +12 -12
- ccxt/ascendex.py +5 -5
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +12 -12
- ccxt/async_support/ascendex.py +5 -5
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bigone.py +2 -2
- ccxt/async_support/binance.py +184 -184
- ccxt/async_support/bingx.py +48 -48
- ccxt/async_support/bitbank.py +14 -14
- ccxt/async_support/bitbns.py +7 -7
- ccxt/async_support/bitfinex.py +2 -2
- ccxt/async_support/bitfinex2.py +35 -35
- ccxt/async_support/bitflyer.py +17 -17
- ccxt/async_support/bitforex.py +9 -9
- ccxt/async_support/bitget.py +433 -215
- ccxt/async_support/bitmart.py +39 -39
- ccxt/async_support/bitmex.py +7 -7
- ccxt/async_support/bitopro.py +1 -1
- ccxt/async_support/bitpanda.py +1 -1
- ccxt/async_support/bitrue.py +2 -2
- ccxt/async_support/bitso.py +2 -2
- ccxt/async_support/bitstamp.py +3 -3
- ccxt/async_support/bitvavo.py +2 -2
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/btcalpha.py +7 -7
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +58 -58
- ccxt/async_support/cex.py +1 -1
- ccxt/async_support/coinbase.py +13 -13
- ccxt/async_support/coinbasepro.py +15 -15
- ccxt/async_support/coinex.py +19 -19
- ccxt/async_support/coinone.py +2 -2
- ccxt/async_support/coinsph.py +4 -4
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +28 -28
- ccxt/async_support/currencycom.py +1 -1
- ccxt/async_support/delta.py +26 -26
- ccxt/async_support/deribit.py +9 -9
- ccxt/async_support/digifinex.py +38 -38
- ccxt/async_support/exmo.py +18 -18
- ccxt/async_support/gate.py +59 -59
- ccxt/async_support/gemini.py +4 -4
- ccxt/async_support/hitbtc.py +6 -6
- ccxt/async_support/hollaex.py +2 -2
- ccxt/async_support/huobi.py +70 -70
- ccxt/async_support/indodax.py +1 -1
- ccxt/async_support/kraken.py +33 -33
- ccxt/async_support/krakenfutures.py +6 -5
- ccxt/async_support/kucoin.py +74 -74
- ccxt/async_support/kucoinfutures.py +8 -8
- ccxt/async_support/latoken.py +14 -14
- ccxt/async_support/lbank2.py +33 -33
- ccxt/async_support/mexc.py +22 -22
- ccxt/async_support/ndax.py +1 -1
- ccxt/async_support/novadax.py +22 -22
- ccxt/async_support/oceanex.py +18 -18
- ccxt/async_support/okcoin.py +1950 -2758
- ccxt/async_support/okx.py +73 -73
- ccxt/async_support/paymium.py +11 -11
- ccxt/async_support/phemex.py +26 -26
- ccxt/async_support/poloniex.py +30 -30
- ccxt/async_support/poloniexfutures.py +25 -25
- ccxt/async_support/probit.py +21 -21
- ccxt/async_support/tokocrypto.py +22 -22
- ccxt/async_support/upbit.py +21 -21
- ccxt/async_support/wavesexchange.py +2 -2
- ccxt/async_support/wazirx.py +14 -14
- ccxt/async_support/whitebit.py +6 -6
- ccxt/async_support/woo.py +21 -21
- ccxt/async_support/yobit.py +16 -16
- ccxt/async_support/zaif.py +10 -10
- ccxt/async_support/zonda.py +15 -15
- ccxt/base/exchange.py +2 -1
- ccxt/bigone.py +2 -2
- ccxt/binance.py +184 -184
- ccxt/bingx.py +48 -48
- ccxt/bitbank.py +14 -14
- ccxt/bitbns.py +7 -7
- ccxt/bitfinex.py +2 -2
- ccxt/bitfinex2.py +35 -35
- ccxt/bitflyer.py +17 -17
- ccxt/bitforex.py +9 -9
- ccxt/bitget.py +433 -215
- ccxt/bitmart.py +39 -39
- ccxt/bitmex.py +7 -7
- ccxt/bitopro.py +1 -1
- ccxt/bitpanda.py +1 -1
- ccxt/bitrue.py +2 -2
- ccxt/bitso.py +2 -2
- ccxt/bitstamp.py +3 -3
- ccxt/bitvavo.py +2 -2
- ccxt/bl3p.py +1 -1
- ccxt/btcalpha.py +7 -7
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +58 -58
- ccxt/cex.py +1 -1
- ccxt/coinbase.py +13 -13
- ccxt/coinbasepro.py +15 -15
- ccxt/coinex.py +19 -19
- ccxt/coinone.py +2 -2
- ccxt/coinsph.py +4 -4
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +28 -28
- ccxt/currencycom.py +1 -1
- ccxt/delta.py +26 -26
- ccxt/deribit.py +9 -9
- ccxt/digifinex.py +38 -38
- ccxt/exmo.py +18 -18
- ccxt/gate.py +59 -59
- ccxt/gemini.py +4 -4
- ccxt/hitbtc.py +6 -6
- ccxt/hollaex.py +2 -2
- ccxt/huobi.py +70 -70
- ccxt/indodax.py +1 -1
- ccxt/kraken.py +33 -33
- ccxt/krakenfutures.py +6 -5
- ccxt/kucoin.py +74 -74
- ccxt/kucoinfutures.py +8 -8
- ccxt/latoken.py +14 -14
- ccxt/lbank2.py +33 -33
- ccxt/mexc.py +22 -22
- ccxt/ndax.py +1 -1
- ccxt/novadax.py +22 -22
- ccxt/oceanex.py +18 -18
- ccxt/okcoin.py +1950 -2758
- ccxt/okx.py +73 -73
- ccxt/paymium.py +11 -11
- ccxt/phemex.py +26 -26
- ccxt/poloniex.py +30 -30
- ccxt/poloniexfutures.py +25 -25
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/ascendex.py +1 -1
- ccxt/pro/binance.py +9 -9
- ccxt/pro/bingx.py +12 -12
- ccxt/pro/bitget.py +2 -2
- ccxt/pro/bitpanda.py +7 -7
- ccxt/pro/bitrue.py +2 -2
- ccxt/pro/blockchaincom.py +6 -6
- ccxt/pro/bybit.py +15 -15
- ccxt/pro/cex.py +8 -8
- ccxt/pro/coinbase.py +6 -6
- ccxt/pro/coinbasepro.py +1 -1
- ccxt/pro/coinex.py +8 -8
- ccxt/pro/cryptocom.py +12 -12
- ccxt/pro/deribit.py +7 -7
- ccxt/pro/gemini.py +4 -4
- ccxt/pro/hitbtc.py +17 -17
- ccxt/pro/huobi.py +3 -3
- ccxt/pro/kraken.py +6 -6
- ccxt/pro/krakenfutures.py +10 -10
- ccxt/pro/kucoin.py +85 -42
- ccxt/pro/kucoinfutures.py +5 -5
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +7 -7
- ccxt/pro/okx.py +16 -15
- ccxt/pro/phemex.py +15 -15
- ccxt/pro/poloniex.py +9 -9
- ccxt/pro/poloniexfutures.py +5 -5
- ccxt/pro/probit.py +5 -5
- ccxt/pro/wazirx.py +5 -5
- ccxt/pro/woo.py +1 -1
- ccxt/probit.py +21 -21
- ccxt/test/base/test_shared_methods.py +1 -1
- ccxt/tokocrypto.py +22 -22
- ccxt/upbit.py +21 -21
- ccxt/wavesexchange.py +2 -2
- ccxt/wazirx.py +14 -14
- ccxt/whitebit.py +6 -6
- ccxt/woo.py +21 -21
- ccxt/yobit.py +16 -16
- ccxt/zaif.py +10 -10
- ccxt/zonda.py +15 -15
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/METADATA +5 -9
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/RECORD +179 -179
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/WHEEL +0 -0
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/top_level.txt +0 -0
ccxt/bitmart.py
CHANGED
@@ -1188,7 +1188,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
1188
1188
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
1189
1189
|
"""
|
1190
1190
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
1191
|
-
see https://developer-pro.bitmart.com/en/spot/#get-ticker-of-all-pairs-v2
|
1191
|
+
:see: https://developer-pro.bitmart.com/en/spot/#get-ticker-of-all-pairs-v2
|
1192
1192
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
1193
1193
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
1194
1194
|
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -1218,8 +1218,8 @@ class bitmart(Exchange, ImplicitAPI):
|
|
1218
1218
|
def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
1219
1219
|
"""
|
1220
1220
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1221
|
-
see https://developer-pro.bitmart.com/en/spot/#get-depth-v3
|
1222
|
-
see https://developer-pro.bitmart.com/en/futures/#get-market-depth
|
1221
|
+
:see: https://developer-pro.bitmart.com/en/spot/#get-depth-v3
|
1222
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-market-depth
|
1223
1223
|
:param str symbol: unified symbol of the market to fetch the order book for
|
1224
1224
|
:param int [limit]: the maximum amount of order book entries to return
|
1225
1225
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
@@ -1478,8 +1478,8 @@ class bitmart(Exchange, ImplicitAPI):
|
|
1478
1478
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1479
1479
|
"""
|
1480
1480
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1481
|
-
see https://developer-pro.bitmart.com/en/spot/#get-k-line
|
1482
|
-
see https://developer-pro.bitmart.com/en/futures/#get-k-line
|
1481
|
+
:see: https://developer-pro.bitmart.com/en/spot/#get-k-line
|
1482
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-k-line
|
1483
1483
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1484
1484
|
:param str timeframe: the length of time each candle represents
|
1485
1485
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1561,8 +1561,8 @@ class bitmart(Exchange, ImplicitAPI):
|
|
1561
1561
|
|
1562
1562
|
def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1563
1563
|
"""
|
1564
|
-
see https://developer-pro.bitmart.com/en/spot/#account-trade-list-v4-signed
|
1565
|
-
see https://developer-pro.bitmart.com/en/futures/#get-order-trade-keyed
|
1564
|
+
:see: https://developer-pro.bitmart.com/en/spot/#account-trade-list-v4-signed
|
1565
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-order-trade-keyed
|
1566
1566
|
fetch all trades made by the user
|
1567
1567
|
:param str symbol: unified market symbol
|
1568
1568
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1663,7 +1663,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
1663
1663
|
|
1664
1664
|
def fetch_order_trades(self, id: str, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1665
1665
|
"""
|
1666
|
-
see https://developer-pro.bitmart.com/en/spot/#order-trade-list-v4-signed
|
1666
|
+
:see: https://developer-pro.bitmart.com/en/spot/#order-trade-list-v4-signed
|
1667
1667
|
fetch all the trades made from a single order
|
1668
1668
|
:param str id: order id
|
1669
1669
|
:param str symbol: unified market symbol
|
@@ -1729,10 +1729,10 @@ class bitmart(Exchange, ImplicitAPI):
|
|
1729
1729
|
def fetch_balance(self, params={}):
|
1730
1730
|
"""
|
1731
1731
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1732
|
-
see https://developer-pro.bitmart.com/en/spot/#get-spot-wallet-balance
|
1733
|
-
see https://developer-pro.bitmart.com/en/futures/#get-contract-assets-detail
|
1734
|
-
see https://developer-pro.bitmart.com/en/spot/#get-account-balance
|
1735
|
-
see https://developer-pro.bitmart.com/en/spot/#get-margin-account-details-isolated
|
1732
|
+
:see: https://developer-pro.bitmart.com/en/spot/#get-spot-wallet-balance
|
1733
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-contract-assets-detail
|
1734
|
+
:see: https://developer-pro.bitmart.com/en/spot/#get-account-balance
|
1735
|
+
:see: https://developer-pro.bitmart.com/en/spot/#get-margin-account-details-isolated
|
1736
1736
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
1737
1737
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1738
1738
|
"""
|
@@ -2044,8 +2044,8 @@ class bitmart(Exchange, ImplicitAPI):
|
|
2044
2044
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
2045
2045
|
"""
|
2046
2046
|
create a trade order
|
2047
|
-
see https://developer-pro.bitmart.com/en/spot/#place-spot-order
|
2048
|
-
see https://developer-pro.bitmart.com/en/spot/#place-margin-order
|
2047
|
+
:see: https://developer-pro.bitmart.com/en/spot/#place-spot-order
|
2048
|
+
:see: https://developer-pro.bitmart.com/en/spot/#place-margin-order
|
2049
2049
|
:param str symbol: unified symbol of the market to create an order in
|
2050
2050
|
:param str type: 'market' or 'limit'
|
2051
2051
|
:param str side: 'buy' or 'sell'
|
@@ -2130,9 +2130,9 @@ class bitmart(Exchange, ImplicitAPI):
|
|
2130
2130
|
|
2131
2131
|
def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
2132
2132
|
"""
|
2133
|
-
see https://developer-pro.bitmart.com/en/futures/#cancel-order-signed
|
2134
|
-
see https://developer-pro.bitmart.com/en/spot/#cancel-order-v3-signed
|
2135
|
-
see https://developer-pro.bitmart.com/en/futures/#cancel-plan-order-signed
|
2133
|
+
:see: https://developer-pro.bitmart.com/en/futures/#cancel-order-signed
|
2134
|
+
:see: https://developer-pro.bitmart.com/en/spot/#cancel-order-v3-signed
|
2135
|
+
:see: https://developer-pro.bitmart.com/en/futures/#cancel-plan-order-signed
|
2136
2136
|
cancels an open order
|
2137
2137
|
:param str id: order id
|
2138
2138
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -2206,8 +2206,8 @@ class bitmart(Exchange, ImplicitAPI):
|
|
2206
2206
|
def cancel_all_orders(self, symbol: Optional[str] = None, params={}):
|
2207
2207
|
"""
|
2208
2208
|
cancel all open orders in a market
|
2209
|
-
see https://developer-pro.bitmart.com/en/spot/#cancel-all-orders
|
2210
|
-
see https://developer-pro.bitmart.com/en/futures/#cancel-all-orders-signed
|
2209
|
+
:see: https://developer-pro.bitmart.com/en/spot/#cancel-all-orders
|
2210
|
+
:see: https://developer-pro.bitmart.com/en/futures/#cancel-all-orders-signed
|
2211
2211
|
:param str symbol: unified market symbol of the market to cancel orders in
|
2212
2212
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
2213
2213
|
:param str [params.side]: *spot only* 'buy' or 'sell'
|
@@ -2302,8 +2302,8 @@ class bitmart(Exchange, ImplicitAPI):
|
|
2302
2302
|
|
2303
2303
|
def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2304
2304
|
"""
|
2305
|
-
see https://developer-pro.bitmart.com/en/spot/#current-open-orders-v4-signed
|
2306
|
-
see https://developer-pro.bitmart.com/en/futures/#get-all-open-orders-keyed
|
2305
|
+
:see: https://developer-pro.bitmart.com/en/spot/#current-open-orders-v4-signed
|
2306
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-all-open-orders-keyed
|
2307
2307
|
fetch all unfilled currently open orders
|
2308
2308
|
:param str symbol: unified market symbol
|
2309
2309
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -2401,7 +2401,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
2401
2401
|
|
2402
2402
|
def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2403
2403
|
"""
|
2404
|
-
see https://developer-pro.bitmart.com/en/spot/#account-orders-v4-signed
|
2404
|
+
:see: https://developer-pro.bitmart.com/en/spot/#account-orders-v4-signed
|
2405
2405
|
fetches information on multiple closed orders made by the user
|
2406
2406
|
:param str symbol: unified market symbol of the market orders were made in
|
2407
2407
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -2445,9 +2445,9 @@ class bitmart(Exchange, ImplicitAPI):
|
|
2445
2445
|
def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
2446
2446
|
"""
|
2447
2447
|
fetches information on an order made by the user
|
2448
|
-
see https://developer-pro.bitmart.com/en/spot/#query-order-by-id-v4-signed
|
2449
|
-
see https://developer-pro.bitmart.com/en/spot/#query-order-by-clientorderid-v4-signed
|
2450
|
-
see https://developer-pro.bitmart.com/en/futures/#get-order-detail-keyed
|
2448
|
+
:see: https://developer-pro.bitmart.com/en/spot/#query-order-by-id-v4-signed
|
2449
|
+
:see: https://developer-pro.bitmart.com/en/spot/#query-order-by-clientorderid-v4-signed
|
2450
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-order-detail-keyed
|
2451
2451
|
:param str id: the id of the order
|
2452
2452
|
:param str symbol: unified symbol of the market the order was made in
|
2453
2453
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
@@ -2871,7 +2871,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
2871
2871
|
def repay_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
|
2872
2872
|
"""
|
2873
2873
|
repay borrowed margin and interest
|
2874
|
-
see https://developer-pro.bitmart.com/en/spot/#margin-repay-isolated
|
2874
|
+
:see: https://developer-pro.bitmart.com/en/spot/#margin-repay-isolated
|
2875
2875
|
:param str code: unified currency code of the currency to repay
|
2876
2876
|
:param str amount: the amount to repay
|
2877
2877
|
:param str symbol: unified market symbol
|
@@ -2911,7 +2911,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
2911
2911
|
def borrow_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
|
2912
2912
|
"""
|
2913
2913
|
create a loan to borrow margin
|
2914
|
-
see https://developer-pro.bitmart.com/en/spot/#margin-borrow-isolated
|
2914
|
+
:see: https://developer-pro.bitmart.com/en/spot/#margin-borrow-isolated
|
2915
2915
|
:param str code: unified currency code of the currency to borrow
|
2916
2916
|
:param str amount: the amount to borrow
|
2917
2917
|
:param str symbol: unified market symbol
|
@@ -2976,7 +2976,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
2976
2976
|
def fetch_borrow_rate(self, code: str, params={}):
|
2977
2977
|
"""
|
2978
2978
|
fetch the rate of interest to borrow a currency for margin trading
|
2979
|
-
see https://developer-pro.bitmart.com/en/spot/#get-trading-pair-borrowing-rate-and-amount
|
2979
|
+
:see: https://developer-pro.bitmart.com/en/spot/#get-trading-pair-borrowing-rate-and-amount
|
2980
2980
|
:param str code: unified currency code
|
2981
2981
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
2982
2982
|
:returns dict: a `borrow rate structure <https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure>`
|
@@ -3070,7 +3070,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3070
3070
|
def fetch_borrow_rates(self, params={}):
|
3071
3071
|
"""
|
3072
3072
|
fetch the borrow interest rates of all currencies, currently only works for isolated margin
|
3073
|
-
see https://developer-pro.bitmart.com/en/spot/#get-trading-pair-borrowing-rate-and-amount
|
3073
|
+
:see: https://developer-pro.bitmart.com/en/spot/#get-trading-pair-borrowing-rate-and-amount
|
3074
3074
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
3075
3075
|
:returns dict: a list of `borrow rate structures <https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure>`
|
3076
3076
|
"""
|
@@ -3154,8 +3154,8 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3154
3154
|
def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
|
3155
3155
|
"""
|
3156
3156
|
transfer currency internally between wallets on the same account, currently only supports transfer between spot and margin
|
3157
|
-
see https://developer-pro.bitmart.com/en/spot/#margin-asset-transfer-signed
|
3158
|
-
see https://developer-pro.bitmart.com/en/futures/#transfer-signed
|
3157
|
+
:see: https://developer-pro.bitmart.com/en/spot/#margin-asset-transfer-signed
|
3158
|
+
:see: https://developer-pro.bitmart.com/en/futures/#transfer-signed
|
3159
3159
|
:param str code: unified currency code
|
3160
3160
|
:param float amount: amount to transfer
|
3161
3161
|
:param str fromAccount: account to transfer from
|
@@ -3284,7 +3284,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3284
3284
|
def fetch_transfers(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
3285
3285
|
"""
|
3286
3286
|
fetch a history of internal transfers made on an account, only transfers between spot and swap are supported
|
3287
|
-
see https://developer-pro.bitmart.com/en/futures/#get-transfer-list-signed
|
3287
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-transfer-list-signed
|
3288
3288
|
:param str code: unified currency code of the currency transferred
|
3289
3289
|
:param int [since]: the earliest time in ms to fetch transfers for
|
3290
3290
|
:param int [limit]: the maximum number of transfer structures to retrieve
|
@@ -3340,7 +3340,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3340
3340
|
def fetch_borrow_interest(self, code: Optional[str] = None, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
3341
3341
|
"""
|
3342
3342
|
fetch the interest owed by the user for borrowing currency for margin trading
|
3343
|
-
see https://developer-pro.bitmart.com/en/spot/#get-borrow-record-isolated
|
3343
|
+
:see: https://developer-pro.bitmart.com/en/spot/#get-borrow-record-isolated
|
3344
3344
|
:param str code: unified currency code
|
3345
3345
|
:param str symbol: unified market symbol when fetch interest in isolated markets
|
3346
3346
|
:param int [since]: the earliest time in ms to fetch borrrow interest for
|
@@ -3417,7 +3417,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3417
3417
|
def fetch_open_interest(self, symbol: str, params={}):
|
3418
3418
|
"""
|
3419
3419
|
Retrieves the open interest of a currency
|
3420
|
-
see https://developer-pro.bitmart.com/en/futures/#get-futures-openinterest
|
3420
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-futures-openinterest
|
3421
3421
|
:param str symbol: Unified CCXT market symbol
|
3422
3422
|
:param dict [params]: exchange specific parameters
|
3423
3423
|
:returns dict} an open interest structure{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure:
|
@@ -3469,7 +3469,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3469
3469
|
def set_leverage(self, leverage, symbol: Optional[str] = None, params={}):
|
3470
3470
|
"""
|
3471
3471
|
set the level of leverage for a market
|
3472
|
-
see https://developer-pro.bitmart.com/en/futures/#submit-leverage-signed
|
3472
|
+
:see: https://developer-pro.bitmart.com/en/futures/#submit-leverage-signed
|
3473
3473
|
:param float leverage: the rate of leverage
|
3474
3474
|
:param str symbol: unified market symbol
|
3475
3475
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
@@ -3494,7 +3494,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3494
3494
|
def fetch_funding_rate(self, symbol: str, params={}):
|
3495
3495
|
"""
|
3496
3496
|
fetch the current funding rate
|
3497
|
-
see https://developer-pro.bitmart.com/en/futures/#get-current-funding-rate
|
3497
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-current-funding-rate
|
3498
3498
|
:param str symbol: unified market symbol
|
3499
3499
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
3500
3500
|
:returns dict: a `funding rate structure <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure>`
|
@@ -3557,7 +3557,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3557
3557
|
def fetch_position(self, symbol: str, params={}):
|
3558
3558
|
"""
|
3559
3559
|
fetch data on a single open contract trade position
|
3560
|
-
see https://developer-pro.bitmart.com/en/futures/#get-current-position-keyed
|
3560
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-current-position-keyed
|
3561
3561
|
:param str symbol: unified market symbol of the market the position is held in
|
3562
3562
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
3563
3563
|
:returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
@@ -3604,7 +3604,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3604
3604
|
def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
3605
3605
|
"""
|
3606
3606
|
fetch all open contract positions
|
3607
|
-
see https://developer-pro.bitmart.com/en/futures/#get-current-position-keyed
|
3607
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-current-position-keyed
|
3608
3608
|
:param str[]|None symbols: list of unified market symbols
|
3609
3609
|
:param dict [params]: extra parameters specific to the bitmart api endpoint
|
3610
3610
|
:returns dict[]: a list of `position structures <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
@@ -3724,7 +3724,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
3724
3724
|
def fetch_my_liquidations(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
3725
3725
|
"""
|
3726
3726
|
retrieves the users liquidated positions
|
3727
|
-
see https://developer-pro.bitmart.com/en/futures/#get-order-history-keyed
|
3727
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-order-history-keyed
|
3728
3728
|
:param str symbol: unified CCXT market symbol
|
3729
3729
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
3730
3730
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
ccxt/bitmex.py
CHANGED
@@ -840,7 +840,7 @@ class bitmex(Exchange, ImplicitAPI):
|
|
840
840
|
|
841
841
|
def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
842
842
|
"""
|
843
|
-
see https://www.bitmex.com/api/explorer/#not /Order/Order_getOrders
|
843
|
+
:see: https://www.bitmex.com/api/explorer/#not /Order/Order_getOrders
|
844
844
|
fetches information on multiple orders made by the user
|
845
845
|
:param str symbol: unified market symbol of the market orders were made in
|
846
846
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -908,7 +908,7 @@ class bitmex(Exchange, ImplicitAPI):
|
|
908
908
|
|
909
909
|
def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
910
910
|
"""
|
911
|
-
see https://www.bitmex.com/api/explorer/#not /Execution/Execution_getTradeHistory
|
911
|
+
:see: https://www.bitmex.com/api/explorer/#not /Execution/Execution_getTradeHistory
|
912
912
|
fetch all trades made by the user
|
913
913
|
:param str symbol: unified market symbol
|
914
914
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1358,7 +1358,7 @@ class bitmex(Exchange, ImplicitAPI):
|
|
1358
1358
|
|
1359
1359
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1360
1360
|
"""
|
1361
|
-
see https://www.bitmex.com/api/explorer/#not /Trade/Trade_getBucketed
|
1361
|
+
:see: https://www.bitmex.com/api/explorer/#not /Trade/Trade_getBucketed
|
1362
1362
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1363
1363
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1364
1364
|
:param str timeframe: the length of time each candle represents
|
@@ -1663,7 +1663,7 @@ class bitmex(Exchange, ImplicitAPI):
|
|
1663
1663
|
|
1664
1664
|
def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1665
1665
|
"""
|
1666
|
-
see https://www.bitmex.com/api/explorer/#not /Trade/Trade_get
|
1666
|
+
:see: https://www.bitmex.com/api/explorer/#not /Trade/Trade_get
|
1667
1667
|
get the list of most recent trades for a particular symbol
|
1668
1668
|
:param str symbol: unified symbol of the market to fetch trades for
|
1669
1669
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -2357,7 +2357,7 @@ class bitmex(Exchange, ImplicitAPI):
|
|
2357
2357
|
def fetch_deposit_address(self, code: str, params={}):
|
2358
2358
|
"""
|
2359
2359
|
fetch the deposit address for a currency associated with self account
|
2360
|
-
see https://www.bitmex.com/api/explorer/#not /User/User_getDepositAddress
|
2360
|
+
:see: https://www.bitmex.com/api/explorer/#not /User/User_getDepositAddress
|
2361
2361
|
:param str code: unified currency code
|
2362
2362
|
:param dict [params]: extra parameters specific to the bitmex api endpoint
|
2363
2363
|
:param str [params.network]: deposit chain, can view all chains via self.publicGetWalletAssets, default is eth, unless the currency has a default chain within self.options['networks']
|
@@ -2452,7 +2452,7 @@ class bitmex(Exchange, ImplicitAPI):
|
|
2452
2452
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
2453
2453
|
"""
|
2454
2454
|
fetch deposit and withdraw fees
|
2455
|
-
see https://www.bitmex.com/api/explorer/#not /Wallet/Wallet_getAssetsConfig
|
2455
|
+
:see: https://www.bitmex.com/api/explorer/#not /Wallet/Wallet_getAssetsConfig
|
2456
2456
|
:param str[]|None codes: list of unified currency codes
|
2457
2457
|
:param dict [params]: extra parameters specific to the bitmex api endpoint
|
2458
2458
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -2503,7 +2503,7 @@ class bitmex(Exchange, ImplicitAPI):
|
|
2503
2503
|
def fetch_liquidations(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2504
2504
|
"""
|
2505
2505
|
retrieves the public liquidations of a trading pair
|
2506
|
-
see https://www.bitmex.com/api/explorer/#not /Liquidation/Liquidation_get
|
2506
|
+
:see: https://www.bitmex.com/api/explorer/#not /Liquidation/Liquidation_get
|
2507
2507
|
:param str symbol: unified CCXT market symbol
|
2508
2508
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
2509
2509
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
ccxt/bitopro.py
CHANGED
@@ -1528,7 +1528,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
1528
1528
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
1529
1529
|
"""
|
1530
1530
|
fetch deposit and withdraw fees
|
1531
|
-
see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/v3-1/rest-1/open/currencies.md
|
1531
|
+
:see: https://github.com/bitoex/bitopro-offical-api-docs/blob/master/v3-1/rest-1/open/currencies.md
|
1532
1532
|
:param str[]|None codes: list of unified currency codes
|
1533
1533
|
:param dict [params]: extra parameters specific to the bitopro api endpoint
|
1534
1534
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
ccxt/bitpanda.py
CHANGED
@@ -1444,7 +1444,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
1444
1444
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1445
1445
|
"""
|
1446
1446
|
create a trade order
|
1447
|
-
see https://docs.onetrading.com/#create-order
|
1447
|
+
:see: https://docs.onetrading.com/#create-order
|
1448
1448
|
:param str symbol: unified symbol of the market to create an order in
|
1449
1449
|
:param str type: 'market' or 'limit'
|
1450
1450
|
:param str side: 'buy' or 'sell'
|
ccxt/bitrue.py
CHANGED
@@ -1253,7 +1253,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
1253
1253
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1254
1254
|
"""
|
1255
1255
|
create a trade order
|
1256
|
-
see https://github.com/Bitrue-exchange/Spot-official-api-docs#signed-endpoint-examples-for-post-apiv1order
|
1256
|
+
:see: https://github.com/Bitrue-exchange/Spot-official-api-docs#signed-endpoint-examples-for-post-apiv1order
|
1257
1257
|
:param str symbol: unified symbol of the market to create an order in
|
1258
1258
|
:param str type: 'market' or 'limit'
|
1259
1259
|
:param str side: 'buy' or 'sell'
|
@@ -1845,7 +1845,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
1845
1845
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
1846
1846
|
"""
|
1847
1847
|
fetch deposit and withdraw fees
|
1848
|
-
see https://github.com/Bitrue-exchange/Spot-official-api-docs#exchangeInfo_endpoint
|
1848
|
+
:see: https://github.com/Bitrue-exchange/Spot-official-api-docs#exchangeInfo_endpoint
|
1849
1849
|
:param str[]|None codes: list of unified currency codes
|
1850
1850
|
:param dict [params]: extra parameters specific to the bitrue api endpoint
|
1851
1851
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
ccxt/bitso.py
CHANGED
@@ -1242,7 +1242,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
1242
1242
|
"""
|
1243
1243
|
* @deprecated
|
1244
1244
|
please use fetchDepositWithdrawFees instead
|
1245
|
-
see https://bitso.com/api_info#fees
|
1245
|
+
:see: https://bitso.com/api_info#fees
|
1246
1246
|
:param str[]|None codes: list of unified currency codes
|
1247
1247
|
:param dict [params]: extra parameters specific to the bitso api endpoint
|
1248
1248
|
:returns dict[]: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -1329,7 +1329,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
1329
1329
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
1330
1330
|
"""
|
1331
1331
|
fetch deposit and withdraw fees
|
1332
|
-
see https://bitso.com/api_info#fees
|
1332
|
+
:see: https://bitso.com/api_info#fees
|
1333
1333
|
:param str[]|None codes: list of unified currency codes
|
1334
1334
|
:param dict [params]: extra parameters specific to the bitso api endpoint
|
1335
1335
|
:returns dict[]: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
ccxt/bitstamp.py
CHANGED
@@ -735,7 +735,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
735
735
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
736
736
|
"""
|
737
737
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
738
|
-
see https://www.bitstamp.net/api/#all-tickers
|
738
|
+
:see: https://www.bitstamp.net/api/#all-tickers
|
739
739
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
740
740
|
:param dict [params]: extra parameters specific to the bitstamp api endpoint
|
741
741
|
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -1137,7 +1137,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
1137
1137
|
"""
|
1138
1138
|
* @deprecated
|
1139
1139
|
please use fetchDepositWithdrawFees instead
|
1140
|
-
see https://www.bitstamp.net/api/#balance
|
1140
|
+
:see: https://www.bitstamp.net/api/#balance
|
1141
1141
|
:param str[]|None codes: list of unified currency codes
|
1142
1142
|
:param dict [params]: extra parameters specific to the bitstamp api endpoint
|
1143
1143
|
:returns dict[]: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -1191,7 +1191,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
1191
1191
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
1192
1192
|
"""
|
1193
1193
|
fetch deposit and withdraw fees
|
1194
|
-
see https://www.bitstamp.net/api/#balance
|
1194
|
+
:see: https://www.bitstamp.net/api/#balance
|
1195
1195
|
:param str[]|None codes: list of unified currency codes
|
1196
1196
|
:param dict [params]: extra parameters specific to the bitstamp api endpoint
|
1197
1197
|
:returns dict[]: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
ccxt/bitvavo.py
CHANGED
@@ -943,7 +943,7 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
943
943
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
944
944
|
"""
|
945
945
|
create a trade order
|
946
|
-
see https://docs.bitvavo.com/#tag/Orders/paths/~1order/post
|
946
|
+
:see: https://docs.bitvavo.com/#tag/Orders/paths/~1order/post
|
947
947
|
:param str symbol: unified symbol of the market to create an order in
|
948
948
|
:param str type: 'market' or 'limit'
|
949
949
|
:param str side: 'buy' or 'sell'
|
@@ -1709,7 +1709,7 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1709
1709
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
1710
1710
|
"""
|
1711
1711
|
fetch deposit and withdraw fees
|
1712
|
-
see https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
1712
|
+
:see: https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
1713
1713
|
:param str[]|None codes: list of unified currency codes
|
1714
1714
|
:param dict [params]: extra parameters specific to the bitvavo api endpoint
|
1715
1715
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
ccxt/bl3p.py
CHANGED
@@ -356,7 +356,7 @@ class bl3p(Exchange, ImplicitAPI):
|
|
356
356
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
357
357
|
"""
|
358
358
|
create a trade order
|
359
|
-
see https://github.com/BitonicNL/bl3p-api/blob/master/examples/nodejs/example.md#21---create-an-order
|
359
|
+
:see: https://github.com/BitonicNL/bl3p-api/blob/master/examples/nodejs/example.md#21---create-an-order
|
360
360
|
:param str symbol: unified symbol of the market to create an order in
|
361
361
|
:param str type: 'market' or 'limit'
|
362
362
|
:param str side: 'buy' or 'sell'
|
ccxt/btcalpha.py
CHANGED
@@ -239,7 +239,7 @@ class btcalpha(Exchange, ImplicitAPI):
|
|
239
239
|
|
240
240
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
241
241
|
"""
|
242
|
-
see https://btc-alpha.github.io/api-docs/#tickers
|
242
|
+
:see: https://btc-alpha.github.io/api-docs/#tickers
|
243
243
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
244
244
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
245
245
|
:param dict [params]: extra parameters specific to the btcalpha api endpoint
|
@@ -267,7 +267,7 @@ class btcalpha(Exchange, ImplicitAPI):
|
|
267
267
|
|
268
268
|
def fetch_ticker(self, symbol: str, params={}):
|
269
269
|
"""
|
270
|
-
see https://btc-alpha.github.io/api-docs/#tickers
|
270
|
+
:see: https://btc-alpha.github.io/api-docs/#tickers
|
271
271
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
272
272
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
273
273
|
:param dict [params]: extra parameters specific to the btcalpha api endpoint
|
@@ -338,7 +338,7 @@ class btcalpha(Exchange, ImplicitAPI):
|
|
338
338
|
|
339
339
|
def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
340
340
|
"""
|
341
|
-
see https://btc-alpha.github.io/api-docs/#get-orderbook
|
341
|
+
:see: https://btc-alpha.github.io/api-docs/#get-orderbook
|
342
342
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
343
343
|
:param str symbol: unified symbol of the market to fetch the order book for
|
344
344
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -695,7 +695,7 @@ class btcalpha(Exchange, ImplicitAPI):
|
|
695
695
|
|
696
696
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
697
697
|
"""
|
698
|
-
see https://btc-alpha.github.io/api-docs/#create-order
|
698
|
+
:see: https://btc-alpha.github.io/api-docs/#create-order
|
699
699
|
create a trade order
|
700
700
|
:param str symbol: unified symbol of the market to create an order in
|
701
701
|
:param str type: 'limit'
|
@@ -726,7 +726,7 @@ class btcalpha(Exchange, ImplicitAPI):
|
|
726
726
|
|
727
727
|
def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
728
728
|
"""
|
729
|
-
see https://btc-alpha.github.io/api-docs/#cancel-order
|
729
|
+
:see: https://btc-alpha.github.io/api-docs/#cancel-order
|
730
730
|
cancels an open order
|
731
731
|
:param str id: order id
|
732
732
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -741,7 +741,7 @@ class btcalpha(Exchange, ImplicitAPI):
|
|
741
741
|
|
742
742
|
def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
743
743
|
"""
|
744
|
-
see https://btc-alpha.github.io/api-docs/#retrieve-single-order
|
744
|
+
:see: https://btc-alpha.github.io/api-docs/#retrieve-single-order
|
745
745
|
fetches information on an order made by the user
|
746
746
|
:param str symbol: not used by btcalpha fetchOrder
|
747
747
|
:param dict [params]: extra parameters specific to the btcalpha api endpoint
|
@@ -756,7 +756,7 @@ class btcalpha(Exchange, ImplicitAPI):
|
|
756
756
|
|
757
757
|
def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
758
758
|
"""
|
759
|
-
see https://btc-alpha.github.io/api-docs/#list-own-orders
|
759
|
+
:see: https://btc-alpha.github.io/api-docs/#list-own-orders
|
760
760
|
fetches information on multiple orders made by the user
|
761
761
|
:param str symbol: unified market symbol of the market orders were made in
|
762
762
|
:param int [since]: the earliest time in ms to fetch orders for
|
ccxt/btcturk.py
CHANGED
@@ -538,7 +538,7 @@ class btcturk(Exchange, ImplicitAPI):
|
|
538
538
|
def fetch_ohlcv(self, symbol: str, timeframe='1h', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
539
539
|
"""
|
540
540
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
541
|
-
see https://docs.btcturk.com/public-endpoints/get-kline-data
|
541
|
+
:see: https://docs.btcturk.com/public-endpoints/get-kline-data
|
542
542
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
543
543
|
:param str timeframe: the length of time each candle represents
|
544
544
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|