place_order
Submit market or limit orders to Alpaca paper trading for buying or selling stocks using specified symbols, quantities, and order types.
Instructions
Submits a market or limit order to Alpaca paper trading.
Args:
symbol: Ticker symbol.
side: 'buy' or 'sell'.
qty: Quantity to trade.
order_type: 'market' or 'limit'.
limit_price: Required if order_type is 'limit'.
Returns:
Confirmation message or error
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>",
"side": "<side>",
"qty": "<qty>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| side | Yes | ||
| qty | Yes | ||
| order_type | No | market | |
| limit_price | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |