> 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/terminal-cli/scale-orders.md).

# Scale Orders

{% hint style="info" %}
Note: all commands operate on the currently viewed instrument only
{% endhint %}

| Command Text                                                                                        | Description                                                                                                                                                                                                                                                                                                                                      | Example                                                                                                                                                                                                                                                                              |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **`scale <side> <size> into <count> from <price> to <price>`**                                      | Place \<count> number of orders of a given total \<size> between the two prices (order of prices not important). Can also specify to *`reduce`* (see example)                                                                                                                                                                                    | <p><em><code>scale buy 10 into 10 from 31000 to 32000</code></em><br><br><em><code>scale sell 10000$ into 25 from 50000 to 48500 reduce</code></em></p>                                                                                                                              |
| **`scale <side> <size> into <count> from <price> to <price>`**                                      | [Scale Side's](/documentation/limit-tab/scale-side.md) price offset can be mimicked and mixed with other types of figures                                                                                                                                                                                                                        | <p><em><code>scale buy 1000$ into 10 from -0.25% to -1%</code></em><br><br><em><code>scale sell 1 into 5 from +1% to 32000 reduce</code></em></p>                                                                                                                                    |
| **`scale <side> <size> into <count> from <price> to <price> cubic <skew>`**                         | As above, but specifying either **cubic** or **icubic** followed by a **skew** figure between 0.0 and 1.0 to specify how to distribute the orders                                                                                                                                                                                                | <p><em><code>scale buy 20000 into 10 from 31250 to 32000 icubic 1.0</code></em><br><br><em><code>scale buy 10000$ into 30 from 20500 to 20750 cubic 0.25 reduce</code></em></p>                                                                                                      |
| **`scale <side> <size> into <count> from <price> to <price> cubic <price-skew> cubic <size-skew>`** | <p>For <strong>size distribuition</strong> you can add a size skew right after the price skew.<br><br>However as the only exception, size skew comes <strong>after \<reduce></strong><br><br>If you only want to use only size distribution, you have to use <strong>linear 1</strong> (arbitrary number between 0-1) for price distribution</p> | <p><em><code>scale buy 10000 into 10 from 50000 to 49000 cubic 1.0 cubic 0.8</code></em><br><br><em><code>scale sell 1 into 10 from 90000 to 100000 cubic 0.25 reduce cubic 0.5</code></em><br><br><code>scale buy 50000 into 10 from 30000 to 29500 linear 1.0 cubic 0.8</code></p> |

When using **cubic**:

* For buy orders:
  * With a bias of skew 1: distribution towards price range high.
  * With a bias of skew 0: distribution towards price range low.
* For sell orders:
  * With a bias of skew 1: distribution towards price range low.
  * With a bias of skew 0: distribution towards price range high.

When using **icubic**:

* For buy orders:
  * With a bias of skew 1: distribution towards price range low.
  * With a bias of skew 0: distribution towards price range high.
* For sell orders:
  * With a bias of skew 1: distribution towards price range high.
  * With a bias of skew 0: distribution towards price range low.
