Skip to main content
Glama

TradeStation MCP Server

by maven81g

confirmOrder

Preview order costs and requirements before executing trades. Check commission fees, margin requirements, and order validation for stocks and options without placing actual trades.

Instructions

Preview order costs and requirements (READ-ONLY - does not execute trades)

Input Schema

NameRequiredDescriptionDefault
accountIdNoAccount ID (optional, uses TRADESTATION_ACCOUNT_ID from env if not provided)
symbolYesSymbol to trade (e.g., SPY, SPY 251121C580)
quantityYesOrder quantity
orderTypeYesOrder type
tradeActionYesTrade action
limitPriceNoLimit price (required for Limit and StopLimit orders)
stopPriceNoStop price (required for Stop and StopLimit orders)
durationNoTime in force durationDAY

Input Schema (JSON Schema)

{ "properties": { "accountId": { "description": "Account ID (optional, uses TRADESTATION_ACCOUNT_ID from env if not provided)", "type": "string" }, "duration": { "default": "DAY", "description": "Time in force duration", "enum": [ "DAY", "GTC", "GTD", "DYP", "GCP" ], "type": "string" }, "limitPrice": { "description": "Limit price (required for Limit and StopLimit orders)", "type": "number" }, "orderType": { "description": "Order type", "enum": [ "Market", "Limit", "Stop", "StopLimit" ], "type": "string" }, "quantity": { "description": "Order quantity", "type": "number" }, "stopPrice": { "description": "Stop price (required for Stop and StopLimit orders)", "type": "number" }, "symbol": { "description": "Symbol to trade (e.g., SPY, SPY 251121C580)", "type": "string" }, "tradeAction": { "description": "Trade action", "enum": [ "BUY", "SELL", "BUYTOOPEN", "BUYTOCLOSE", "SELLTOOPEN", "SELLTOCLOSE" ], "type": "string" } }, "required": [ "symbol", "quantity", "orderType", "tradeAction" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maven81g/tradestation_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server