Skip to main content

GET News Lockout

Read the global news lockout.

Elite

The Management API requires an Elite subscription. See Authentication.

Endpoint​

GET https://app.crosstrade.io/v1/api/manage/news-lockout

Headers​

NameRequiredValue
AuthorizationYesBearer <your API token>
If-None-MatchNoETag from a previous read. Returns 304 with no body if nothing changed

Code examples​

import requests

resp = requests.get(
"https://app.crosstrade.io/v1/api/manage/news-lockout",
headers={"Authorization": "Bearer YOUR_TOKEN"},
)
print(resp.json())

Responses​

{
"success": true,
"data": {
"enabled": true,
"impact": ["high"],
"currencies": ["USD"],
"preMinutes": 5,
"postMinutes": 5
},
"meta": { "requestId": "req_9f2c1a0b7d3e4f51", "etag": "\"c2:7Q0xMmZ3bTRkWmRVdz\"" }
}

Notes​

Field details are in the News lockout field reference. An empty currencies array means every currency.