Market Cap: $2.9466T 1.57%
Volume(24h): $109.9491B -27.45%
Fear & Greed Index:

78 - Extreme Greed

  • Market Cap: $2.9466T 1.57%
  • Volume(24h): $109.9491B -27.45%
  • Fear & Greed Index:
  • Market Cap: $2.9466T 1.57%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How to Check Your Binance Spot Trading History?

Binance 提供 Web 界面与 REST API(如 `/api/v3/myTrades`)双路径查询现货成交历史,支持按符号、时间范围筛选及 CSV/Parquet 导出,但 API 不返回已取消订单,且所有时间戳均为 UTC。

Sep 24, 2026 at 02:59 am

Accessing Spot Trading History via Binance Web Interface

1. Log in to your Binance account using verified credentials and navigate to the [Trade] section in the top menu bar.

2. Select [Spot] to enter the spot trading dashboard, then click on the [Order History] tab located just below the trading chart.

3. The interface displays executed orders with timestamps, symbols, side (buy/sell), price, quantity, total, and status. Filters for date range, symbol, and order type are available at the top.

4. Click the download icon (arrow-down) to export the visible history as a CSV file. This export is limited to the currently loaded page — pagination must be handled manually for full coverage.

5. For orders older than 90 days, users must enable the [Advanced Order History] toggle. This feature requires completing KYC Level 2 verification and grants access to records up to 180 days old.

Retrieving Historical Data Using Binance REST API

1. Obtain valid API keys from the Binance API Management page with the read:trades permission enabled and IP whitelisting configured.

2. Call the /api/v3/myTrades endpoint with required parameters: symbol (e.g., BTCUSDT), timestamp, and signature. Pagination is controlled via the fromId and limit fields.

3. Each response contains trade ID, price, quantity, quote quantity, time, isBuyerMaker flag, and commission details. Timestamps are in milliseconds since Unix epoch.

4. To fetch trades across multiple symbols, iterate through /api/v3/ticker/price or /api/v3/exchangeInfo to collect active trading pairs before issuing individual trade requests.

5. Responses do not include fiat conversion values. Users must fetch historical USDT or BUSD exchange rates separately if calculating PnL in fiat terms.

Automated History Aggregation with Python Libraries

1. Install python-binance using pip and initialize the client with API key and secret. Ensure the system clock is synchronized within ±1 second of NTP servers to avoid signature errors.

2. Use client.get_my_trades(symbol='ETHUSDT') to retrieve up to 1000 most recent trades per call. Loop with fromId set to the lowest trade ID from the previous batch until no new entries return.

3. Normalize raw JSON responses into Pandas DataFrames. Columns such as price, qty, quoteQty, and time require explicit type casting for numerical operations.

4. Merge results across symbols into a single chronological dataset. Sort by time ascending and deduplicate based on tradeId to prevent overlaps during batch transitions.

5. Export final dataset to Parquet format for efficient storage and querying. Avoid CSV for long-term archival due to lack of schema enforcement and timestamp precision loss.

Data Integrity and Timezone Considerations

1. All timestamps returned by Binance APIs are in UTC without timezone offset indicators. Local timezone conversion must be performed explicitly in downstream tools.

2. The web interface displays times in the user’s browser-local timezone but stores them internally as UTC. Discrepancies may appear when comparing exported CSV timestamps with API responses.

3. Order execution time in the API differs from transaction confirmation time on-chain. Spot trades settle instantly on Binance’s internal ledger; no blockchain confirmation delay applies.

4. Trade history does not reflect balance changes caused by fees deducted from base or quote assets. Fee accounting must be derived from the commission and commissionAsset fields.

5. Canceled orders appear only in the Order History tab if they were placed within the last 7 days and have not been purged. They are excluded from /api/v3/myTrades responses entirely.

Frequently Asked Questions

Q: Can I retrieve trade history for delisted symbols?A: Yes, provided the symbol was active at the time of the trade and the trade occurred within the retention window. Delisting does not erase historical trade records from API or web access.

Q: Why do some trades show zero commission even when fees are applied?A: This occurs when the commission is deducted from the quote asset and the commissionAsset field equals the quote asset. The numeric value remains zero because the fee is embedded in the executed price spread.

Q: Is there a way to identify wash trades or self-matches in my history?A: Binance does not label self-match trades in public responses. Users must cross-reference isBuyerMaker flags and timestamps across opposing orders to detect potential internal matching patterns.

Q: Do API rate limits apply differently for trade history endpoints compared to market data?A: Yes. /api/v3/myTrades falls under the USER_DATA weight category with a default limit of 2400 weight per minute, whereas public endpoints like /api/v3/ticker/price use IP weight with higher allowances.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

See all articles

User not found or password invalid

Your input is correct