Skip to main content

Tradovate

A futures broker: trade futures through your own Tradovate account and API key.

Both demo and live need your Tradovate username and password, and an API key (its cid and secret), which requires the API add-on on a funded live account.

Access​

  • deviceId must be stable and unique per machine; live is stricter than demo (faq UnderstandingDeviceId.md; session.rs).
  • Token: 80 min, per the docs (partner quick-setup/auth-overview, fetched 2026-12-02) and measured 2026-10-02 on demo (expirationTime 4,800 s); GET /auth/renewaccesstoken ~15 min before expiry (session.rs). No refresh token: a lost token needs a password login (U).
  • At most 2 concurrent sessions per user; a third accessTokenRequest closes the oldest, and a tradovate.com web login counts (docs "Other Important Notes"): clients can evict each other.
  • Demo (demo.tradovateapi.com): simulated fills on real market data, same key and token flow (faq).

Fees and data subscriptions​

  • Per-contract fees come from contract/getproductfeeparams: commission, exchange, clearing and NFA parts (MNQ demo, 2026-10-01).
  • API market data needs a CME plan plus (since 2022-09-30) CME sub-vendor registration: "$290/month payable to CME" (S, community 6215, staff, 2022-12-16) or "$500/mo CME ILS fee" (S, community 11039, 2025); without it the md socket answers "The symbol is inaccessible", though order-only use does not need it (S, community 6215).

Start tradovate-demo (simulated fills; no real money) or tradovate-live (real money: every order on this login is real) from Connections in the window, or run taji-link tradovate-demo or taji-link tradovate-live. Each takes your Username, Password, API key id (cid) and API secret, which Taji seals in the vault.

Linking​

