avanza_paper_stoploss_set
Set a paper stop-loss order to test exit strategies and monitor positions without placing real Avanza trades. Works in read-only mode for safe validation.
Instructions
Create a local paper stop-loss 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>",
"trigger_value": "<trigger_value>",
"order_price": "<order_price>",
"volume": "<volume>",
"strategy_intent": "<strategy_intent>",
"strategy_reason": "<strategy_reason>"
},
"name": "avanza_paper_stoploss_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | Yes | ||
| account_id | Yes | ||
| instrument | No | ||
| order_type | No | sell | |
| order_price | Yes | ||
| valid_until | No | ||
| trigger_type | No | ||
| order_book_id | Yes | ||
| trigger_value | Yes | ||
| strategy_intent | Yes | ||
| strategy_reason | Yes | ||
| order_price_type | No | % | |
| order_valid_days | No | ||
| trigger_value_type | No | % | |
| short_selling_allowed | No | ||
| trigger_on_market_maker_quote | No |