주문 취소 (실거래 주의)
toss_cancel_orderCancel pending or partially filled stock orders by specifying account sequence and order ID. This action removes unexecuted orders from the market.
Instructions
⚠️ 경고: 이 도구는 실제 주식 주문을 취소합니다.
미체결(PENDING/PARTIAL_FILLED) 상태의 주문을 취소합니다.
Args:
accountSeq (number, 필수): 계좌 시퀀스
orderId (string, 필수): 취소할 주문의 orderId
Returns:
orderId: 취소된 주문의 식별자
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountSeq": "<accountSeq>",
"orderId": "<orderId>"
},
"name": "toss_cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | 취소할 주문의 orderId | |
| accountSeq | Yes | 계좌 시퀀스. toss_get_accounts 응답의 accountSeq 값 |