HTX no TaxChain
Ainda não disponívelO TaxChain ainda não consegue importar HTX. Esta página diz o que existe e o que falta.
Esta página está em inglês, para dizer exatamente o que dizem a documentação da plataforma e o código do TaxChain. Os títulos e o resto do site estão no seu idioma.
HTX, formerly Huobi Global, is an offshore exchange with spot, margin and derivatives markets. TaxChain has an API import for it through CCXT, but does not offer it: tested against HTX's documented API, a first sync fails, and HTX serves trade history for the last 120 days only. TaxChain reads no HTX file yet.
Formas de importar
Envio de ficheiroPode ser adicionado
HTX history export (not built)
HTX has two kinds of file. The web export under Orders, Spot & Margin, Details covers about the last 4 months [1]. Older history comes only on request from HTX support, which asks for identification [2]. Other tools describe that file as a workbook, huobi_all_history_in_tabs.xlsx, with separate Exchange and Transfer tabs [3].
HTX does not publish the columns of either file, and we have not seen a real one. A reader needs a real export to build and test against.
Ligação por APIAinda não disponível
CCXT `htx` (4.5.93)
Not offered. If it were: a read-only API key and its secret. HTX says a key not bound to an IP address can expire after 90 days [4].
Trades come from `GET /v1/order/matchresults`. HTX takes a window of at most 48 hours, within the last 120 days, and refuses anything else with `invalid_start_time` or `invalid_interval` [4]. TaxChain's sync asks from 1 January 2017 on a first sync, and from the previous sync after that, with no end time. Tested against a server that answers as HTX documents, a first sync fails, and so does any sync started more than 48 hours after the last one [5]. rotki walks the 120 days in 48-hour windows instead [6].
Deposits and withdrawals come from `GET /v1/query/deposit-withdraw`, which pages by record id, not by time. CCXT sends no time and always asks for the same 100 rows. In the same test, 250 deposits imported as 100, and nothing reported a gap.
CCXT's ledger call (`GET /v2/account/ledger`) lists only transfers between the user's own HTX accounts, over at most 10 days within the last 180 [4]. Nothing taxable is in it. When HTX refuses the query, CCXT returns an empty list instead of an error.
Interest, maker rebates, credits and other balance changes appear only in `GET /v1/account/history`, which serves 1-hour windows within the last 30 days [4]. CCXT does not call it. Derivative fills, funding and P&L are on separate contract APIs that the sync does not read.
HTX shut down its testnet [4], so the import cannot be tested on a sandbox stack. CCXT's `htx` has no test URL. In sandbox mode the client has no address to call, and every request fails.
O que é lido
| Operação | Estado |
|---|---|
| Spot tradesIf the API were offered: buys and sells, both sides, from the fills list. HTX serves the last 120 days only, and the current sync fails before reading any of them. HTX's spot markets are all quoted in crypto (USDT, USDC, USDD, BTC, ETH and others), so every trade also disposes of or acquires its quote coin [7]. | Lido em parte |
| Trading feesIn the coin charged. A fee paid with HTX point cards is recorded in HBPOINT, which has no market price. A maker rebate is not recorded as a cost. | Lido |
| Maker rebatesHTX pays rebates later, as a separate balance change that the sync does not read. | Não lido |
| Deposits and withdrawalsRead with the network fee. Only the first page of 100 of each is read. Instant transfers to other HTX users (FAST, no hash) are read as withdrawals. | Lido em parte |
| MarginThe fills list HTX documents includes fills from margin accounts, read as trades. Borrowing, repayment and interest are not read. | Lido em parte |
| Converts and small-balance conversionsCCXT has no convert history for HTX. A missing purchase stops the calculation for review. | Não lido |
| Earn and stakingNo HTX Earn or staking endpoint is read. Add the income by hand. | Não lido |
| Perpetuals and futures: realised P&L and fundingContract fills are refused as non-spot, and funding and settlements are not fetched. | Não lido |
| P2P and card purchasesThey settle in HTX's fiat (OTC) account. The coins then reach spot as an internal transfer, which carries no purchase price. Add the purchase by hand. | Não lido |
| Airdrops and distributionsThey are booked as balance changes outside the lists the sync reads. | Não lido |
Limitações
HTX cannot be connected today. The API import exists in the code but is not offered, and TaxChain reads no HTX file.
- HTX is not authorised under MiCA. It is not in ESMA's register of authorised crypto-asset service providers [8].
- The EU's 21st Russia sanctions package lists HTX. From 23 August 2026, people and firms in the EU may not transact with it, apart from authorised withdrawals and account closures [9]. This is reporting, not legal advice. Check what applies to you.
- HTX's API serves trades for the last 120 days only, and balance changes for the last 30 days. A full history needs HTX's own file, requested from its support [2].
- Until TaxChain reads HTX, you can enter your HTX history with the TaxChain CSV template.
Como foi verificado
- 20 de novembro de 2026HTX's documented responses (fills, deposits, withdrawals in every documented state, ledger transfers), parsed by CCXT 4.5.93's own HTX parser and passed through TaxChain's normalisers, together with one spot fill CCXT recorded from HTX. Built from documentation, not from a real account.
- 20 de novembro de 2026The full sync, run through the real CCXT client against a stand-in server that enforces HTX's documented windows, paging and error codes. Six defects found (first sync fails, later syncs fail after 48 hours, deposits stop at 100, a refused ledger query reads as empty, amounts lose their 18th decimal, sandbox listed). Each is kept as an expected-fail test.
- 20 de novembro de 2026HTX's public market list, called without a key: 2,191 symbols, 614 online, none quoted in fiat.
O que o tornaria Verificado
First, the owner decides whether TaxChain should list HTX at all, given the EU sanctions and the missing MiCA authorisation.
CSV: a reader for HTX's full-history file, built from a real file. Verified once one real export runs through the engine and the resulting holdings match the account's balances.
API: an HTX-specific walk, with 48-hour windows over the last 120 days for trades, record-id paging for deposits and withdrawals, and `/v1/account/history` for income. Then a check against a real account's read-only key. It can never reach older history.
Como adicionar
- For the last 4 months: on HTX, open Orders, then Spot & Margin, then Details, and use the export icon [1].
- For your whole history: ask HTX support for your full account history, from before your first transaction to today. Expect HTX to ask for identification [2].
- Keep the file as HTX sends it. TaxChain cannot read it yet. Until it can, enter the trades, deposits and withdrawals with the TaxChain CSV template.
Referências
- [1]HTX integration guide. Coinpanda. Web export path, the 4-month limit and the 90-day key expiry. As of 2026.
- [2]Huobi import guide. Waltio. Full-history request through HTX, with identification.
- [3]Huobi CSV settings for the custom importer. CoinTracking. Names the full-history workbook and its Exchange and Transfer tabs. No column list in text.
- [4]HTX (Huobi) spot API v1 reference. HTX. Read 2026-11-20: Search Match Results (48-hour window within 120 days), Search for Existed Withdraws and Deposits (id paging), Get Account Ledger (transfers only; 10 days within 180), Get Account History (1 hour within 30 days), key expiry, testnet stopped.
- [5]CCXT htx exchange class, version 4.5.93. CCXT.
- [6]rotki HTX exchange client. rotki. Walks matchresults in 48-hour windows back to 120 days. Pages deposits and withdrawals by id, newest first.
- [7]HTX public symbol list (GET /v1/common/symbols). HTX. Called 2026-11-20: 2,191 symbols, 614 online, quoted in USDT, USDC, USDD, BTC, ETH and KGST.
- [8]Interim MiCA register: authorised crypto-asset service providers (CASPS.csv). ESMA. Downloaded 2026-11-20. No HTX or Huobi entry.
- [9]EU adds HTX to Russia sanctions list, barring transactions starting Aug. 23. The Block. News report of the 21st package. The Official Journal text was not checked.
Última verificação face à documentação da plataforma e ao código do TaxChain em 20 de novembro de 2026.