> For the complete documentation index, see [llms.txt](https://duality.gitbook.io/duality-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://duality.gitbook.io/duality-documentation/module-documentation-for-developers/dex-module/transaction-messages/cancel-limit-order-message.md).

# Cancel Limit Order Message

## Overview

Standard Taker limit orders (Good-til-cancelled & Good-til-Time) can be canceled at any time if they have not been completely filled. Once a limit order is canceled any remaining “TokenIn” liquidity is returned to the user.

NOTE: Canceling a partially filled limit order does not withdraw the traded portion. A separate call must be made to `WithdrawFilledLimitOrder` to withdraw any proceeds from the limit order

## Cancel Limit Order Message

```protobuf
message MsgCancelLimitOrder {
    string creator = 1;
    string tranche_key = 2;
}
```

## MsgCancelLimitOrder

| Field                             | Description                                                                         |
| --------------------------------- | ----------------------------------------------------------------------------------- |
| `Creator` string (sdk.AccAddress) | Account which controls the limit order and to which any untraded amount is credited |
| `TrancheKey` string               | TrancheKey for the target limit order                                               |
