from finance_dev import FinanceDev, models
with FinanceDev(
security=models.Security(
client_id="<YOUR_CLIENT_ID_HERE>",
client_secret="<YOUR_CLIENT_SECRET_HERE>",
),
) as fd_client:
res = fd_client.predictions.orders.list_prediction_orders(status="open", limit=50)
assert res.object is not None
# Handle response
print(res.object)import { FinanceDev } from "@ariesdotcom/finance-dev";
const financeDev = new FinanceDev({
security: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
},
});
async function run() {
const result = await financeDev.predictions.listOrders({
status: "open",
});
console.log(result);
}
run();curl --request GET \
--url https://api.aries.com/v1/predictions/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/predictions/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aries.com/v1/predictions/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aries.com/v1/predictions/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aries.com/v1/predictions/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/predictions/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"orders": [
{
"accountId": "ACCOUNT-0001",
"avgPx": "0",
"contract": {
"description": "Shelley Moore Capito",
"eventDisplayName": "West Virginia Senate General Election November 3 2026",
"eventId": "AXXWV_110326",
"question": "Will Shelley Moore Capito win the West Virginia general election for US Senate in 2026?",
"state": "ACTIVE",
"resultOutcome": "YES",
"settledAt": "2023-11-07T05:31:56Z",
"settlementValue": "1"
},
"createdAt": "2023-11-07T05:31:56Z",
"cumQty": "0",
"leavesQty": "10",
"orderId": "0b9f3c2e-5d6a-4f1b-8e7c-9a0d1e2f3a4b",
"orderType": "limit",
"outcome": "YES",
"quantity": "10",
"side": "buy",
"state": "pending_new",
"symbol": "HORC_1126_Republican",
"timeInForce": "day",
"updatedAt": "2023-11-07T05:31:56Z",
"workingQuantity": "10",
"certainty": "certain",
"certaintyReason": "<string>",
"clOrdId": "<string>",
"clientOrderRef": "7d1c8e0a-4b8f-4e3a-9f43-2a6b1d0c9e11",
"closedAt": "2023-11-07T05:31:56Z",
"expireTime": "2023-11-07T05:31:56Z",
"firstAckAt": "2023-11-07T05:31:56Z",
"pendingAction": "none",
"placedBy": "<string>",
"price": "0.54",
"rejectReason": "<string>",
"rejectText": "<string>",
"sentAt": "2023-11-07T05:31:56Z",
"stopPx": "0.50",
"venueOrderId": "<string>",
"version": 123,
"workingOrderType": "<string>",
"workingPrice": "0.54"
}
],
"nextCursor": "<string>"
}
}List Prediction Orders
Returns an account’s current prediction-market orders: every open order, however old, and every order created or closed this trading day.
Use Case: Show an account’s working orders and today’s activity, or find an order after a placement returned 504.
from finance_dev import FinanceDev, models
with FinanceDev(
security=models.Security(
client_id="<YOUR_CLIENT_ID_HERE>",
client_secret="<YOUR_CLIENT_SECRET_HERE>",
),
) as fd_client:
res = fd_client.predictions.orders.list_prediction_orders(status="open", limit=50)
assert res.object is not None
# Handle response
print(res.object)import { FinanceDev } from "@ariesdotcom/finance-dev";
const financeDev = new FinanceDev({
security: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
},
});
async function run() {
const result = await financeDev.predictions.listOrders({
status: "open",
});
console.log(result);
}
run();curl --request GET \
--url https://api.aries.com/v1/predictions/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/predictions/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aries.com/v1/predictions/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aries.com/v1/predictions/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aries.com/v1/predictions/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/predictions/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"orders": [
{
"accountId": "ACCOUNT-0001",
"avgPx": "0",
"contract": {
"description": "Shelley Moore Capito",
"eventDisplayName": "West Virginia Senate General Election November 3 2026",
"eventId": "AXXWV_110326",
"question": "Will Shelley Moore Capito win the West Virginia general election for US Senate in 2026?",
"state": "ACTIVE",
"resultOutcome": "YES",
"settledAt": "2023-11-07T05:31:56Z",
"settlementValue": "1"
},
"createdAt": "2023-11-07T05:31:56Z",
"cumQty": "0",
"leavesQty": "10",
"orderId": "0b9f3c2e-5d6a-4f1b-8e7c-9a0d1e2f3a4b",
"orderType": "limit",
"outcome": "YES",
"quantity": "10",
"side": "buy",
"state": "pending_new",
"symbol": "HORC_1126_Republican",
"timeInForce": "day",
"updatedAt": "2023-11-07T05:31:56Z",
"workingQuantity": "10",
"certainty": "certain",
"certaintyReason": "<string>",
"clOrdId": "<string>",
"clientOrderRef": "7d1c8e0a-4b8f-4e3a-9f43-2a6b1d0c9e11",
"closedAt": "2023-11-07T05:31:56Z",
"expireTime": "2023-11-07T05:31:56Z",
"firstAckAt": "2023-11-07T05:31:56Z",
"pendingAction": "none",
"placedBy": "<string>",
"price": "0.54",
"rejectReason": "<string>",
"rejectText": "<string>",
"sentAt": "2023-11-07T05:31:56Z",
"stopPx": "0.50",
"venueOrderId": "<string>",
"version": 123,
"workingOrderType": "<string>",
"workingPrice": "0.54"
}
],
"nextCursor": "<string>"
}
}Overview
accountId is required. Orders belong to the account, so every order on it is returned, whoever placed it. placedBy narrows the list to the orders one user placed.
This is the current view, not the whole history. It returns:
- every order still open (
pending_new,new,partially_filled,unknown), however long ago it was placed, such as agtcorder from last week, and - every order created or closed since the trading day rolled over at 17:00 America/Chicago.
data.order in Get Prediction Order, without the fills and events. That includes contract: the contract’s event, label, question and lifecycle, or null when the catalogue does not have it.
Filter by state
status takes a comma-separated list of states:
GET /v1/predictions/orders?accountId=ACCOUNT-0001&status=filled,canceled
open is shorthand for every state an order can still rest or execute in: pending_new, new, partially_filled, and unknown. It can be combined with other states.
GET /v1/predictions/orders?accountId=ACCOUNT-0001&status=open
pending_new, new, partially_filled, filled, canceled, rejected, expired, done_for_day, and unknown. Any other value returns 400.
symbol and placedBy narrow the results further.
Paging
limit sets the page size. It defaults to 50, and values above 200 are clamped to 200.
Pass the response’s nextCursor as cursor to fetch the next page. nextCursor is absent on the last page.
{
"success": true,
"data": {
"orders": [
{
"orderId": "0b9f3c2e-5d6a-4f1b-8e7c-9a0d1e2f3a4b",
"accountId": "ACCOUNT-0001",
"clientOrderRef": "7d1c8e0a-4b8f-4e3a-9f43-2a6b1d0c9e11",
"symbol": "HORC_1126_Republican",
"contract": {
"eventId": "HORC_1126",
"eventDisplayName": "US House of Representatives Control November 2026",
"description": "Republican",
"question": "Will the Republican Party win a majority in the United States House of Representatives in the 2026 general election?",
"state": "ACTIVE"
},
"outcome": "YES",
"side": "buy",
"orderType": "limit",
"timeInForce": "day",
"quantity": "10",
"price": "0.54",
"workingQuantity": "10",
"state": "new",
"cumQty": "0",
"leavesQty": "10",
"avgPx": "0",
"createdAt": "2026-10-08T14:02:11.482Z",
"updatedAt": "2026-10-08T14:02:11.497Z"
}
],
"nextCursor": "string"
}
}
Example
curl -X GET "https://api.tradearies.dev/v1/predictions/orders?accountId=ACCOUNT-0001&status=open&limit=50" \
-H "Authorization: Bearer $ACCESS_TOKEN"
Errors
| Status | code | Meaning |
|---|---|---|
400 | INVALID_LIMIT | limit is not a positive integer. |
400 | INVALID_ORDER | accountId is missing, an unknown state in status, or a malformed cursor. |
401 | — | Missing or invalid credentials. |
500 | ORDER_REQUEST_FAILED | Unexpected server error. |
Authorizations
OAuth2 Bearer token: obtain an access token from the token endpoint and send it in the Authorization header.
Query Parameters
Comma-separated order states, or open for every state an order can still rest or execute in (pending_new, new, partially_filled, unknown). An unknown state returns 400.
The account. Every order on it is covered, whoever placed it.
Only orders this user placed.
Only orders on this contract symbol.
Orders per page. Values above 200 are clamped to 200. 0, a negative value, or a non-integer returns 400.
1 <= x <= 200nextCursor from the previous page.
Was this page helpful?