List paper trading orders
curl --request GET \
--url https://api.agg.market/apps/{appId}/paper-trading/accounts/{accountId}/orders \
--header 'x-app-api-key: <api-key>'{
"data": [
{
"id": "<string>",
"accountId": "<string>",
"venue": "<string>",
"venueMarketId": "<string>",
"venueMarketOutcomeId": "<string>",
"marketQuestion": "<string>",
"outcomeLabel": "<string>",
"clientOrderId": "<string>",
"requestedSpendRaw": "<string>",
"requestedSpend": 123,
"requestedShares": 123,
"filledShares": 123,
"avgPrice": 123,
"slippageBps": 123,
"notionalRaw": "<string>",
"notional": 123,
"cashDeltaRaw": "<string>",
"cashDelta": 123,
"realizedPnlRaw": "<string>",
"realizedPnl": 123,
"rejectionReason": "<string>",
"createdAt": "<string>"
}
],
"nextCursor": "<string>",
"hasMore": true
}Execution
List paper trading orders
GET
/
apps
/
{appId}
/
paper-trading
/
accounts
/
{accountId}
/
orders
List paper trading orders
curl --request GET \
--url https://api.agg.market/apps/{appId}/paper-trading/accounts/{accountId}/orders \
--header 'x-app-api-key: <api-key>'{
"data": [
{
"id": "<string>",
"accountId": "<string>",
"venue": "<string>",
"venueMarketId": "<string>",
"venueMarketOutcomeId": "<string>",
"marketQuestion": "<string>",
"outcomeLabel": "<string>",
"clientOrderId": "<string>",
"requestedSpendRaw": "<string>",
"requestedSpend": 123,
"requestedShares": 123,
"filledShares": 123,
"avgPrice": 123,
"slippageBps": 123,
"notionalRaw": "<string>",
"notional": 123,
"cashDeltaRaw": "<string>",
"cashDelta": 123,
"realizedPnlRaw": "<string>",
"realizedPnl": 123,
"rejectionReason": "<string>",
"createdAt": "<string>"
}
],
"nextCursor": "<string>",
"hasMore": true
}Authorizations
App-scoped API key for programmatic app management.
⌘I