# 'Constant' values

For convenience, you can use constants which are like placeholders representing useful data such as the entry price or current size of the open position. You cannot change the value of these, they are derived from your position.

{% hint style="info" %}
All constants start with the "**$"** symbol
{% endhint %}

| **$size**       | Size of the current position long or short                     |
| --------------- | -------------------------------------------------------------- |
| **$lsize**      | Size of the open long position (hedge mode)                    |
| **$ssize**      | Size of the open short position (hedge mode)                   |
| **$entry**      | Average entry price of the current position                    |
| **$lentry**     | Average entry price of the current long position (hedge mode)  |
| **$sentry**     | Average entry price of the current short position (hedge mode) |
| **$click**      | Uses price from clicking in a chart component                  |
| **$ordersize**  | Will use the current size from your linked orderform           |
| **$quick<1-7>** | Use Quicksize button sizes in the CLI e.g. `$quick2`           |

```markup
swarm buy $size into 10

buy $ordersize at $entry

buy $100 btcusdt at $click
```

$entry prices and its variants can be offset by absolte or relative amounts:

```
buy 0.1 btcusdt at $entry -100

stop sell at $lentry -1%
```

You can set up a shortcut bind using these constants and when pressed will always represent the correct size or entry etc of your position.

To efficiently pyramid your positions in Insilico Terminal, use the commands "buy $size" or "sell $size". These commands automatically replicate your current position size, enabling easy doubling of your position. The "$size" variable dynamically adjusts to your existing position, facilitating rapid and precise adjustments in response to market shifts. This feature simplifies position management, ensuring you can act quickly without manual calculations.
