curl --request GET \
--url https://testnet.edel-api.xyz/v2/tickersimport requests
url = "https://testnet.edel-api.xyz/v2/tickers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://testnet.edel-api.xyz/v2/tickers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));use reqwest::blocking::Client;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let response = Client::new()
.get("https://testnet.edel-api.xyz/v2/tickers")
.send()?;
println!("{} {}", response.status(), response.text()?);
Ok(())
}
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://testnet.edel-api.xyz/v2/tickers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://testnet.edel-api.xyz/v2/tickers")
.asString();{}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}Fetch tickers
Works for perpetual and spot markets, for example the spot symbol NVDAe/USDCx (TestNet and MainNet). Spot is live on TestNet.
Returns the ticker of every tradable market in unified Tickers vocabulary, keyed by symbol, or of the named symbols only. A ticker carries the last, mark and index prices, the trailing 24-hour open, high, low, change, percentage and quote volume in the settlement asset, and the best bid and ask with their sizes, null on an empty side. For swaps, baseVolume is null because quote notional cannot determine it exactly. Spot tickers carry measured baseVolume from executed base quantities and omit derivative fields. info carries the market’s stats snapshot and the Edel extensions basis and basisBps (mark minus index), openInterestAmount (contracts) and openInterestValue (settlement asset), fundingRate, nextFundingRate, nextFundingTimestamp, nextFundingDatetime and interval, open1h, change1h, percentage1h, open24h, change24h, percentage24h, open7d, change7d, percentage7d, and sparkline7d, the last price of each UTC hour over the trailing 7 days, oldest first. A window with no candle answers null open, change and percentage, never zero. Each market’s reads have a 4-second deadline: a market that misses it is still listed, with info.readState deadline_exceeded and every figure null, and the rest of the answer arrives. One complete answer is shared by every caller for up to 5 seconds, and the 7-day figures may lag by up to 60 seconds. One unknown symbol answers BadSymbol. Each client source is limited to 120 requests per minute; live prices stream on the realtime ticker channels.
Method and path: GET /v2/tickers
Authentication: none.
Request schema: none.
Response schema: V2TickersResponse.
Error envelope: V2ErrorResponse (contains ExternalRestError external-rest-error/v1 as info).
curl --request GET \
--url https://testnet.edel-api.xyz/v2/tickersimport requests
url = "https://testnet.edel-api.xyz/v2/tickers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://testnet.edel-api.xyz/v2/tickers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));use reqwest::blocking::Client;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let response = Client::new()
.get("https://testnet.edel-api.xyz/v2/tickers")
.send()?;
println!("{} {}", response.status(), response.text()?);
Ok(())
}
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://testnet.edel-api.xyz/v2/tickers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://testnet.edel-api.xyz/v2/tickers")
.asString();{}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"positions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"tokens": [
{
"asset": "<string>",
"amount": "<string>"
}
],
"progress": {
"accountId": "<string>",
"cancelledOrdersCount": 1,
"filledDuringClosureCount": 1,
"remainingOrdersCount": 1,
"remainingPositionsCount": 1,
"remainingPositions": [
{
"marketId": "<string>",
"side": "long",
"size": "<string>",
"sizeAtoms": "<string>"
}
],
"closedPositionsCount": 1,
"revokedKeysCount": 1,
"returnedAmount": "<string>",
"returnedAsset": "<string>",
"transferId": "<string>",
"transferIds": [
"<string>"
]
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}