Get ATM Template
Read one ATM template. Field details are in ATM template fields.
Elite
The Management API requires an Elite subscription. See Authentication.
Endpoint
GET https://app.crosstrade.io/v1/api/manage/tradovate/atm-templates/{id}
Headers
| Name | Required | Value |
|---|---|---|
| Authorization | Yes | Bearer <your API token> |
| If-None-Match | No | ETag from a previous read. Returns 304 with no body if nothing changed |
Path parameters
| Name | Type | Description |
|---|---|---|
id | string | The resource id |
Code examples
- Python
- cURL
import requests
resp = requests.get(
"https://app.crosstrade.io/v1/api/manage/tradovate/atm-templates/tvatm_Qw12er34Ty56ui78",
headers={"Authorization": "Bearer YOUR_TOKEN"},
)
print(resp.status_code, resp.json())
curl "https://app.crosstrade.io/v1/api/manage/tradovate/atm-templates/tvatm_Qw12er34Ty56ui78" \
-H "Authorization: Bearer YOUR_TOKEN"
Responses
- 200
- Other errors
{
"success": true,
"data": {
"id": "tvatm_Qw12er34Ty56ui78",
"name": "Scalp",
"description": "Two targets, trail the runner",
"active": true,
"config": {
"targets": "20,40",
"stops": "16,16",
"quantities": "1,1",
"trail": "false,true",
"trailTrigger": null,
"trailOffset": null,
"breakeven": null,
"breakevenOffset": null
},
"created": "2026-09-01T13:02:11Z",
"updated": "2026-10-02T14:31:07Z"
},
"meta": {
"requestId": "req_9f2c1a0b7d3e4f51",
"etag": "\"c2:Tm90UmVhbEV0YWcwMg\""
}
}
| Status | error | When |
|---|---|---|
| 304 | If-None-Match matched; no body | |
| 400 | invalid_path | The id in the path is not valid |
| 400 | unexpected_body, unknown_parameter | A body or an unknown query parameter was sent |
| 401 | unauthorized | Missing or invalid token |
| 403 | elite_required, not_available | See Authentication |
| 404 | not_found | No such template on your login |
| 429 | rate_limited, too_many_concurrent_requests | See Rate limits |
| 503 | management_unavailable, management_busy, storage_unavailable | See Errors |