KLinePic

Downloads

Input templates

Trade record CSV templates

Every template ships the correct header plus realistic sample rows. Download one, keep the header, replace the samples with your own fills, and upload it to generate a review chart. Standard-header files use the K-Line trade record format; platform-native files reproduce a broker or terminal export so you can test the importer with the exact layout your platform produces.

Files8 CSV templates + 1 JSON sample
FormatsStandard header and platform-native layouts
CostFree downloads, no sign-up
ETHUSDT Rendered from the Binance template
Binance ETHUSDT trade review chart generated from the trade history template
All templates

Pick the file that matches your platform

The standard header is trade_id,symbol,event_type,position_side,time,price,quantity,fee,note — fee and note may stay empty. Each guide link covers the field mapping for that platform in detail.

Standard header

Binance trade history

Spot or futures fills on pairs such as ETHUSDT, with the fee asset noted per row.

Download CSV Binance guide
Standard header

OKX / Bybit / HTX exchange fills

Multi-exchange crypto fills; the note column records the source exchange and fee asset.

Download CSV Exchange export guide
Standard header

US stock trading journal

Ticker-based entries such as AAPL with US-market timestamps and USD amounts.

Download CSV US stock guide
Standard header

A-share trade review

6-digit A-share codes such as 600519 with Beijing-time fills and CNY fees.

Download CSV A-share guide
Standard header

Prediction market fills

Kalshi / Polymarket-style contracts priced 0–1, with the market side kept in the note column.

Download CSV Kalshi guide
Platform-native columns

Broker statement (Tonghuashun-style)

Chinese broker statement columns — 成交日期, 证券代码, 操作, 成交均价 — exactly as brokers export them; the importer converts this layout automatically.

Download CSV Broker statement guide
Platform-native columns

Futures trade statement

Domestic futures statement columns (合约代码, 买卖, 手数) for contracts such as IF2406.

Download CSV Futures guide
Platform-native columns

MetaTrader account history

MT4/MT5 statement columns — Ticket, Open Time, Type, Size, Item — as exported from the terminal.

Download CSV MetaTrader guide
JSON sample

Agent API review-chart request

A complete request body for POST /api/agents/review-chart, ready to adapt for automated chart generation.

Download JSON Agent API guide

How to use a template

  • Keep the header row exactly as shipped.
  • Replace the sample rows with your own fills — one row per fill, one trade_id per trade.
  • Upload the file on the upload page and confirm the detected buy/sell rows.

Have a raw export instead?

You usually do not need a template at all: broker statements, Tonghuashun exports, exchange trade history, and MetaTrader reports upload directly and are converted automatically. Templates are for building a file by hand or testing the importer.