HTX
How ARBHUB reads HTX: the markets it covers, funding cadence, settlement and caps, fees, and the quirks of its feed.
ARBHUB reads HTX’s USDT-margined linear swaps: funding rates and intervals, polled ticker prices, and polled order books on the Spread page.
HTX is a centralized exchange, one of the 13 venues ARBHUB reads; Data & coverage lists them all and explains how stale quotes are flagged.
Markets
Active linear perpetual swaps without expiry, quoted in USDT; funding comes from HTX’s linear-swap API, which covers the USDT-margined swaps.
Funding
- Cadence: Set per contract: ARBHUB reads each contract’s settlement period from HTX’s contract-info endpoint and treats a contract missing there as eight-hour until the next read.
- Settlement: HTX’s batch funding endpoint publishes no next settlement time, so ARBHUB places the countdown on the UTC grid of the contract’s interval, starting at midnight.
- Cap: Set per contract by HTX; ARBHUB has no recorded HTX settlements to observe a cap from, so check the contract’s specification on HTX.
The matrix compares rates of every cadence after normalizing them to one common interval, while cash still moves on HTX’s own clock; Intervals & normalization shows the math.
Fees
Net figures use the taker fee ccxt lists for each HTX contract, or a default rate when none is listed; VIP tiers, token discounts and maker rebates are not applied, so check your own fee tier on HTX.
Prices and order books
- Prices are polled over HTX’s REST API, so they refresh in steps rather than tick by tick. The matrix compares HTX at each contract’s last price, the last trade price HTX’s ticker reports.
- The Spread page polls HTX’s order book over REST from your browser, so depth and VWAP update on each poll.
Quirks to know
- ccxt streams HTX tickers one contract per subscription and has no bulk ticker stream for it, so HTX prices refresh on ARBHUB’s REST polling cadence and lag the streamed venues.
- HTX compresses its order book stream with gzip, which the browser build of ccxt cannot decode, so the Spread page polls HTX books instead.