For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/institutional/post-markets-quote-cefi.md.
Compute market quote
Calculate a quote preview for an asset using current visible order book depth. Supports both base quantity and quote (notional) quantity via the required qty_unit parameter.
For qty_unit=QUOTE, the exchange computes the largest executable base quantity that fits within the requested quote amount while respecting the instrument's base increment at the final consumed price level. As a result, the returned notional may be slightly less than the requested quote amount and the difference is reported in notional_residual.
Quote request parameters. qty_unit is required and has no default.
application/json- body
qty*stringThe quantity to quote. Interpretation depends on qty_unit: for BASE this is the base asset amount, for QUOTE this is the notional (e.g. USD) amount.
^[0-9]+(\.[0-9]+)?$1 <= lengthinstrument_id*stringThe instrument ID for which to calculate the quote. Must be a valid non-zero numeric ID.
^[1-9][0-9]*$1 <= lengthside*stringThe side of the quote request. BUY calculates the price to buy the base asset, SELL calculates the price to sell.
"BUY""SELL"qty_unit*stringUnit of the qty field. BASE means qty is in base asset units, QUOTE means qty is in quote asset (notional) units. Required — no default.
"BASE""QUOTE"Successful operation.
application/json- response
qty?stringThe base quantity. For qty_unit=QUOTE, this is the computed base amount. For qty_unit=BASE, this echoes back the requested base quantity.
price?stringThe calculated VWAP (Volume-Weighted Average Price) across consumed order book levels.
notional?stringSchema v2026_01_23 only. The expected quote amount consumed from visible order book liquidity.
notional_residual?stringSchema v2026_01_23 only. The unfilled portion of the requested quote amount. This is typically zero, but for qty_unit=QUOTE it can be positive when the remaining amount is smaller than one base increment at the final consumed price level.
curl -X POST 'https://api.truex.co/v1/cefi/markets/quote' \ -H 'Content-Type: application/json' \ -d '{ "qty": "1.5", "instrument_id": "1", "side": "BUY", "qty_unit": "BASE"}'{ "qty": "1.5", "price": "50025.50", "notional": "75038.25", "notional_residual": "0.10"}Get auction state and indicative GET
Query for the opening-auction state (and, while in an opening auction, the indicative) by instrument ID. If no query parameters are supplied then the state for ALL available instruments is returned. auction_mode is always present; the auction_indicative object is included only while the instrument is in an opening auction (OPENING or LOCKED) and omitted otherwise.
Get clients GET
Query for a user's information.