place_stop_limit_order
Execute a stop-limit order that converts to a limit order when a specified stop price is reached, allowing precise control over trade entry or exit points.
Instructions
Place a stop-limit order that becomes a limit order when the stop price is reached
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | The ticker symbol of the instrument | |
| quantity | Yes | The quantity to buy (positive) or sell (negative) | |
| stopPrice | Yes | The stop price that triggers the limit order | |
| limitPrice | Yes | The limit price for the order once triggered | |
| timeValidity | No | Time validity of the order | DAY |
Implementation Reference
- src/client.ts:200-209 (handler)The implementation of the place_stop_limit_order tool, which calls the Trading 212 API endpoint /equity/orders/stop_limit.
async placeStopLimitOrder(order: StopLimitOrderRequest): Promise<Order> { return this.request( '/equity/orders/stop_limit', { method: 'POST', body: JSON.stringify(order), }, OrderSchema, ); }