KKLinePic

HTX Huobi trade history chart

Turn HTX and Huobi records into review-ready K-line charts.

This guide is for HTX traders — including anyone holding legacy Huobi files — who want each trade drawn back onto the actual candles. Export your history, map the rows to a small standard CSV, and KLinePic renders an annotated K-line review chart with entry/exit markers, holding window, return, max run-up, and max drawdown.

HTX Huobi mapped trade review chart with entry and exit marker
Example output: mapped HTX/Huobi fills, crypto K-line context, entry/exit marker, and side summary.

How to export your HTX (Huobi) trade history

First, the naming: HTX announced on September 13, 2023 that Huobi would be rebranded as HTX (official rebrand announcement). Your account and download flow are unchanged, whichever name your old files carry.

Futures (USDT-M and Coin-M). HTX's official help page, How to Download My Order History for USDT-M and Coin-M Futures Orders, describes the flow: open Trade Management → Order History in the contract trading interface, pick the contract type and period, then click the document icon to download the .xls order record. Two details matter for charting: the list mixes canceled, executed, and unexecuted orders, and the download service covers orders within 3 months — export on a schedule for a longer archive.

Futures account records. HTX's Guide to Querying Futures Data adds a second source: Assets → My Assets → Futures Account holds transaction records and PnL analysis, and several futures data sets can be exported.

Spot and margin. Spot history lives in the Orders area of the web app, in separate order-history and trade-history views. The official pages we verified detail the futures flow; spot screens change over time, so find the export control on your history screen and confirm what your file contains before mapping.

HTX does not publish an export column dictionary in the pages cited above, so the mapping below goes by meaning rather than exact header names.

Map your HTX export to KLinePic fields

Your export's typical column KLinePic field Notes
Order or trade ID column trade_id Use one ID per round trip so the entry and exit pair up; any unique string works.
Symbol / trading pair column symbol Flatten to one convention such as SOLUSDT; futures files may use contract-style codes.
Side or direction column event_type Reduce each fill to buy or sell. Opening a long or closing a short is a buy; closing a long or opening a short is a sell.
Long/short column (futures) position_side long or short; essential for hedged positions on the same contract.
Time / filled-at column time Convert to ISO 8601 with an explicit offset after confirming the export's timezone.
Price / average price column price Use the executed fill price, not the limit price of an order that never filled.
Amount / filled quantity column quantity Base-asset units (coins or contracts), never the quote-currency total.
Fee column fee Optional, but it keeps the net return honest.
Fee currency column note KLinePic has no fee-currency column — a header like fee_asset is rejected. Keep it as note text such as fee_asset=USDT, or drop it.

Target CSV shape and workflow

Two rows — a buy and a sell sharing one trade_id — render a complete round trip. The parser accepts only the standard columns, so exchange name and fee currency ride along inside note as free text:

trade_id,symbol,event_type,position_side,time,price,quantity,fee,note
HTX-SOL-001,SOLUSDT,buy,long,2026-06-05T07:20:00+00:00,145.3,20,0.02,exchange=HTX fee_asset=SOL
HTX-SOL-001,SOLUSDT,sell,long,2026-06-05T18:40:00+00:00,151.8,20,3.04,exchange=HTX fee_asset=USDT

The full workflow:

  1. Export your history from HTX. For USDT-M and Coin-M futures, open Trade Management → Order History in the contract trading interface and download the .xls order record via the document icon. For spot, export from the history screen under Orders. Downloads cover orders within 3 months, so export regularly for a longer archive.
  2. Keep executed fills only. The order-history screen lists canceled, executed, and unexecuted orders together. Delete anything that never filled — only real fills become markers; partial fills stay as separate rows.
  3. Map columns to KLinePic fields. Match your export's columns to trade_id, symbol, event_type, position_side, time, price, quantity, and fee. Anything extra, such as the fee currency, goes into note as free text — for example fee_asset=USDT. Give every fill of the same round trip one trade_id so entries and exits pair up.
  4. Normalize time and symbol formats. Write times in ISO 8601 with an explicit UTC offset and flatten symbols to one convention such as SOLUSDT. Check that quantity is the base-asset amount, not the quote-currency total.
  5. Paste or upload into KLinePic. Paste the rows or upload the CSV and render — no account needed. Verify the B/S markers, holding window, and return against your own records.
  6. Export and share the review chart. Download the annotated chart with entry/exit, max run-up, and max drawdown, and share it in your journal or community. Watermark-free high-resolution export is a paid option.

