ccxt 4.4.30__py2.py3-none-any.whl → 4.4.31__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ccxt/__init__.py +1 -1
- ccxt/ace.py +36 -12
- ccxt/alpaca.py +62 -22
- ccxt/ascendex.py +65 -30
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +36 -12
- ccxt/async_support/alpaca.py +62 -22
- ccxt/async_support/ascendex.py +65 -30
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/bigone.py +71 -27
- ccxt/async_support/binance.py +555 -323
- ccxt/async_support/bingx.py +208 -108
- ccxt/async_support/bit2c.py +34 -12
- ccxt/async_support/bitbank.py +42 -14
- ccxt/async_support/bitbns.py +17 -9
- ccxt/async_support/bitfinex.py +68 -24
- ccxt/async_support/bitfinex2.py +116 -44
- ccxt/async_support/bitflyer.py +54 -18
- ccxt/async_support/bitget.py +277 -145
- ccxt/async_support/bithumb.py +39 -14
- ccxt/async_support/bitmart.py +145 -79
- ccxt/async_support/bitmex.py +90 -30
- ccxt/async_support/bitopro.py +66 -22
- ccxt/async_support/bitrue.py +109 -57
- ccxt/async_support/bitso.py +55 -19
- ccxt/async_support/bitstamp.py +84 -36
- ccxt/async_support/bitteam.py +51 -17
- ccxt/async_support/bitvavo.py +57 -19
- ccxt/async_support/bl3p.py +26 -10
- ccxt/async_support/blockchaincom.py +63 -21
- ccxt/async_support/blofin.py +95 -38
- ccxt/async_support/btcalpha.py +48 -16
- ccxt/async_support/btcbox.py +27 -9
- ccxt/async_support/btcmarkets.py +57 -19
- ccxt/async_support/btcturk.py +36 -12
- ccxt/async_support/bybit.py +251 -95
- ccxt/async_support/cex.py +65 -22
- ccxt/async_support/coinbase.py +138 -56
- ccxt/async_support/coinbaseexchange.py +76 -28
- ccxt/async_support/coinbaseinternational.py +75 -27
- ccxt/async_support/coincatch.py +191 -97
- ccxt/async_support/coincheck.py +33 -11
- ccxt/async_support/coinex.py +212 -101
- ccxt/async_support/coinlist.py +87 -30
- ccxt/async_support/coinmate.py +55 -24
- ccxt/async_support/coinmetro.py +52 -18
- ccxt/async_support/coinone.py +27 -10
- ccxt/async_support/coinsph.py +73 -27
- ccxt/async_support/coinspot.py +25 -9
- ccxt/async_support/cryptocom.py +103 -38
- ccxt/async_support/currencycom.py +70 -23
- ccxt/async_support/delta.py +90 -30
- ccxt/async_support/deribit.py +131 -50
- ccxt/async_support/digifinex.py +114 -51
- ccxt/async_support/exmo.py +104 -45
- ccxt/async_support/gate.py +298 -155
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +156 -73
- ccxt/async_support/hollaex.py +76 -25
- ccxt/async_support/htx.py +297 -240
- ccxt/async_support/huobijp.py +1 -0
- ccxt/async_support/hyperliquid.py +94 -38
- ccxt/async_support/idex.py +73 -24
- ccxt/async_support/independentreserve.py +12 -5
- ccxt/async_support/indodax.py +53 -16
- ccxt/async_support/kraken.py +107 -35
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +211 -109
- ccxt/async_support/kucoinfutures.py +119 -42
- ccxt/async_support/kuna.py +80 -39
- ccxt/async_support/latoken.py +70 -33
- ccxt/async_support/lbank.py +89 -38
- ccxt/async_support/luno.py +54 -19
- ccxt/async_support/lykke.py +54 -19
- ccxt/async_support/mercado.py +1 -0
- ccxt/async_support/mexc.py +226 -108
- ccxt/async_support/ndax.py +58 -19
- ccxt/async_support/novadax.py +67 -22
- ccxt/async_support/oceanex.py +58 -19
- ccxt/async_support/okcoin.py +81 -38
- ccxt/async_support/okx.py +270 -109
- ccxt/async_support/onetrading.py +3 -1
- ccxt/async_support/oxfun.py +95 -36
- ccxt/async_support/p2b.py +49 -23
- ccxt/async_support/paradex.py +75 -27
- ccxt/async_support/paymium.py +31 -11
- ccxt/async_support/phemex.py +91 -41
- ccxt/async_support/poloniex.py +80 -30
- ccxt/async_support/poloniexfutures.py +72 -30
- ccxt/async_support/probit.py +64 -22
- ccxt/async_support/timex.py +58 -19
- ccxt/async_support/tokocrypto.py +63 -22
- ccxt/async_support/tradeogre.py +7 -2
- ccxt/async_support/upbit.py +72 -25
- ccxt/async_support/vertex.py +74 -28
- ccxt/async_support/wavesexchange.py +29 -8
- ccxt/async_support/wazirx.py +51 -17
- ccxt/async_support/whitebit.py +105 -41
- ccxt/async_support/woo.py +162 -65
- ccxt/async_support/woofipro.py +118 -49
- ccxt/async_support/xt.py +150 -73
- ccxt/async_support/yobit.py +49 -16
- ccxt/async_support/zaif.py +30 -10
- ccxt/async_support/zonda.py +46 -16
- ccxt/base/exchange.py +34 -34
- ccxt/base/types.py +1 -0
- ccxt/bigone.py +71 -27
- ccxt/binance.py +555 -323
- ccxt/bingx.py +208 -108
- ccxt/bit2c.py +34 -12
- ccxt/bitbank.py +42 -14
- ccxt/bitbns.py +17 -9
- ccxt/bitfinex.py +68 -24
- ccxt/bitfinex2.py +116 -44
- ccxt/bitflyer.py +54 -18
- ccxt/bitget.py +277 -145
- ccxt/bithumb.py +39 -14
- ccxt/bitmart.py +145 -79
- ccxt/bitmex.py +90 -30
- ccxt/bitopro.py +66 -22
- ccxt/bitrue.py +109 -57
- ccxt/bitso.py +55 -19
- ccxt/bitstamp.py +84 -36
- ccxt/bitteam.py +51 -17
- ccxt/bitvavo.py +57 -19
- ccxt/bl3p.py +26 -10
- ccxt/blockchaincom.py +63 -21
- ccxt/blofin.py +95 -38
- ccxt/btcalpha.py +48 -16
- ccxt/btcbox.py +27 -9
- ccxt/btcmarkets.py +57 -19
- ccxt/btcturk.py +36 -12
- ccxt/bybit.py +251 -95
- ccxt/cex.py +65 -22
- ccxt/coinbase.py +138 -56
- ccxt/coinbaseexchange.py +76 -28
- ccxt/coinbaseinternational.py +75 -27
- ccxt/coincatch.py +191 -97
- ccxt/coincheck.py +33 -11
- ccxt/coinex.py +212 -101
- ccxt/coinlist.py +87 -30
- ccxt/coinmate.py +55 -24
- ccxt/coinmetro.py +52 -18
- ccxt/coinone.py +27 -10
- ccxt/coinsph.py +73 -27
- ccxt/coinspot.py +25 -9
- ccxt/cryptocom.py +103 -38
- ccxt/currencycom.py +70 -23
- ccxt/delta.py +90 -30
- ccxt/deribit.py +131 -50
- ccxt/digifinex.py +114 -51
- ccxt/exmo.py +104 -45
- ccxt/gate.py +298 -155
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +156 -73
- ccxt/hollaex.py +76 -25
- ccxt/htx.py +297 -240
- ccxt/huobijp.py +1 -0
- ccxt/hyperliquid.py +94 -38
- ccxt/idex.py +73 -24
- ccxt/independentreserve.py +12 -5
- ccxt/indodax.py +53 -16
- ccxt/kraken.py +107 -35
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +211 -109
- ccxt/kucoinfutures.py +119 -42
- ccxt/kuna.py +80 -39
- ccxt/latoken.py +70 -33
- ccxt/lbank.py +89 -38
- ccxt/luno.py +54 -19
- ccxt/lykke.py +54 -19
- ccxt/mercado.py +1 -0
- ccxt/mexc.py +226 -108
- ccxt/ndax.py +58 -19
- ccxt/novadax.py +67 -22
- ccxt/oceanex.py +58 -19
- ccxt/okcoin.py +81 -38
- ccxt/okx.py +270 -109
- ccxt/onetrading.py +3 -1
- ccxt/oxfun.py +95 -36
- ccxt/p2b.py +49 -23
- ccxt/paradex.py +75 -27
- ccxt/paymium.py +31 -11
- ccxt/phemex.py +91 -41
- ccxt/poloniex.py +80 -30
- ccxt/poloniexfutures.py +72 -30
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +15 -5
- ccxt/pro/ascendex.py +18 -6
- ccxt/pro/binance.py +200 -119
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +75 -36
- ccxt/pro/bithumb.py +12 -4
- ccxt/pro/bitmart.py +44 -20
- ccxt/pro/bitmex.py +42 -14
- ccxt/pro/bitopro.py +15 -5
- ccxt/pro/bitrue.py +7 -3
- ccxt/pro/bitvavo.py +51 -17
- ccxt/pro/blockchaincom.py +18 -6
- ccxt/pro/blofin.py +36 -12
- ccxt/pro/bybit.py +100 -42
- ccxt/pro/cex.py +48 -16
- ccxt/pro/coinbase.py +32 -12
- ccxt/pro/coinbaseexchange.py +1 -1
- ccxt/pro/coinbaseinternational.py +34 -14
- ccxt/pro/coincatch.py +54 -19
- ccxt/pro/coincheck.py +6 -2
- ccxt/pro/coinex.py +40 -20
- ccxt/pro/coinone.py +9 -3
- ccxt/pro/cryptocom.py +70 -26
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +64 -30
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +26 -8
- ccxt/pro/hitbtc.py +61 -37
- ccxt/pro/hollaex.py +15 -5
- ccxt/pro/htx.py +39 -21
- ccxt/pro/hyperliquid.py +41 -14
- ccxt/pro/kraken.py +49 -17
- ccxt/pro/krakenfutures.py +47 -24
- ccxt/pro/kucoin.py +60 -31
- ccxt/pro/kucoinfutures.py +41 -19
- ccxt/pro/lbank.py +27 -9
- ccxt/pro/luno.py +3 -1
- ccxt/pro/mexc.py +35 -17
- ccxt/pro/ndax.py +12 -4
- ccxt/pro/okcoin.py +18 -6
- ccxt/pro/okx.py +76 -28
- ccxt/pro/onetrading.py +21 -7
- ccxt/pro/oxfun.py +54 -20
- ccxt/pro/p2b.py +23 -11
- ccxt/pro/paradex.py +12 -4
- ccxt/pro/phemex.py +31 -19
- ccxt/pro/poloniex.py +50 -22
- ccxt/pro/poloniexfutures.py +17 -7
- ccxt/pro/probit.py +18 -6
- ccxt/pro/upbit.py +25 -9
- ccxt/pro/vertex.py +20 -6
- ccxt/pro/wazirx.py +21 -7
- ccxt/pro/whitebit.py +25 -9
- ccxt/pro/woo.py +32 -12
- ccxt/pro/woofipro.py +35 -13
- ccxt/pro/xt.py +46 -26
- ccxt/probit.py +64 -22
- ccxt/timex.py +58 -19
- ccxt/tokocrypto.py +63 -22
- ccxt/tradeogre.py +7 -2
- ccxt/upbit.py +72 -25
- ccxt/vertex.py +74 -28
- ccxt/wavesexchange.py +29 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +118 -49
- ccxt/xt.py +150 -73
- ccxt/yobit.py +49 -16
- ccxt/zaif.py +30 -10
- ccxt/zonda.py +46 -16
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/async_support/bigone.py
CHANGED
@@ -476,7 +476,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
476
476
|
async def fetch_markets(self, params={}) -> List[Market]:
|
477
477
|
"""
|
478
478
|
retrieves data on all markets for bigone
|
479
|
-
|
479
|
+
|
480
|
+
https://open.big.one/docs/spot_asset_pair.html
|
481
|
+
|
480
482
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
481
483
|
:returns dict[]: an array of objects representing market data
|
482
484
|
"""
|
@@ -737,7 +739,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
737
739
|
async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
738
740
|
"""
|
739
741
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
740
|
-
|
742
|
+
|
743
|
+
https://open.big.one/docs/spot_tickers.html
|
744
|
+
|
741
745
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
742
746
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
743
747
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -776,7 +780,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
776
780
|
async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
777
781
|
"""
|
778
782
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
779
|
-
|
783
|
+
|
784
|
+
https://open.big.one/docs/spot_tickers.html
|
785
|
+
|
780
786
|
:param str[] [symbols]: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
781
787
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
782
788
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -858,7 +864,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
858
864
|
async def fetch_time(self, params={}):
|
859
865
|
"""
|
860
866
|
fetches the current integer timestamp in milliseconds from the exchange server
|
861
|
-
|
867
|
+
|
868
|
+
https://open.big.one/docs/spot_ping.html
|
869
|
+
|
862
870
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
863
871
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
864
872
|
"""
|
@@ -877,7 +885,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
877
885
|
async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
878
886
|
"""
|
879
887
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
880
|
-
|
888
|
+
|
889
|
+
https://open.big.one/docs/contract_misc.html#get-orderbook-snapshot
|
890
|
+
|
881
891
|
:param str symbol: unified symbol of the market to fetch the order book for
|
882
892
|
:param int [limit]: the maximum amount of order book entries to return
|
883
893
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1092,7 +1102,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1092
1102
|
async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1093
1103
|
"""
|
1094
1104
|
get the list of most recent trades for a particular symbol
|
1095
|
-
|
1105
|
+
|
1106
|
+
https://open.big.one/docs/spot_asset_pair_trade.html
|
1107
|
+
|
1096
1108
|
:param str symbol: unified symbol of the market to fetch trades for
|
1097
1109
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1098
1110
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -1154,7 +1166,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1154
1166
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
1155
1167
|
"""
|
1156
1168
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1157
|
-
|
1169
|
+
|
1170
|
+
https://open.big.one/docs/spot_asset_pair_candle.html
|
1171
|
+
|
1158
1172
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1159
1173
|
:param str timeframe: the length of time each candle represents
|
1160
1174
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1225,8 +1239,10 @@ class bigone(Exchange, ImplicitAPI):
|
|
1225
1239
|
async def fetch_balance(self, params={}) -> Balances:
|
1226
1240
|
"""
|
1227
1241
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1228
|
-
|
1229
|
-
|
1242
|
+
|
1243
|
+
https://open.big.one/docs/fund_accounts.html
|
1244
|
+
https://open.big.one/docs/spot_accounts.html
|
1245
|
+
|
1230
1246
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1231
1247
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
1232
1248
|
"""
|
@@ -1333,7 +1349,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1333
1349
|
async def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
|
1334
1350
|
"""
|
1335
1351
|
create a market buy order by providing the symbol and cost
|
1336
|
-
|
1352
|
+
|
1353
|
+
https://open.big.one/docs/spot_orders.html#create-order
|
1354
|
+
|
1337
1355
|
:param str symbol: unified symbol of the market to create an order in
|
1338
1356
|
:param float cost: how much you want to trade in units of the quote currency
|
1339
1357
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1349,7 +1367,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1349
1367
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1350
1368
|
"""
|
1351
1369
|
create a trade order
|
1352
|
-
|
1370
|
+
|
1371
|
+
https://open.big.one/docs/spot_orders.html#create-order
|
1372
|
+
|
1353
1373
|
:param str symbol: unified symbol of the market to create an order in
|
1354
1374
|
:param str type: 'market' or 'limit'
|
1355
1375
|
:param str side: 'buy' or 'sell'
|
@@ -1360,10 +1380,10 @@ class bigone(Exchange, ImplicitAPI):
|
|
1360
1380
|
:param bool [params.postOnly]: if True, the order will only be posted to the order book and not executed immediately
|
1361
1381
|
:param str [params.timeInForce]: "GTC", "IOC", or "PO"
|
1362
1382
|
:param float [params.cost]: *spot market buy only* the quote quantity that can be used alternative for the amount
|
1363
|
-
|
1364
|
-
|
1365
|
-
:param str operator: *stop order only* GTE or LTE(default)
|
1366
|
-
:param str client_order_id: must match ^[a-zA-Z0-9-_]{1,36}$ self regex. client_order_id is unique in 24 hours, If created 24 hours later and the order closed, it will be released and can be reused
|
1383
|
+
|
1384
|
+
EXCHANGE SPECIFIC PARAMETERS
|
1385
|
+
:param str [params.operator]: *stop order only* GTE or LTE(default)
|
1386
|
+
:param str [params.client_order_id]: must match ^[a-zA-Z0-9-_]{1,36}$ self regex. client_order_id is unique in 24 hours, If created 24 hours later and the order closed, it will be released and can be reused
|
1367
1387
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
1368
1388
|
"""
|
1369
1389
|
await self.load_markets()
|
@@ -1446,7 +1466,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1446
1466
|
async def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1447
1467
|
"""
|
1448
1468
|
cancels an open order
|
1449
|
-
|
1469
|
+
|
1470
|
+
https://open.big.one/docs/spot_orders.html#cancel-order
|
1471
|
+
|
1450
1472
|
:param str id: order id
|
1451
1473
|
:param str symbol: Not used by bigone cancelOrder()
|
1452
1474
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1473,7 +1495,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1473
1495
|
async def cancel_all_orders(self, symbol: Str = None, params={}):
|
1474
1496
|
"""
|
1475
1497
|
cancel all open orders
|
1476
|
-
|
1498
|
+
|
1499
|
+
https://open.big.one/docs/spot_orders.html#cancel-all-orders
|
1500
|
+
|
1477
1501
|
:param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
1478
1502
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1479
1503
|
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1519,7 +1543,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1519
1543
|
async def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1520
1544
|
"""
|
1521
1545
|
fetches information on an order made by the user
|
1522
|
-
|
1546
|
+
|
1547
|
+
https://open.big.one/docs/spot_orders.html#get-one-order
|
1548
|
+
|
1523
1549
|
:param str id: the order id
|
1524
1550
|
:param str symbol: not used by bigone fetchOrder
|
1525
1551
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1534,7 +1560,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1534
1560
|
async def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1535
1561
|
"""
|
1536
1562
|
fetches information on multiple orders made by the user
|
1537
|
-
|
1563
|
+
|
1564
|
+
https://open.big.one/docs/spot_orders.html#get-user-orders-in-one-asset-pair
|
1565
|
+
|
1538
1566
|
:param str symbol: unified market symbol of the market orders were made in
|
1539
1567
|
:param int [since]: the earliest time in ms to fetch orders for
|
1540
1568
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1581,7 +1609,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1581
1609
|
async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1582
1610
|
"""
|
1583
1611
|
fetch all trades made by the user
|
1584
|
-
|
1612
|
+
|
1613
|
+
https://open.big.one/docs/spot_trade.html#trades-of-user
|
1614
|
+
|
1585
1615
|
:param str symbol: unified market symbol
|
1586
1616
|
:param int [since]: the earliest time in ms to fetch trades for
|
1587
1617
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -1647,7 +1677,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1647
1677
|
async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1648
1678
|
"""
|
1649
1679
|
fetch all unfilled currently open orders
|
1650
|
-
|
1680
|
+
|
1681
|
+
https://open.big.one/docs/spot_orders.html#get-user-orders-in-one-asset-pair
|
1682
|
+
|
1651
1683
|
:param str symbol: unified market symbol
|
1652
1684
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1653
1685
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -1662,7 +1694,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1662
1694
|
async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1663
1695
|
"""
|
1664
1696
|
fetches information on multiple closed orders made by the user
|
1665
|
-
|
1697
|
+
|
1698
|
+
https://open.big.one/docs/spot_orders.html#get-user-orders-in-one-asset-pair
|
1699
|
+
|
1666
1700
|
:param str symbol: unified market symbol of the market orders were made in
|
1667
1701
|
:param int [since]: the earliest time in ms to fetch orders for
|
1668
1702
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1709,7 +1743,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1709
1743
|
async def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
1710
1744
|
"""
|
1711
1745
|
fetch the deposit address for a currency associated with self account
|
1712
|
-
|
1746
|
+
|
1747
|
+
https://open.big.one/docs/spot_deposit.html#get-deposite-address-of-one-asset-of-user
|
1748
|
+
|
1713
1749
|
:param str code: unified currency code
|
1714
1750
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1715
1751
|
:returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
|
@@ -1857,7 +1893,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1857
1893
|
async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1858
1894
|
"""
|
1859
1895
|
fetch all deposits made to an account
|
1860
|
-
|
1896
|
+
|
1897
|
+
https://open.big.one/docs/spot_deposit.html#deposit-of-user
|
1898
|
+
|
1861
1899
|
:param str code: unified currency code
|
1862
1900
|
:param int [since]: the earliest time in ms to fetch deposits for
|
1863
1901
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
@@ -1905,7 +1943,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1905
1943
|
async def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1906
1944
|
"""
|
1907
1945
|
fetch all withdrawals made from an account
|
1908
|
-
|
1946
|
+
|
1947
|
+
https://open.big.one/docs/spot_withdrawal.html#get-withdrawals-of-user
|
1948
|
+
|
1909
1949
|
:param str code: unified currency code
|
1910
1950
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
1911
1951
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
@@ -1953,7 +1993,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
1953
1993
|
async def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
|
1954
1994
|
"""
|
1955
1995
|
transfer currency internally between wallets on the same account
|
1956
|
-
|
1996
|
+
|
1997
|
+
https://open.big.one/docs/spot_transfer.html#transfer-of-user
|
1998
|
+
|
1957
1999
|
:param str code: unified currency code
|
1958
2000
|
:param float amount: amount to transfer
|
1959
2001
|
:param str fromAccount: 'SPOT', 'FUND', or 'CONTRACT'
|
@@ -2022,7 +2064,9 @@ class bigone(Exchange, ImplicitAPI):
|
|
2022
2064
|
async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
2023
2065
|
"""
|
2024
2066
|
make a withdrawal
|
2025
|
-
|
2067
|
+
|
2068
|
+
https://open.big.one/docs/spot_withdrawal.html#create-withdrawal-of-user
|
2069
|
+
|
2026
2070
|
:param str code: unified currency code
|
2027
2071
|
:param float amount: the amount to withdraw
|
2028
2072
|
:param str address: the address to withdraw to
|