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.
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 |