Setting the Terminal up with a Stream Deck

Use a Stream Deck to trigger Insilico Terminal CLI commands with one tap. This is useful for fast execution commands like buy, sell, reverse, close, stop orders, and custom position sizing.

What you need

  • Insilico Terminal open in your browser

  • Elgato Stream Deck app installed

  • A Stream Deck connected to your computer

  • Terminal CLI module added to your Insilico layout

1. Add the CLI module in Insilico Terminal

Open Insilico Terminal and click the menu icon in the top-right corner of the terminal layout.

From the module list, add CLI to your layout.

The CLI is where you create keyboard shortcuts that can later be triggered from your Stream Deck.

2. Create CLI hotkeys

Explained here.

3. Check your hotkeys

Once your commands are created, click Hotkeys in the top toolbar of Insilico Terminal.

You should see your newly created binds listed there.

If the hotkeys show up in Insilico, the terminal side is set up correctly.

4. Add the hotkeys to Stream Deck

Open the Stream Deck app.

On the right-hand side, go to:

Drag Hotkey onto an empty Stream Deck button.

Then configure the button:

  • Title: The label you want to see on the button, for example LONG 0.25 BTC

  • Hotkey: The same key combination you used in the CLI, for example Shift + A

Repeat this for every command you want on your Stream Deck.

Example setup

CLI command:

Stream Deck button:

Pressing the Stream Deck button now sends Shift + A, which triggers the CLI command and closes 10% of the position.

Suggested Stream Deck layout

Use this as a starter layout if you imported the default Insilico Stream Deck hotkey file. These binds use Ctrl + Shift + key, which tends to work more reliably than heavier modifier combinations on Mac.

Button
Action
Hotkey
Insilico command

Buy

Market buy using selected order size

Ctrl + Shift + B

buy $ordersize

Sell

Market sell using selected order size

Ctrl + Shift + S

sell $ordersize

Chase Buy

Limit Chase buy using selected order size

Ctrl + Shift + Q

chase buy $ordersize

Chase Sell

Limit Chase sell using selected order size

Ctrl + Shift + W

chase sell $ordersize

Cancel

Cancel open orders

Ctrl + Shift + X

cancel

Close

Close current position

Ctrl + Shift + C

close

Reverse

Reverse current position

Ctrl + Shift + V

reverse

Reduce Only

Toggle reduce-only

Ctrl + Shift + R

ui order btn_reduce

Post Only

Toggle post-only

Ctrl + Shift + P

ui order btn_post

Nuke Orders

Cancel all orders

Ctrl + Shift + N

nuke ord

Size -10%

Decrease order size by 10%

Ctrl + Shift + D

ui order size -10%

Size +10%

Increase order size by 10%

Ctrl + Shift + A

ui order size +10%

Size 10%

Set order size to 10%

Ctrl + Shift + J

ui order size 10%

Size 25%

Set order size to 25%

Ctrl + Shift + K

ui order size 25%

Size 50%

Set order size to 50%

Ctrl + Shift + L

ui order size 50%

To add the hotkey layout to your Terminal, simply type import into the CLI and select your json file.

Download Starter Hotkey Layout

To add the Streamdeck Profile, go to Profiles -> Edit Profiles.. -> Import as shown on the image below.

Download Starter Streamdeck Profile

Last updated