What a set of holdings would fetch if sold now

Each holding is run through the router as a sale of the whole amount, so the answer counts the depth of the QX order book and the QSwap pool and every fee, not just units times the last price. Where the market cannot take the whole holding, only the part it can take is counted and the holding is marked incomplete. Each asset is priced on its own. Nothing is sent or reserved.

post/v1/liquidation

Request

  • Base URL: https://qmax.exchange/api
  • URL: https://qmax.exchange/api/v1/liquidation
  • Auth: none declared

Request body

Response

{ items: [{ asset, qty, fillableQty, proceedsQu, avgPriceQu, midValueQu, haircutPct, venues, complete, error? }], totalProceedsQu, totalMidQu, incomplete, at }

Changes

No recorded changes to this operation across all 1 revision of this API.