place_order
Submit a new order to a TastyTrade account with specified legs, order type, and price effect. Validate first using dry_run_order to check buying power.
Instructions
Place a new order on a TastyTrade account. Use dry_run_order first to validate the order and check buying power impact.
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": {
"account_number": "<account_number>",
"order_type": "<order_type>",
"time_in_force": "<time_in_force>",
"price_effect": "<price_effect>",
"legs": "<legs>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | ||
| price | No | Limit price as a string (e.g. '1.50'). Required for Limit orders. | |
| order_type | Yes | ||
| price_effect | Yes | Debit = you pay; Credit = you receive. | |
| time_in_force | Yes | ||
| account_number | Yes |