modify_conditional_order
Modify an existing conditional order by updating its type, quantity, order type, expiry, and monitoring conditions. Supports switching between SINGLE, OCO, and OTO types.
Instructions
조건주문 수정. ⚠️ 실제 조건주문이 변경됩니다. 타입 전환(SINGLE→OCO 등) 가능.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 변경 결과 타입 | |
| first | Yes | 첫번째 감시 조건 | |
| second | No | 두번째 감시 조건 (OCO/OTO 필수) | |
| quantity | Yes | 매매 수량 (그룹 공통) | |
| orderType | Yes | 호가 유형 (OCO/OTO는 LIMIT만) | |
| accountSeq | No | 계좌 accountSeq. 미지정 시 TOSS_ACCOUNT_SEQ 환경변수 사용. get_accounts로 조회 가능 | |
| expireDate | Yes | 만료일 (YYYY-MM-DD) | |
| conditionalOrderId | Yes | 수정할 조건주문 ID | |
| confirmHighValueOrder | No | 1억원 이상 주문 동의 여부 |