Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTX exchange not available, but docs state its available. #22351

Closed
eprokhor opened this issue May 1, 2024 · 1 comment
Closed

HTX exchange not available, but docs state its available. #22351

eprokhor opened this issue May 1, 2024 · 1 comment
Assignees
Labels

Comments

@eprokhor
Copy link

eprokhor commented May 1, 2024

Operating System

Mac OS

Programming Languages

Python

CCXT Version

4.1.2

Description

https://docs.ccxt.com/#/Exchange-Markets states 'htx' exchange is available but code errors when trying to fetch from that exchange.

Code

  AttributeError: module 'ccxt.async_support' has no attribute 'htx'

>>> import ccxt
>>> print(ccxt.exchanges)
['ace', 'alpaca', 'ascendex', 'bequant', 'bigone', 'binance', 'binancecoinm', 'binanceus', 'binanceusdm', 'bingx', 'bit2c', 'bitbank', 'bitbay', 'bitbns', 'bitcoincom', 'bitfinex', 'bitfinex2', 'bitflyer', 'bitforex', 'bitget', 'bithumb', 'bitmart', 'bitmex', 'bitopro', 'bitpanda', 'bitrue', 'bitso', 'bitstamp', 'bitstamp1', 'bittrex', 'bitvavo', 'bl3p', 'blockchaincom', 'btcalpha', 'btcbox', 'btcmarkets', 'btctradeua', 'btcturk', 'bybit', 'cex', 'coinbase', 'coinbaseprime', 'coinbasepro', 'coincheck', 'coinex', 'coinfalcon', 'coinmate', 'coinone', 'coinsph', 'coinspot', 'cryptocom', 'currencycom', 'delta', 'deribit', 'digifinex', 'exmo', 'fmfwio', 'gate', 'gateio', 'gemini', 'hitbtc', 'hitbtc3', 'hollaex', 'huobi', 'huobijp', 'huobipro', 'idex', 'independentreserve', 'indodax', 'kraken', 'krakenfutures', 'kucoin', 'kucoinfutures', 'kuna', 'latoken', 'lbank', 'lbank2', 'luno', 'lykke', 'mercado', 'mexc', 'mexc3', 'ndax', 'novadax', 'oceanex', 'okcoin', 'okex', 'okex5', 'okx', 'paymium', 'phemex', 'poloniex', 'poloniexfutures', 'probit', 'tidex', 'timex', 'tokocrypto', 'upbit', 'wavesexchange', 'wazirx', 'whitebit', 'woo', 'yobit', 'zaif', 'zonda']

@carlosmiei carlosmiei self-assigned this May 1, 2024
@carlosmiei
Copy link
Collaborator

Hello @eprokhor, you have a version that still calls it huobi (the rename is relatively recent).

If you update your ccxt version you should be able to use htx (it's huobi but renamed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants