place_order
Place market or pending orders on MT5 with optional stop loss, take profit, and deviation. Supports idempotency keys for safe retries and configurable approval gates for large notional orders.
Instructions
Place a market or pending order. Optional SL / TP / deviation.
When policy.auto_approve_notional is set > 0, orders whose notional is
at or above it return an ApprovalPreview; retry with
approval_confirmed=true and the same request fields to proceed. At the
default of 0 the gate is off and orders auto-execute. Pass
idempotency_key (UUIDv4 recommended) to dedupe retries within
idempotency.ttl_seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| side | Yes | ||
| type | Yes | ||
| volume | Yes | ||
| price | No | ||
| stop_limit_price | No | ||
| sl | No | ||
| tp | No | ||
| deviation | No | ||
| comment | No | ||
| idempotency_key | No | ||
| approval_confirmed | No | ||
| approval_request_id | No |