Skip to main content

GET Margin Snapshots

Returns current margin usage and liquidation threshold snapshots for every linked Tradovate identity.

NinjaTrader 8Not available
No equivalent NT8 endpoint

This route is specific to linked Tradovate accounts.

TradovateREST only
GET /v1/api/tv/marginsnapshots

Runs server-side for a linked Tradovate account, so NinjaTrader can be closed. Tradovate does not currently use the CrossTrade WebSocket API. See the Tradovate API guide.

Get margin snapshots

GET /v1/api/tv/marginsnapshots

Returns raw Tradovate /marginSnapshot/list rows for every linked identity: initial and maintenance margin, total used margin, and liquidation thresholds as Tradovate reports them.

Auth is the same bearer token as the rest of the CrossTrade API, on a plan with API access (Pro), plus a linked Tradovate account. Unlinked users receive 403 tradovate_not_linked.

Headers

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Code Examples

import requests

token = 'my-secret-token'

url = "https://app.crosstrade.io/v1/api/tv/marginsnapshots"
headers = {
"Authorization": f"Bearer {token}",
"Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
print(f"Response Code: {response.status_code}, Response Text: {response.text}")

Response

{
"success": true,
"data": [
{
"id": 123456,
"timestamp": "2026-07-15T14:32:05.184Z",
"riskTimePeriodId": 9,
"initialMargin": 1760.00,
"maintenanceMargin": 1600.00,
"totalUsedMargin": 1600.00,
"fullInitialMargin": 1760.00
}
]
}

Rows are raw Tradovate margin-snapshot records and may carry additional fields.