avanza_order_set
Place regular buy or sell orders on Avanza, or run a dry-run simulation. Live execution requires confirm=true and an authenticated TUI session.
Instructions
Dry-run or place a regular buy/sell order. Live placement requires TUI R/W mode and 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": {
"account_id": "<account_id>",
"order_book_id": "<order_book_id>",
"price": "<price>",
"valid_until": "<valid_until>",
"volume": "<volume>"
},
"name": "avanza_order_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| volume | Yes | ||
| confirm | No | ||
| condition | No | normal | |
| account_id | Yes | ||
| order_type | No | buy | |
| session_id | No | Legacy alias for tenant_session_id (non-paper tools only). | |
| valid_until | Yes | ||
| order_book_id | Yes | ||
| tenant_session_id | No | Optional tenant session scope id for multi-session TUI/MCP routing. |