Place Order
saxo_place_orderPlace a new order on Saxo Bank, defaulting to simulation mode. Enable live trading by setting SAXO_ENABLE_LIVE_TRADING=true and policy allowing live writes.
Instructions
Place a new Saxo order. Defaults to SIM. LIVE writes require SAXO_ENABLE_LIVE_TRADING=true plus a policy.json that sets allow_live_writes=true. Policy may also cap Amount/AssetType/AccountKey/Uic/notional.
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": {
"AccountKey": "<AccountKey>",
"Uic": "<Uic>",
"AssetType": "<AssetType>",
"BuySell": "<BuySell>",
"Amount": "<Amount>",
"OrderType": "<OrderType>",
"OrderDuration": "<OrderDuration>"
},
"name": "saxo_place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| AccountKey | Yes | ||
| Uic | Yes | ||
| AssetType | Yes | ||
| BuySell | Yes | ||
| Amount | Yes | ||
| ToOpenClose | No | ||
| OrderType | Yes | ||
| OrderDuration | Yes | ||
| OrderPrice | No | ||
| StopPrice | No | ||
| ManualOrder | No | ||
| ExternalReference | No | ||
| Orders | No |