Place a limit or stop order
paper_limit_orderPlace a resting order that fills only when the market reaches your price, and fills AT that price. type "limit" = a pullback entry (long below the market, short above); type "stop" = a breakout entry (long above the market, short below). To open right now use paper_open instead. Simulated money only. Requires an API key.
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>",
"limit_price": "<limit_price>",
"margin_usd": "<margin_usd>",
"leverage": "<leverage>"
},
"name": "paper_limit_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| side | Yes | ||
| symbol | Yes | ||
| leverage | Yes | ||
| margin_usd | Yes | 1 to 100000 | |
| limit_price | Yes | Below the market for a long, above it for a short | |
| client_order_id | No |