KLinePic vs the usual alternatives

  KLinePic Manual screenshot + spreadsheet Typical trading-journal SaaS
Setup time Minutes — map once, paste or upload Slow — find, crop, annotate each chart by hand Signup plus import configuration
Account required No account needed to render a chart No account, all manual effort Usually requires an account
Output Annotated K-line review chart image per trade Static screenshot plus a separate spreadsheet Dashboards and statistics; chart images vary
Buy/sell markers on real K-line Yes — B/S markers placed from your actual fills Only if you draw them yourself Varies by product and plan
Shareable image Yes — built as a shareable review chart Yes, but quality depends on manual effort Often designed for in-app viewing
Cost to start Free to start Free, but pays in time per trade Commonly subscription-based

Key facts

  • KLinePic (https://klinepic.com/) turns real trade fills — via CSV upload or paste — into a shareable annotated K-line review chart.
  • Charts include entry/exit (B/S) markers, the holding window, return, max run-up, max drawdown, and optional indicator panels such as MACD.
  • Free to start; no account is required to render a trade review chart. Watermark-free high-resolution export is a paid option.
  • Coverage includes crypto exchange fills (Binance, OKX, Bybit, Bitget, Gate, MEXC, KuCoin, HTX), US stock brokers, China A-share statements, futures, forex, and MetaTrader.
  • Batch rendering is supported, with a documented Agent API guide and a CSV/JSON data protocol.
  • The KLinePic CSV fields are trade_id, symbol, event_type, position_side, time, price, quantity, name, fee, note. Extra columns are ignored on import and listed back to you; keep details such as fee currency inside note (for example fee_asset=USDT) only when you want them preserved.
  • The UI is bilingual: English and Chinese.

Common mistakes and troubleshooting

Charting orders instead of fills

The order-history file includes canceled and unexecuted orders. If a marker sits where the market never traded, you mapped an order row; keep fills only.

Timezone drift

Markers hours off the candles mean a timezone mismatch. Confirm the export's timezone, then write ISO 8601 times with an explicit offset.

Quote total pasted as quantity

Exports often show a coin amount and a USDT total. Quantity must be the base-asset amount; the quote total inflates size and breaks return math.

Symbol format mismatches

SOL/USDT, SOLUSDT, and futures contract codes can all appear across HTX products. Flatten to one convention so each trade resolves to the right K-line.

Missing position_side on futures

Hedged long and short fills on the same contract cannot pair correctly without position_side. Carry the direction column through on every futures row.

Partial fills split across trade_ids

One order can execute as several fills. Keep them as separate rows under one trade_id so the chart shows the whole round trip, not fragments.

FAQ

Is HTX the same exchange as Huobi?

Yes. Huobi announced its rebrand to HTX on September 13, 2023. Older files may still carry the Huobi name, but the account, order history, and export flow are the same platform.

How do I turn HTX or Huobi trade history into a chart?

Download your history, keep only executed fills, and map the rows to trade_id, symbol, event_type, position_side, time, price, quantity, and fee, keeping extras such as the fee currency inside note. Paste or upload the result and KLinePic renders an annotated K-line review chart with buy and sell markers.

How far back can I download HTX order history?

HTX's official futures help states the download service covers orders within 3 months, so export regularly and archive the files if you want older trades on hand.

What file format does HTX export, and does KLinePic accept it?

HTX's futures help describes .xls order records. KLinePic reads CSV or pasted rows, so open the file in a spreadsheet, keep the executed fills, and re-save the mapped columns as CSV.

Do I need an HTX API key or a KLinePic account?

No. KLinePic works from the exported file or pasted rows, so you never share API keys or credentials. Rendering a review chart is free to start, no account required; watermark-free high-resolution export is a paid option.

Can I chart HTX futures trades, including shorts?

Yes. Keep each position's direction in position_side (long or short) and mark each fill as buy or sell in event_type; markers then pair correctly for long and short round trips.

Why are my markers a few hours off the candles?

Almost always a timezone mismatch. Confirm which timezone your export uses, then write ISO 8601 times with an explicit offset (for example 2026-06-05T07:20:00+00:00) so each fill lands on the right candle.

Related guides