Error
A valid request URL is required to generate request examples{
"version": "external-account-order-history/v1",
"accountId": "<string>",
"orders": [
{
"orderId": "<string>",
"accountId": "<string>",
"marketId": "<string>",
"status": "open",
"updatedAtEpochMs": 1,
"lastSequence": 1,
"configurationId": "<string>",
"side": "buy",
"orderType": "limit",
"price": "<string>",
"quantity": "<string>",
"filledQuantity": "<string>",
"remainingQuantity": "<string>",
"reduceOnly": true
}
],
"nextCursor": "<string>",
"freshness": {
"status": "fresh",
"degradedState": "none",
"journalSequence": 1,
"asOfEpochMs": 1,
"projectorLagMs": 1,
"dbReplicaLagMs": 1,
"backfillStatus": "live"
},
"marketId": "<string>",
"status": "open"
}{
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "invalid_request",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"realtimeTicketFailure": "invalid"
}{
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "invalid_request",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"realtimeTicketFailure": "invalid"
}{
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "invalid_request",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"realtimeTicketFailure": "invalid"
}{
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "invalid_request",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"realtimeTicketFailure": "invalid"
}Accounts
Get account order history
Returns paginated account order projections. Open live orders still come from the engine snapshot path; this history surface is lagging projection data.
Method and path: GET /v1/accounts//orders
Authentication: DFNS trader bearer required.
Request schema: none.
Response schema: ExternalAccountOrderHistoryResponse.
Error envelope: ExternalRestError (external-rest-error/v1).
GET
/
v1
/
accounts
/
{accountId}
/
orders
Error
A valid request URL is required to generate request examples{
"version": "external-account-order-history/v1",
"accountId": "<string>",
"orders": [
{
"orderId": "<string>",
"accountId": "<string>",
"marketId": "<string>",
"status": "open",
"updatedAtEpochMs": 1,
"lastSequence": 1,
"configurationId": "<string>",
"side": "buy",
"orderType": "limit",
"price": "<string>",
"quantity": "<string>",
"filledQuantity": "<string>",
"remainingQuantity": "<string>",
"reduceOnly": true
}
],
"nextCursor": "<string>",
"freshness": {
"status": "fresh",
"degradedState": "none",
"journalSequence": 1,
"asOfEpochMs": 1,
"projectorLagMs": 1,
"dbReplicaLagMs": 1,
"backfillStatus": "live"
},
"marketId": "<string>",
"status": "open"
}{
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "invalid_request",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"realtimeTicketFailure": "invalid"
}{
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "invalid_request",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"realtimeTicketFailure": "invalid"
}{
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "invalid_request",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"realtimeTicketFailure": "invalid"
}{
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "invalid_request",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"realtimeTicketFailure": "invalid"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Minimum string length:
1Query Parameters
Optional market filter.
Minimum string length:
1Optional order status filter.
Available options:
open, partially_filled, filled, canceled, replaced Page size, from 1 to 100. Defaults to 50.
Required range:
x <= 100Base64url JSON cursor with lastSequence and id.
Minimum string length:
1Response
Success
Allowed value:
"external-account-order-history/v1"Minimum string length:
1Show child attributes
Show child attributes
Minimum string length:
1Show child attributes
Show child attributes
Minimum string length:
1Available options:
open, partially_filled, filled, canceled, replaced