# TWAP Chase Order

This module mimicks the twap chase feature in orderform's TWAP ordertype:&#x20;

The base grammar is similar to the [TWAP Order](/documentation/terminal-cli/twap-order.md):

`twap chase <side> <size> [instrument] into <count> over <minutes>`

e.g.: `twap chase buy 1 btcusdt into 60 over 60`\
\
&#x20;

Additionally you can specify the timeout percentage: `timeout <percentage%>`&#x20;

and further if it will execute after timeout at the market or add to the next lot: `<market|next>`

The defaults are `50%` and `market` but if you wanted to  adjust them your whole command would be:

`twap chase <side> <size> [instrument] into <count> over <minutes> timeout <percentage%> <market|next>`

e.g.: `twap chase buy 1 btcusdt into 60 over 60 timeout 20% next`

Further you may specify behavior when a chase fails. By default it's a market order but you can add it to the next lot:

`fail <market|next>`&#x20;

e.g. `twap chase buy 1 btcusdt into 60 over 60 fail next`

or `twap chase buy 1 btcusdt into 60 over 60 timeout 20% next fail next`

You can also add `reduce` at the end of the command.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.insilicoterminal.com/documentation/terminal-cli/twap-chase-order.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
