Shows a list of all available gateway connectors and their tiers
status
Check status of gateway docker instance
test-connection
Ping gateway api server
Users can also use gateway -h this will print out the different commands you can use with gateway.
>>> gateway -h
usage: gateway [-h] {config,connect,connector-tokens,generate-certs,status,test-connection} ...
positional arguments: {config,connect,connector-tokens,generate-certs,status,test-connection}
config View or update gateway configuration
connect Create/view connection info on gateway connector
connector-tokens Report token balances for gateway connectors
generate-certs Create ssl certificate for gateway
test-connection Ping gateway api server
optional arguments:
-h, --help show this help message and exit
Gateway help command can also be used this way gateway [command]-h
>>> gateway config -h
usage: gateway config [-h]
It can also be used with a different command:
>>> gateway connector-tokens -h
usage: gateway connector-tokens [-h] [connector_chain_network] [new_tokens]
positional arguements:
connector_chain_network Name of connector you want to edit reported tokens for
new_tokens Report balance of these tokens
To highlight, hold SHIFT + LMB (left mouse button) and drag across the text you want to select.
Mac
Keyboard Combo
Command
⌘ + C
Copy
⌘ + V
Paste
Note
To select text on macOS, you may need to enable the Allow Mouse Reporting option by pressing ⌘ + R or selecting View > Allow Mouse Reporting in the menu bar.
Then you should be able to select text by holding LMB (left mouse button) and drag. You can also hold down ⌥ + shift to select specific lines like the image below.
When accessing Hummingbot on a Linux cloud server through ssh using a macOS terminal, hold down the Option ⌥ key or ⌥ + ⌘ to highlight text.
Windows
Keyboard Combo
Command
CTRL + SHIFT + C
Copy
CTRL + SHIFT + V
Paste
To use this shortcut, check this box by doing a right-click on the title bar at the top of the Hummingbot window, then select Properties.
Currently, Hummingbot supports the following commands:
Depending on the usage of the hummingbot client, you may need to add new commands to the client. This is done by adding a new command class to the hummingbot/client/command directory.
The new command class should be called <command_name>_command.py
The new class should be called <CommandName>Command and adhere to the CamelCase naming convention.
The new class should have a function called command_name which will be ran when the command is called in the Hummingbot client.
Add the new class to the __init__.py file in the hummingbot/client/command directory and add any necessary imports to the __init__.py file.
The last step is to add any other functions that the new command class may need.
Please note: check the hummingbot/client/command directory for any existing commands that may be similar to the new command you are adding.