post_order
Place market or limit orders for stocks in T-Invest accounts using a two-step confirmation process to verify trades before execution.
Instructions
Выставить биржевую заявку в Т-Инвестициях (требуется подтверждение: сначала вызовите без confirm, затем с confirm: true)
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": {
"accountId": "<accountId>",
"ticker": "<ticker>",
"direction": "<direction>",
"quantity": "<quantity>",
"orderType": "<orderType>"
},
"name": "post_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Идентификатор счёта (можно получить через get_accounts) | |
| ticker | Yes | Тикер инструмента | |
| direction | Yes | Направление: buy — покупка, sell — продажа | |
| quantity | Yes | Количество лотов (не более 10 000) | |
| orderType | Yes | Тип заявки: market — рыночная, limit — лимитная | |
| price | No | Цена для лимитной заявки (обязательна при orderType: limit) | |
| confirm | No | Передайте true для исполнения сделки. Без этого параметра возвращается только превью (если включено подтверждение). |