Get Conditional Order Detail
get_conditional_orderGet a conditional order: its rule-based conditions, action (execute/suggest, side, SL/TP, broker configs), status, the latest evaluation state (ruleState.lastResults shows which conditions are currently met; ruleState.lastPriceSource: the decision is always taken on the TraderWAI feed candles, the same ones backtest_strategy uses; "broker_candles" / "broker_quote" = the broker of brokerAccountId provides the live price and a stable offset = broker − feed, used to convert fixed levels to the feed scale and gaps/stops/prices to the broker scale for execution; "feed" = no broker price, with the reason), ruleState.evalLog (the last 30 evaluations: time, broker price, feed price, offset and each condition; for an unmet FVG, "nearest" shows the latest gap, the edge to touch and how far price has reached since) and its recent checks/trigger results. Use this to understand why an order has or hasn't fired yet. Orders with engine "ai" are legacy free-text orders that were retired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The conditional order ID |