cancelConditionalOrder
Cancel a pending conditional order by specifying its order ID. The operation prevents unintended executions.
Instructions
조건주문 취소
조건주문을 취소합니다. conditionalOrderId 로 취소 대상을 식별합니다.
Rate Limits Group: CONDITIONAL_ORDER
[DELETE /api/v1/conditional-orders/{conditionalOrderId}]
tags: Conditional Order
⚠️ 실제 자산에 영향을 주는 조건주문 API 입니다. 기본값은 dryRun=true 이며 실행하려면 TOSSINVEST_ENABLE_CONDITIONAL_ORDERS=true 와 confirmation 이 필요합니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | URL 경로 파라미터 | |
| dryRun | No | 기본값 true. true 이면 토스증권 서버로 어떤 네트워크 요청도 보내지 않고 실행 계획만 반환합니다. 실제 주문을 내려면 false 로 명시해야 합니다. | |
| account | No | 요청에 사용할 계좌의 accountSeq. getAccounts 응답의 accountSeq 값을 사용합니다. 미지정 시 TOSSINVEST_DEFAULT_ACCOUNT 환경변수를 사용하며, 둘 다 없으면 호출하지 않고 오류를 반환합니다. | |
| confirmation | No | 실주문 확인 문자열. TOSSINVEST_MUTATION_CONFIRMATION 환경변수 값과 정확히 일치해야 실제 주문이 실행됩니다. |