spot_place_algo_order

Place a spot algo order. [CAUTION] Executes real trades. conditional: single TP/SL. oco: TP+SL pair. move_order_stop: trailing stop. trigger: pending order at triggerPx. chase: follow best bid/ask. iceberg: split large order into child orders. twap: time-weighted split.

Server Okx Trade @okx_ai/okx-trade-mcp
Category Financial
Risk class Critical
Parameters 124 required

What spot_place_algo_order does on Okx Trade

AI agents use spot_place_algo_order to commit financial operations through Okx Trade — usually the final step of a payment, billing, or trading workflow. A call moves real money.

ParameterTypeRequiredDescription
sz string Yes Quantity in base currency
side string Yes
pxVar string Price variance % [0.0001, 0.01]; provide pxVar OR pxSpread (iceberg/twap only)
instId string Yes e.g. BTC-USDT
tdMode string cash(default)=spot, cross/isolated=margin
tgtCcy string Size unit. base_ccy(default): sz in base (e.g. BTC), quote_ccy: sz in quote (e.g. USDT)
ordType string Yes conditional=single TP/SL, oco=TP+SL pair, move_order_stop=trailing stop, trigger=pending order, chase=follow best bid/ask, iceberg=split order, twap=time-weight
orderPx string Order price submitted when trigger fires; -1=market (trigger only)
pxLimit string Order price ceiling >= 0 (iceberg/twap only)
slOrdPx string SL order price, -1=market (conditional/oco only)
stpMode string Self-trade prevention: cancel_maker|cancel_taker|cancel_both
szLimit string Average per-child-order size (iceberg/twap only)

Parameters from the server's own tool schema.

Why spot_place_algo_order needs a policy

This tool executes real trades on the OKX exchange, directly committing financial transactions. The description explicitly warns '[CAUTION] Executes real trades' and describes multiple algorithmic order types (TP/SL, trailing stop, TWAP, iceberg) that move funds and create financial obligations.

From the tool's definition Place a spot algo order. [CAUTION] Executes real trades. conditional: single TP/SL. oco: TP+SL pair. move_order_stop: trailing stop. trigger: pending order at triggerPx. chase: follow best bid/ask. iceberg: split large order into child orders.

Risk signalsHigh parameter count (31 properties)

Questions about spot_place_algo_order

What does the spot_place_algo_order tool do? +

Place a spot algo order. [CAUTION] Executes real trades. conditional: single TP/SL. oco: TP+SL pair. move_order_stop: trailing stop. trigger: pending order at triggerPx. chase: follow best bid/ask. iceberg: split large order into child orders. twap: time-weighted split. It is categorised as a Financial tool in the Okx Trade MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

What parameters does spot_place_algo_order accept? +

spot_place_algo_order accepts 12 parameters: sz, side, pxVar, instId, tdMode, tgtCcy, ordType, orderPx, pxLimit, slOrdPx, stpMode, szLimit. Required: sz, side, instId, ordType. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on spot_place_algo_order? +

Register the Okx Trade MCP server in PolicyLayer and add a rule for spot_place_algo_order: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Okx Trade. Nothing to install.

What risk level is spot_place_algo_order? +

spot_place_algo_order is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit spot_place_algo_order? +

Yes. Add a rate_limit block to the spot_place_algo_order rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block spot_place_algo_order completely? +

Set action: deny in the PolicyLayer policy for spot_place_algo_order. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides spot_place_algo_order? +

spot_place_algo_order is provided by the Okx Trade MCP server (@okx_ai/okx-trade-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.