User Defined Variables
You can create variables and set them to any value then use them either manually by typing into the CLI or inside a shortcut binding.
All user variables start with the "@" symbol
This scheme offers a lot of flexibility and power if you're a regular shortcut user! For example you could define a variable @bigsize and use that in multiple shortcut bindings to Swarm, Chase etc. And then if you want to change the size used in these bindings, you can simply modify the value of @bigsize without having to re-write the bind shortcut.
How To Create & Modify Variables
Command | Description | Example |
---|---|---|
| Create a variable or change existing variable value |
|
| Remove a variable |
|
| Removes all variables | |
| Shows current value of the variable |
|
| Displays all variables and their current values |
Variables work with any type of number or string. They can be used for size, price, the number of orders you want to place, the method of scale (cubic, linear).
Quick Editor
For fast editing, when you create your first variable you also enable the quick editor at the top of the Terminal window:
Using Variables in the CLI
It's very simple, here's a quick example:
Last updated