How far apart QX and QSwap priced a token, hour by hour, and how often the gap would have paid after fees
Built from the trade index (what was actually paid on each venue, hourly volume-weighted prices). premiumPct is (QSwap - QX) / QX * 100, so positive means QSwap was dearer. points are averages over barMs; summary is computed from the individual hours. 'Profitable' is an indication from hourly averages, not a guarantee: it ignores the QX spread, order book depth, slippage and that the legs are separate transactions. profitableDeepShare is the same indication counting only hours in which at least referenceQu traded on each venue. For a token that trades on one venue only, points is empty and bothVenues is false.
Request
- Base URL: https://qmax.exchange/api
- URL: https://qmax.exchange/api/v1/premium
- Auth: none declared
Query parameters
Asset id from /v1/assets
Trade size in QU the break-even is worked out for (the flat per-swap fee matters more for small trades).
Hours a venue's last price may be carried forward to an hour the other venue traded in (0: same hour only). Carried points are marked.
Response
The premium series and its summary
Changes
No recorded changes to this operation across all 1 revision of this API.