TradeStation · JSON Structure
Tradestation Order Structure
Structure of a TradeStation order for submission and management
Type:
Properties: 0
BrokerageCryptocurrencyFinanceFuturesMarket DataOptionsStocksTrading
TradeStation Order is a JSON Structure definition published by TradeStation.
Meta-schema:
JSON Structure
{
"name": "TradeStation Order",
"description": "Structure of a TradeStation order for submission and management",
"fields": [
{ "name": "AccountID", "type": "string", "description": "Brokerage account identifier", "required": true },
{ "name": "Symbol", "type": "string", "description": "Symbol to trade", "required": true },
{ "name": "Quantity", "type": "number", "description": "Number of shares or contracts", "required": true },
{ "name": "OrderType", "type": "string", "description": "Order type", "required": true, "enum": ["Market", "Limit", "StopMarket", "StopLimit", "TrailingStop", "TrailingStopLimit"] },
{ "name": "TradeAction", "type": "string", "description": "Trade direction", "required": true, "enum": ["Buy", "Sell", "BuyToOpen", "BuyToClose", "SellToOpen", "SellToClose", "SellShort", "BuyToCover"] },
{ "name": "TimeInForce", "type": "string", "description": "Order duration", "required": true, "enum": ["Day", "GTC", "GTD", "IOC", "FOK", "OPG", "CLO"] },
{ "name": "LimitPrice", "type": "number", "description": "Limit price for limit/stop-limit orders" },
{ "name": "StopPrice", "type": "number", "description": "Stop price for stop orders" },
{ "name": "Route", "type": "string", "description": "Routing destination" },
{
"name": "AdvancedOptions", "type": "object", "description": "Advanced order parameters",
"fields": [
{
"name": "TrailingStop", "type": "object",
"fields": [
{ "name": "Amount", "type": "number", "description": "Trailing stop dollar amount" },
{ "name": "Percent", "type": "number", "description": "Trailing stop percentage" }
]
}
]
},
{
"name": "Legs", "type": "array", "description": "Option legs for multi-leg orders",
"items": {
"fields": [
{ "name": "Symbol", "type": "string" },
{ "name": "Quantity", "type": "integer" },
{ "name": "TradeAction", "type": "string", "enum": ["BuyToOpen", "BuyToClose", "SellToOpen", "SellToClose"] }
]
}
}
]
}
Work with this as data
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/tradestation-order-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.