Skip to main content

Restart Monitor

Resume a monitor that is stopped (a risk rule fired) or inactive (NinjaTrader Clean Session Protection). This is the same as Restart in the web app.

Elite

The Management API requires an Elite subscription. See Authentication.

Endpoint​

POST https://app.crosstrade.io/v1/api/manage/nt8/monitors/{account}/restart

Headers​

NameRequiredValue
AuthorizationYesBearer <your API token>
Content-TypeWith a bodyapplication/json
If-MatchNoETag from a previous read. The request fails with 412 if the monitor changed since then

Path parameters​

NameTypeDescription
accountstringAccount name, URL-encoded (exact match, including case; no leading or trailing spaces)

Body parameters​

None. Send an empty JSON object {} or no body at all.

Code examples​

import requests

resp = requests.post(
"https://app.crosstrade.io/v1/api/manage/nt8/monitors/Sim101/restart",
headers={"Authorization": "Bearer YOUR_TOKEN"},
json={},
)
print(resp.status_code, resp.json())

Responses​

{
"success": true,
"changed": true,
"data": {
"account": "Sim101",
"nickname": null,
"active": true,
"state": "active",
"stoppedReason": null,
"pnlMode": "standard",
"includeUnrealized": true,
"dailyProfitTarget": 1000,
"dailyLossLimit": 500,
"onProfitTarget": {
"flatten": true,
"signals": "block"
},
"onLossLimit": {
"flatten": true,
"signals": "block"
},
"minimumProfit": {
"enabled": false,
"trigger": 0,
"threshold": 0,
"flatten": true,
"signals": "block"
},
"trailingDrawdown": {
"enabled": false,
"basis": "pnl",
"amount": 0,
"unit": "percent",
"trigger": 0,
"flatten": true,
"signals": "block"
},
"accountFloor": null,
"autoFlattenTime": "15:55",
"tradingWindows": [
{
"enabled": true,
"start": "09:30",
"end": "15:45",
"flattenAtEnd": false
}
],
"newsLockout": {
"blockSignals": true,
"flatten": false
},
"blockSignals": false,
"closingOnly": false,
"switchesLocked": false,
"positionProfitTarget": 0,
"positionLossLimit": 0,
"includeCommissions": true,
"cleanSessionProtection": true,
"outlierProtection": {
"enabled": true,
"sensitivity": "low"
},
"created": "2026-09-01T13:02:11Z",
"updated": "2026-10-02T14:31:07Z"
},
"changedFields": [
"state"
],
"delivery": {
"status": "queued",
"target": "nt8_addon"
},
"warnings": [],
"meta": {
"requestId": "req_9f2c1a0b7d3e4f51",
"etag": "\"c2:Tm90UmVhbEV0YWcwMg\""
}
}

When it takes effect​

NinjaTrader: sent to the add-on right away, or when it next connects. Tradovate: within about 10 seconds.

Notes​

  • Restart also turns blockSignals and closingOnly off, unless switchesLocked is on.
  • On NinjaTrader, restart is refused with 409 would_retrip when the current P&L is already at or past the daily target or limit. Change the limit first.
  • Restart costs 2 units of your change budget.