> For the complete documentation index, see [llms.txt](https://docs.insilicoterminal.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.insilicoterminal.com/documentation/changelog/v4.0.7.md).

# v4.0.7

Updated 14th October 2025

#### NEW CLI FEATURES

* **Chaining of commands.** [docs](/documentation/terminal-cli/chaining.md)
  * **";" operator for sequential processing**
  * **"&" operator for parallel processing**
* **Ordering with explicit symbols** `buy 1 ethusdt` for all order types and all size types. The symbol comes after the main command and applicable size command. See Ordertype pages for examples.
* New **repeat** function for looping tasks `repeat 5 (buy 1 btcusdt & buy 1 ethusdt & buy 1 solusdt ; sleep 15s)`  [docs](/documentation/terminal-cli/repeat.md)
  * List ongoing repeat and chain tasks with their ID with `tasks` command, kill latest task with `kill` or kill a specific ID with `kill <ID>`.
  * Tasks are also shown in Activity component.
* New **sleep** command: `sleep <duration>` - unit supports `ms`, `s` (default), `m`; max 10min.
* New **alias** system for typing shortcuts inside the CLI, similar to existing hotkey system: `alias chadswarm "repeat 5 (swarm buy 100000$ into 5; sleep 5)"` - now type only: `chadswarm`  [docs](/documentation/terminal-cli/alias.md)
* New **TWAP** module: `twap buy 1 ethusdt into 10 over 10`  [docs](/documentation/terminal-cli/twap-order.md)
* New **TWAP Chase** module incl. parameters mimicking the twap chase in orderform: `twap chase buy 1 ethusdt into 10 over 10 timeout 30% fail market`  [docs](/documentation/terminal-cli/twap-chase-order.md)
  * grammar: twap chase buy|sell SIZE \[SYMBOL] into LOTS over MINS \[timeout \[PCT%] \[maket|next]] \[fail market|next] \[reduce]
  * Defaults (when omitted): 50%, market, market; e.g.:
  * `twap chase buy 1 ethusdt into 10 over 10`
  * `twap chase buy 100% ethusdt into 10 over 10 timeout 30% next fail market reduce`
  * `twap chase buy 1 ethusdt into 10 over 10 timeout 25% next fail next`
* New **bump** command: options to specify side, x top/bottom orders, absolute or relative-% price change, e.g. `bump buys top 5 0.1%`  [docs](/documentation/terminal-cli/bump-orders.md)
* Relative pricing with positions entry price `buy 1 at $entry -1%` in addition to the existing relative-to-lastprice-pricing. Works with simple and scale.

**New general commands**

* leverage handling `leverage` or `lev` to show current leverage; `leverage 50` or `lev 50` to change current leverage
* `reverse` analogous to close command. works also with and explicit instruments, e.g. `reverse long btcusdt`
* `export` and `import` to export / import all binds, variables and aliases together (backwards compatible - old export/import still alive but phasing it out)

#### NEW UI CONTROLS

[docs](/documentation/terminal-cli/ui-control.md)

**Hotkeys general**

* key combinations with new modifiers: ctrl, alt/option and shift: `bind ctrl+a "<command>"`, `bind k+ctrl "<command>"`
* added F-keys for binding, also work in combination with modifiers `bind F1 "<command>"` `bind ctrl+F2 "<command>"`

**CLI**

* &#x20;focus CLI input field: "ui cli focus" e.g. `bind global ctrl+space "ui cli focus"`
* &#x20;CLI link color change: "ui cli link\_color" e.g. `ui cli link_orange`

**Place Order form**

* Control a linked Place Order form via `ui order <control-command>`
* 'ui order type\_ordertype' to changes ordertypes of linked place order forms, e.g. `ui order type_chase`
* size and slider control. e.g. do `bind global shift+right "ui order size +10%` (% always refering to 100% max available size)\
  Absolute set:\
    `ui order size 250`    → set to 250 contracts/coins\
    `ui order size 500$`   → set to 500 USD (equivalent)\
    `ui order size 40%`   → set to 40 % of max size\
  Relative adjust:\
    `ui order size +10`   → add 10 contracts/coins\
    `ui order size -50$`  → subtract 50 USD worth\
    `ui order size +5%`  → raise by 5% of max size
* focus size inputs: `ui order sizefocus` or `ui order sizefocus1` for first sizeinput, `ui order sizefocus2` for the 2nd USD-input
* &#x20;`$ordersize` : using a size from orderform (only implicit instrument)
* &#x20;toggle quick buttons via `ui order quick1-7`
* &#x20;Using Quicksize button sizes via `$quick1` to `$quick7`
* &#x20;`btn_reduce` and `btn_post`
* &#x20;`btn_buy` and `btn_sell`

**Header**

* &#x20;`ui header designer`
* &#x20;`ui header reduce`

**Tabs**

* &#x20;Change layout tabs via `ui tab <name>`

**Chart**

* `$click` : using a price from chart click in CLI (= using price from ordermenu). `buy 1 at $click` (only implicit instrument)
* change chart component timeframes via e.g. `ui chart time_4h`

#### Other

* Performance fixes and improvements for Tick charts and DOM
* Mobile fixes and better scrolling
* Misc. fixes
  * DOM columns settings persistence
  * TV chart indicator settings persistence
  * Fix for clicking price in Positions component to use in Orderform
  * PnL card height
  * Limit order size calculation fix for specific contracts
  * Default Layout fixed
  * Various TV chart fixes
