Skip to main content
Glama

Paper MCP Server

by paperinvest

create_order

Generate trading orders for stocks by specifying portfolio ID, symbol, quantity, order side, and type. Configure options like limit price, stop price, and time-in-force to execute trades on Paper's platform.

Instructions

Create a new trading order

Input Schema

NameRequiredDescriptionDefault
assetClassNoAsset class (default: EQUITY)
limitPriceNoLimit price (for limit orders)
portfolioIdYesPortfolio ID
quantityYesNumber of shares
sessionNoTrading session (default: REGULAR)
sideYesOrder side
stopPriceNoStop price (for stop orders)
symbolYesStock symbol
timeInForceNoTime in force (default: DAY)
typeYesOrder type

Input Schema (JSON Schema)

{ "properties": { "assetClass": { "description": "Asset class (default: EQUITY)", "type": "string" }, "limitPrice": { "description": "Limit price (for limit orders)", "type": "number" }, "portfolioId": { "description": "Portfolio ID", "type": "string" }, "quantity": { "description": "Number of shares", "type": "number" }, "session": { "description": "Trading session (default: REGULAR)", "type": "string" }, "side": { "description": "Order side", "enum": [ "BUY_TO_OPEN", "SELL_TO_CLOSE", "SELL_TO_OPEN", "BUY_TO_CLOSE" ], "type": "string" }, "stopPrice": { "description": "Stop price (for stop orders)", "type": "number" }, "symbol": { "description": "Stock symbol", "type": "string" }, "timeInForce": { "description": "Time in force (default: DAY)", "enum": [ "DAY", "GTC", "IOC", "FOK" ], "type": "string" }, "type": { "description": "Order type", "enum": [ "MARKET", "LIMIT", "STOP", "STOP_LIMIT" ], "type": "string" } }, "required": [ "portfolioId", "symbol", "quantity", "side", "type" ], "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/paperinvest/mcp-server'

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