avanza_paper_order_set
Create local paper buy or sell orders for portfolio simulation without placing live trades. Use this tool to test trading strategies in read-only mode with configurable price, volume, and validity.
Instructions
Create a local paper buy/sell order. This never places an Avanza order and is allowed in MCP read-only mode.
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_paper_order_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| volume | Yes | ||
| condition | No | normal | |
| account_id | Yes | ||
| instrument | No | ||
| order_type | No | buy | |
| session_id | No | ||
| stop_price | No | ||
| valid_until | Yes | ||
| entry_reason | No | ||
| target_price | No | ||
| order_book_id | Yes | ||
| fill_immediately | No | ||
| tenant_session_id | No |