Skip to content
All library documents

Reading Wex Simulated Spot Order Fills and Fees

Article FMZ forum · Author: 韬奋量化

Summary

The article explains how to inspect market-order results from a simulated BTC/USDT account using an exchange debugging tool and the Wex order history. In its examples, the standard average-price field is zero, while the first fill detail contains the execution price. It compares account balances before and after a buy and a sell with the returned order data, then derives average execution price by dividing the reported transaction value by filled quantity. It also checks fees against the account balance change.

The examples report a fee rate of 0.00075 and show small discrepancies between fee or balance calculations, which the author attributes to rounding or matching calculations without resolving their source. The article is a platform-specific troubleshooting note, not a general exchange specification or a strategy evaluation. Its central practical lesson is to verify API fields against actual fill history and account changes; field meanings and availability may differ across platforms and order types.

Key ideas

  • In the documented Wex response, the standard average-price field is zero even when the market order has filled.
  • The author identifies the first fill detail's price as the useful execution-price field for these examples.
  • Reported transaction value divided by filled quantity reproduces the stated average execution price.
  • Comparing pre-trade and post-trade balances helps check filled quantities and fee effects.
  • Small discrepancies appear in the examples, and the article does not establish their precise cause.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.