Fetched 2026-11-18. tradovate-demo and tradovate-live share one login and API key (docs assets/index-u7qQqTGM.js, #tag/Access). yours is a password, a code or money.

StepPage and controlsYours
keyhttps://trader.tradovate.com (community 2380, support Tradovate-API-Access): "Application Settings" → "API Access" tab ("API Keys") → "Generate API Key". In "User Self Attestation", click "I agree" ("Cancel"). In "API User Agreement" ("Tradovate - API License Agreement"), fill "FULL NAME" ("Full Name") and "DATE" ("MM/DD/YYYY"), click "Sign", then "Done" ("Download"). In "Create New API Key", fill "API key nickname", set "API Key Access Permissions" dropdowns ("Denied", "Read only", …) for "Contract Library", "Orders", "Positions", "Account Information", "Your User Information", "Account Risk Settings", "Alerts", "Market Data", "Chat", optional "Allow sending orders with no Market Data subscriptions", leave "Protect with a dedicated password" unchecked, click "Generate". In "New API Key" ("Here are parameters of your API Key:", "Store the secret in a safe place. It will not be shown again."; card label "API Key CID" for cid and one-time secret sec; redacted modal field labels: unsourced), click "Copy to Clipboard", then "Done"yours: attest and sign (agree); the agent generates the key
typePOST /auth/accesstokenrequest with {name, password, appId, appVersion, deviceId, cid, sec} (AccessTokenRequest, only name and password required in spec; docs), then GET /account/list (no_accounts → account when no active account is listed; link.rs)yours: password (held = true); the agent may carry cid and sec

Refusals and wait times (fetched 2026-11-18, partner core-concepts/rate-limits, partner core-concepts/penalty-tickets, faq HowToHandleRequestLimits.md):

  • penalized (p-ticket, p-time): per IPv4 /24 subnet (or full IPv6) over a rolling 60-min window, accesstokenrequest allows 5 failed requests/h with a 15 s back-off (renewaccesstoken 15 all/h, 15 s; me 10 failed/h, 30 s; syncrequest 300 all/h, 3 s). Exceeding an endpoint limit answers HTTP 200 (or WebSocket s: 200) {p-ticket, p-time, p-captcha, p-message} without handling the call. p-time is the mandatory wait in seconds before retrying (additive: each extra p-ticket adds the endpoint's back-off to remaining p-time); retry with "p-ticket" added to the identical request body (session.rs retries once when p-time <= 60; manifest holds.penalized = 60).
  • captcha (p-captcha: true, or HTTP 423 on a retry without a solved captcha, partner core-concepts/error-handling fetched 2026-12-02): reCAPTCHA is required and cannot be answered programmatically by a third-party app; do not retry with p-ticket, wait 1 hour (3,600 s, holds.captcha = 3600) for the rolling count to clear ("clients should be directed to try again in an hour").
  • User-level 429: exceeding the user-level cap (5,000/h authenticated, 1,000/h anonymous) or retrying repeatedly during p-time answers HTTP 429 (empty body, or WebSocket s: 429); wait 1 hour from the last call — any call inside the hour answers 429 and resets the 1-hour clock (session.rs).
  • denied (errorText): AccessTokenResponse.errorText ("Non-empty if the request failed", docs); do not retry.

What you get​

Futures orders, your balances, positions and orders (no Tradovate market data without a CME sub-vendor registration). What it reads, down to each field: Tradovate coverage; what Tradovate serves that it does not yet: Offered, not read.

Behaviour and limits​

Read from vendor docs, specs and SDKs 2026-09-28 and the embedded OpenAPI 2026-09-30; demo-measured where dated.

P = vendor doc or repo; S = forum or third party; U = inferred; M = measured. docs = https://api.tradovate.com (assets/index-<hash>.js, OpenAPI 3.0.0; 341 paths 2026-09-30, 699 2026-10-20); community = https://community.tradovate.com/t/…; faq = https://github.com/tradovate/example-api-faq/blob/main/docs/; partner = https://partner.ninjatrader.com/connect/overview/ (partner.tradovate.com redirects there); support = https://support.tradovate.com/s/article/.

A futures FCM (NinjaTrader bought it 2022-01-12, S); /v1 REST plus SockJS WebSockets (lib.rs, wake.rs). Reference: github.com/tradovate/example-api-js; no official Python or Rust SDK.

Transport and limits​

  • WebSockets (lib.rs, wake.rs): wss://md.tradovateapi.com/v1/websocket takes mdAccessToken (docs).
  • Rate limits are variable with "no 'hard-cap'" (faq HowDoesTradovateLimitRequestsAndData.md); rate-limits.md states no concurrency limit (2026-10-31).
  • clOrdId (≤64) is not unique (M, 2026-11-02, demo): identical bodies sent twice answer 200 with two Working orderIds; a cancelled order's clOrdId is accepted again. /command/list shows New (clOrdId, orderId, AtExecution) 0.6 s after placeorder (<0.6 s unmeasured), ExecutionStopped after cancel; no lookup by it.
  • Idle close (2026-10-31): demo and live keep a connection 600 s, dropped by 900 s (WARM_EVERY, session.rs).
  • One quote, DOM and histogram subscription per contract per client (docs Market Data).

Data​

Offered and served: offer.rs, source.rs, docs/reference/coverage/tradovate.md. Product.productType also lists CommonStock, Continuous, Cryptocurrency, MarketInternals, Options, Spread (docs spec), not measured.

  • md/getChart (MinuteBar, DailyBar, Tick, volume, range, Renko, point-and-figure; trades as size-1 Tick), paged by closestTimestamp until eoh (faq); md/subscribeQuote (open interest and settlement in quote; no REST point quote), md/subscribeDOM (depth "varies"), md/subscribeHistogram (volume at price).
  • Demo, 2026-11-07 (tests/tiers_live.rs, MESZ6): wss://md-demo.tradovateapi.com/v1/websocket takes REST accessToken in authorize (200); getChart at 1, 5, 30, 60, 240 m and daily answers "Symbol is inaccessible" (CME fee). History depth: not found.

Orders​

Capabilities, TIF, protection and payloads: broker.rs, offer.rs, docs/reference/coverage/tradovate.md (docs spec 2026-09-30).

  • Multibracket (orderStrategy/startorderstrategy type 2; orderStrategyType/* 401): each exit is sent at its own price with absPrice: true (https://partner.ninjatrader.com/connect/api/rest-api-endpoints/orders/start-order-strategy.md, 2026-11-26; on demo: U); without it the venue reads them as offsets off the fill (a profitTarget of 160 rested at 160.00, not 160 over the fill, demo 2026-10-01); after fill each exit is an order, labelled by bracket index, moved in place by modifyorder (demo 2026-11-05).
  • order/modifyorder re-sends the current orderVersion with the moved price: bracket entry moved 1 tick on demo (2026-10-01), id kept, new orderVersion (2026-11-05).
  • Constraints: activationTime; no extended/overnight flag (futures trade per productSession, U); Spread and spreadDefinition placement path not found.
  • isAutomated is sent false on every placement, leg and modify, and startorderstrategy sends none (user, 2026-12-02), though PlaceOrder asks true on non-human orders. Demo accepted the flag on RestrainedOrderVersion legs (2026-10-01; whether read: U).
  • A closing intent carries reduceOnly: true (documented on placeorder; on placeoso and placeoco: U).
  • TrailingStop is offered, not sent: support names a stopPrice the schema does not (S, community 4039) and pegDifference's sign is unmeasured.
  • On placeOSO, ocoId links take↔stop, parentId unchanged (demo 2026-11-05). failureReason: NoQuote, SessionClosed, MaxPosLimitReached, Unauthorized, …; executionReport/ldeps is keyed by command, not order.

Measured on demo (2026-10-01 unless dated)​

  • getcashbalancesnapshot equity 50000.0, no account number; marginSnapshot, accountRiskStatus, userAccountAutoLiq flat: 0.0, limits null.
  • Single orders, placeOSO, placeOCO and multibracket rest and cancel; Market fill and close each carry a fillFee (MNQZ26).
  • 2026-10-08: order, bracket, fees and multibracket fills measured on demo; account and margin read empty ~20 s after link, then filled.
  • Position mark reads basis (no API market data without CME sub-vendor licence).
  • 2026-10-26: contract/getoptionschain on ESZ6 answers 244 OES contracts (OESZ6 C6200; ESZ26 404), no quote, greek or md subscription (source.rs).

Symbology and gotchas​

  • Root + month + ONE year digit (ESM7, MNQZ1, symbol.rs); 2030+ wrap not found.
  • Quote/DOM events carry integer contractId (contract/find); contract/items may answer fewer or reordered rows (docs Batch Loading).

Open​

  • Full multibracket sequence in one session (2026-10-01 hit the hourly cap); whether a demo-only user gets a token; bar tiers and Globex grid starts (behind the CME fee); whether 2FA or device approval prompts on first live login.
  • Real per-user ceiling (5,000/h hit 2026-10-01), reconcile's share, whether order writes draw tickets, whether demo and live share one count, whether socket requests count.
  • MinuteBar history depth and stamp (open/close); DailyBar trade date; future-option and Spread placement; shorting and sessions.
  • Inside-portal application and funding field labels are unsourced.

Excluded (broker.rs): liquidateposition(s), contract/rollcontract(s) (no clOrdId); risk-setting writes (userAccountAutoLiq/PositionLimit/RiskParameter, updatemaxnetliq, resetautoliqstatus, …); cashBalance*, fillPair*, account/resetdemoaccountstate, tradingPermission*.

References​