Skip to main content

GET Connection Settings

Read your NinjaTrader connection settings: auto-reconnect, data watchdog, what happens after a reconnect, and opposing-position protection. Works while the add-on is offline.

Elite

The Management API requires an Elite subscription. See Authentication.

Endpoint​

GET https://app.crosstrade.io/v1/api/manage/nt8/connection-settings

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/nt8/connection-settings",
headers={"Authorization": "Bearer YOUR_TOKEN"},
)
print(resp.json())

Responses​

{
"success": true,
"data": {
"autoReconnect": [ { "connection": "Rithmic", "enabled": true, "timeoutSeconds": 60 } ],
"dataWatchdog": [ { "connection": "Rithmic", "enabled": false, "timeoutSeconds": 60 } ],
"reconnectActions": {
"restartStrategies": true,
"flatten": { "scope": "specific", "accounts": ["Sim101"] }
},
"opposingPositionProtection": {
"enabled": true,
"checkAllAccounts": false,
"relatedProducts": [["ES", "MES"], ["NQ", "MNQ"]],
"relatedProductsSource": "custom",
"groups": [ { "name": "Prop accounts", "accounts": ["PROP1234", "PROP1235"] } ]
}
},
"meta": { "requestId": "req_9f2c1a0b7d3e4f51", "etag": "\"c2:7Q0xMmZ3bTRkWmRVdz\"" }
}

Notes​

Field details are in the Connection settings field reference.