post_stop_order
Place stop-loss, take-profit, or stop-limit orders in T-Invest to automatically execute trades when specific price levels are reached, requiring confirmation for execution.
Instructions
Выставить стоп-заявку в Т-Инвестициях (требуется 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>",
"stopPrice": "<stopPrice>"
},
"name": "post_stop_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Идентификатор счёта | |
| ticker | Yes | Тикер инструмента | |
| direction | Yes | Направление | |
| quantity | Yes | Количество лотов (не более 10 000) | |
| orderType | Yes | Тип стоп-заявки | |
| stopPrice | Yes | Стоп-цена активации | |
| limitPrice | No | Лимит-цена исполнения (для stop_limit) | |
| expirationType | No | Тип срока действия | good_till_cancel |
| expireDate | No | Дата истечения (ISO 8601, для good_till_date, например 2025-12-31T23:59:59Z) | |
| confirm | No | Передайте true для исполнения |