Skip to main content
GET
Get prediction order
This endpoint is in closed beta. It is available only to accounts enrolled in the beta, and only on staging (https://api.tradearies.dev). Request and response shapes may change before general availability.

Overview

Place Prediction Order returns before the venue answers. Use the returned orderId here to see what happened. data.order is the order’s current state, and data.reports lists every venue execution report against it. Both are read from one snapshot, so they agree.

Reading the order

Optional decimals and timestamps are omitted when absent, never sent as zero. Every decimal is an exact value serialized as a JSON string.

Execution reports

Each entry in data.reports is one venue report. For a fill, lastQty and lastPx give the quantity and price of that fill. bustedAt is set if the venue later cancelled the trade.

Example

Errors

Authorizations

Authorization
string
header
required

OAuth2 Bearer token: obtain an access token from the token endpoint and send it in the Authorization header.

FlowAuthorization Code
Authorization URL
https://app.aries.com/oauth2/authorize
Token URL
https://api.aries.com/v1/oauth2/token
Refresh URL
https://api.aries.com/v1/oauth2/token
FlowClient Credentials
Token URL
https://api.aries.com/v1/oauth2/token
Refresh URL
https://api.aries.com/v1/oauth2/token

Path Parameters

orderId
string<uuid>
required

orderId returned by Place Prediction Order or List Prediction Orders.

Response

The order and its reports.

Standard success envelope used by all success responses. data is endpoint-specific.

success
boolean
required
Example:

true

data
object

An order and every venue report against it, read from one snapshot.