avanza_paper_order_exit
Close an open paper position by position ID or orderbook ID and create a completed paper trade entry. Specify the exit price and reason to keep your paper portfolio accurate.
Instructions
Close an open paper position by position_id or orderbook_id and create a completed paper trade entry.
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>",
"exit_price": "<exit_price>"
},
"name": "avanza_paper_order_exit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| exit_price | Yes | ||
| session_id | No | ||
| exit_reason | No | ||
| position_id | No | ||
| orderbook_id | No | ||
| tenant_session_id | No |