Command Line Interface

Quickly navigate and take actions in Cryptowatch with the Command line interface (CLI).

Finding the Command Line Interface (CLI)

Check the bottom right of every Cryptowatch page for this icon:

Behold: the command line interface icon.

The command line interface can also be opened using hotkeys:

Operating System

Hotkey

Windows / Linux

Ctrl + Enter

Mac

Cmd + Enter

Using the CLI

Type a command and hit Enter. The commands currently available are go, ls, clear and help.

  • go <resource> will let you navigate between Cryptowatch pages.

    • Example:

      go assets will bring you to the Cryptowatch Assets page.

  • ls <resource> will provide a requested list.

    • Example:

      ls assets will return a list of all available assets on Cryptowatch.

  • Modifiers <exchange> <pair> <interval> can be used with the go charts command to build a specific chart.

    • Example:

      go charts kraken ethusd 1d returns a daily chart of ETHUSD on Kraken.

The Tab key can also be used for autocomplete suggestions.

Getting help

You can send the help command to see what you can do in the terminal. You can also send help as a flag by adding --help or -h to a command for more information about it.

For example: sending ls -h will give you information on what you can do with the ls command.

Full command dictionary

Below you will find all the commands you can use in the Command Line Interface. First, a special "flag" you can use after any command to learn more about that command - for example, to use the -h flag with the ls command, enter this in the CLI: ls -h

Flag

Description

--help, -h

use this after any command to see helpful information on how to use that command

Command

Description

Grammar and Examples

go g

navigate to a view / page

go <view> go assets <asset> go exchanges <exchange> go charts <exchange> <instrument> <?interval>

ls

list resources

ls alerts ls assets ls exchanges ls indices ls intervals ls <exchange> instruments ls views ls themes

clear

clear terminal

clear

help

output usage information

help or as a flag: --help and -h

Command

Description

Grammar and Examples

alert

create a custom alert

alert <exchange> <instrument> price <thresholds> eg. alert kraken btcusd price >=25000 >27250 <=22500 alert <exchange> <instrument> <thresholds> eg. alert kraken btcusd >27250 <=22500 alert <exchange> <instrument> volume <interval> <type> <thresholds> eg. alert kraken btcusd volume 1d base 500000000 alert <exchange> <instrument> <interval> <type> <thresholds> eg. alert kraken btcusd 1d quote 500000000

theme

manage color themes

theme export theme set <theme-name> eg. theme set standard theme create <theme> eg. theme create "My Theme,#000000,#b2b2b2,#363D52,#FFD506,#596A83,#00B909,#C60606" theme delete <theme-name> eg. theme delete "My Theme" theme rename <old-name> <new-name> eg. theme rename "My Theme" "New Name"