place_limit_order
Place a real limit order on Directa's Darwin trading API. Specify symbol, side, quantity, and price to submit a buy or sell order.
Instructions
Place a REAL limit order with real money. There is no simulation mode. Disabled unless the server runs with DIRECTA_ENABLE_ORDERS=true.
Prefer preview_limit_order first: it reports the commission and the exact instrument Darwin matched, without placing anything.
Darwin requires a two-step submit-then-confirm exchange, and both steps
happen inside this one call because a pending confirmation does not survive
the connection that produced it. Read on_market in the response to know
whether the order is actually working — an exchange that completes without
error has still placed nothing if confirmation did not go through. Then
verify with get_orders rather than trusting the acknowledgement.
order_id is the client-side reference Darwin echoes back; one is generated if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| price | Yes | ||
| symbol | Yes | ||
| order_id | No | ||
| quantity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||