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/gemini.py
CHANGED
@@ -323,7 +323,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
323
323
|
|
324
324
|
async def fetch_currencies_from_web(self, params={}):
|
325
325
|
"""
|
326
|
-
|
326
|
+
@ignore
|
327
327
|
fetches all available currencies on an exchange
|
328
328
|
:param dict [params]: extra parameters specific to the endpoint
|
329
329
|
:returns dict: an associative dictionary of currencies
|
@@ -414,7 +414,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
414
414
|
async def fetch_markets(self, params={}) -> List[Market]:
|
415
415
|
"""
|
416
416
|
retrieves data on all markets for gemini
|
417
|
-
|
417
|
+
|
418
|
+
https://docs.gemini.com/rest-api/#symbols
|
419
|
+
|
418
420
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
419
421
|
:returns dict[]: an array of objects representing market data
|
420
422
|
"""
|
@@ -754,7 +756,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
754
756
|
async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
755
757
|
"""
|
756
758
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
757
|
-
|
759
|
+
|
760
|
+
https://docs.gemini.com/rest-api/#current-order-book
|
761
|
+
|
758
762
|
:param str symbol: unified symbol of the market to fetch the order book for
|
759
763
|
:param int [limit]: the maximum amount of order book entries to return
|
760
764
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -831,8 +835,10 @@ class gemini(Exchange, ImplicitAPI):
|
|
831
835
|
async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
832
836
|
"""
|
833
837
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
834
|
-
|
835
|
-
|
838
|
+
|
839
|
+
https://docs.gemini.com/rest-api/#ticker
|
840
|
+
https://docs.gemini.com/rest-api/#ticker-v2
|
841
|
+
|
836
842
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
837
843
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
838
844
|
:param dict [params.fetchTickerMethod]: 'fetchTickerV2', 'fetchTickerV1' or 'fetchTickerV1AndV2' - 'fetchTickerV1' for original ccxt.gemini.fetchTicker - 'fetchTickerV1AndV2' for 2 api calls to get the result of both fetchTicker methods - default = 'fetchTickerV1'
|
@@ -938,7 +944,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
938
944
|
async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
939
945
|
"""
|
940
946
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
941
|
-
|
947
|
+
|
948
|
+
https://docs.gemini.com/rest-api/#price-feed
|
949
|
+
|
942
950
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
943
951
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
944
952
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -1027,7 +1035,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1027
1035
|
async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1028
1036
|
"""
|
1029
1037
|
get the list of most recent trades for a particular symbol
|
1030
|
-
|
1038
|
+
|
1039
|
+
https://docs.gemini.com/rest-api/#trade-history
|
1040
|
+
|
1031
1041
|
:param str symbol: unified symbol of the market to fetch trades for
|
1032
1042
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1033
1043
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -1074,7 +1084,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1074
1084
|
async def fetch_trading_fees(self, params={}) -> TradingFees:
|
1075
1085
|
"""
|
1076
1086
|
fetch the trading fees for multiple markets
|
1077
|
-
|
1087
|
+
|
1088
|
+
https://docs.gemini.com/rest-api/#get-notional-volume
|
1089
|
+
|
1078
1090
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1079
1091
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
1080
1092
|
"""
|
@@ -1130,7 +1142,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1130
1142
|
async def fetch_balance(self, params={}) -> Balances:
|
1131
1143
|
"""
|
1132
1144
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1133
|
-
|
1145
|
+
|
1146
|
+
https://docs.gemini.com/rest-api/#get-available-balances
|
1147
|
+
|
1134
1148
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1135
1149
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
1136
1150
|
"""
|
@@ -1301,7 +1315,10 @@ class gemini(Exchange, ImplicitAPI):
|
|
1301
1315
|
async def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1302
1316
|
"""
|
1303
1317
|
fetches information on an order made by the user
|
1304
|
-
|
1318
|
+
|
1319
|
+
https://docs.gemini.com/rest-api/#order-status
|
1320
|
+
|
1321
|
+
:param str id: order id
|
1305
1322
|
:param str symbol: unified symbol of the market the order was made in
|
1306
1323
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1307
1324
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1339,7 +1356,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1339
1356
|
async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1340
1357
|
"""
|
1341
1358
|
fetch all unfilled currently open orders
|
1342
|
-
|
1359
|
+
|
1360
|
+
https://docs.gemini.com/rest-api/#get-active-orders
|
1361
|
+
|
1343
1362
|
:param str symbol: unified market symbol
|
1344
1363
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1345
1364
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -1381,7 +1400,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1381
1400
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1382
1401
|
"""
|
1383
1402
|
create a trade order
|
1384
|
-
|
1403
|
+
|
1404
|
+
https://docs.gemini.com/rest-api/#new-order
|
1405
|
+
|
1385
1406
|
:param str symbol: unified symbol of the market to create an order in
|
1386
1407
|
:param str type: must be 'limit'
|
1387
1408
|
:param str side: 'buy' or 'sell'
|
@@ -1466,7 +1487,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1466
1487
|
async def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1467
1488
|
"""
|
1468
1489
|
cancels an open order
|
1469
|
-
|
1490
|
+
|
1491
|
+
https://docs.gemini.com/rest-api/#cancel-order
|
1492
|
+
|
1470
1493
|
:param str id: order id
|
1471
1494
|
:param str symbol: unified symbol of the market the order was made in
|
1472
1495
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1506,7 +1529,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1506
1529
|
async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1507
1530
|
"""
|
1508
1531
|
fetch all trades made by the user
|
1509
|
-
|
1532
|
+
|
1533
|
+
https://docs.gemini.com/rest-api/#get-past-trades
|
1534
|
+
|
1510
1535
|
:param str symbol: unified market symbol
|
1511
1536
|
:param int [since]: the earliest time in ms to fetch trades for
|
1512
1537
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -1530,7 +1555,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1530
1555
|
async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
1531
1556
|
"""
|
1532
1557
|
make a withdrawal
|
1533
|
-
|
1558
|
+
|
1559
|
+
https://docs.gemini.com/rest-api/#withdraw-crypto-funds
|
1560
|
+
|
1534
1561
|
:param str code: unified currency code
|
1535
1562
|
:param float amount: the amount to withdraw
|
1536
1563
|
:param str address: the address to withdraw to
|
@@ -1585,7 +1612,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1585
1612
|
async def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1586
1613
|
"""
|
1587
1614
|
fetch history of deposits and withdrawals
|
1588
|
-
|
1615
|
+
|
1616
|
+
https://docs.gemini.com/rest-api/#transfers
|
1617
|
+
|
1589
1618
|
:param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
|
1590
1619
|
:param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
|
1591
1620
|
:param int [limit]: max number of deposit/withdrawals to return, default is None
|
@@ -1684,7 +1713,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1684
1713
|
|
1685
1714
|
async def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
1686
1715
|
"""
|
1687
|
-
|
1716
|
+
|
1717
|
+
https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1718
|
+
|
1688
1719
|
fetch the deposit address for a currency associated with self account
|
1689
1720
|
:param str code: unified currency code
|
1690
1721
|
:param dict [params]: extra parameters specific to the endpoint
|
@@ -1701,7 +1732,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1701
1732
|
async def fetch_deposit_addresses_by_network(self, code: str, params={}) -> List[DepositAddress]:
|
1702
1733
|
"""
|
1703
1734
|
fetch a dictionary of addresses for a currency, indexed by network
|
1704
|
-
|
1735
|
+
|
1736
|
+
https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1737
|
+
|
1705
1738
|
:param str code: unified currency code of the currency for the deposit address
|
1706
1739
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1707
1740
|
:param str [params.network]: *required* The chain of currency
|
@@ -1779,7 +1812,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1779
1812
|
async def create_deposit_address(self, code: str, params={}):
|
1780
1813
|
"""
|
1781
1814
|
create a currency deposit address
|
1782
|
-
|
1815
|
+
|
1816
|
+
https://docs.gemini.com/rest-api/#new-deposit-address
|
1817
|
+
|
1783
1818
|
:param str code: unified currency code of the currency for the deposit address
|
1784
1819
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1785
1820
|
:returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
|
@@ -1802,7 +1837,9 @@ class gemini(Exchange, ImplicitAPI):
|
|
1802
1837
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
1803
1838
|
"""
|
1804
1839
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1805
|
-
|
1840
|
+
|
1841
|
+
https://docs.gemini.com/rest-api/#candles
|
1842
|
+
|
1806
1843
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1807
1844
|
:param str timeframe: the length of time each candle represents
|
1808
1845
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|