Get conditional order detail
tossinvest_get_conditional_orderRetrieve full details of a conditional order by ID, including status, type, prices, and leg information. Use the ID from a create/modify response or the list endpoint to inspect active or finished orders.
Instructions
Get the full detail of one conditional order by id, active or finished.
Args:
conditional_order_id (string): id from a create/modify response or from tossinvest_list_conditional_orders.
account_seq (number, optional): resolved automatically for single-account credentials.
response_format ('markdown' | 'json'): default 'markdown'.
Returns { accountSeq, conditionalOrder: { conditionalOrderId, type, status, symbol, market, quantity, orderType, expireDate, createdAt, first, second } }. Each leg has { type, status, triggerPrice, targetProfitRate, orderPrice, triggeredOrderId }. Leg status values: WATCHING, HOLDING, PAUSED, ORDERING, ORDERED, COMPLETED, EXPIRED, CANCELED.
Errors: 404 conditional-order-not-found — note that modifying a conditional order issues a NEW id and voids the old one, so always use the most recently returned id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_seq | No | accountSeq of the account to act on (the `X-Tossinvest-Account` header). Optional: falls back to TOSSINVEST_ACCOUNT_SEQ, then to the sole account on the credentials. Get valid values from tossinvest_list_accounts. | |
| response_format | No | Output format: 'markdown' for a compact human-readable summary, 'json' for the complete raw payload. | markdown |
| conditional_order_id | Yes | Conditional order identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountSeq | Yes | ||
| conditionalOrder | Yes |