You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALLATION.md
+63-91Lines changed: 63 additions & 91 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,41 @@ This repository is maintained by Hummingbot Foundation as a companion for users
3
3
4
4
## Requirements
5
5
6
-
* 8 GB memory or more (On AWS, this is a `t2.large` instance)
7
-
* Linux / Debian / MacOS
6
+
Cloud Server or local machine
8
7
9
-
## Installation
8
+
* Minimum of at least 2vCPU and 8 GB memory or more (On AWS, this is a `t2.large` instance)
9
+
* Linux / MacOS / Windows*
10
+
11
+
* For Windows users, make sure to install WSL2 as well as a Linux distro like Ubuntu and run the commands listed below in a Linux terminal and **NOT** in the Windows Command prompt or Powershell.
12
+
13
+
## Installation
14
+
15
+
16
+
### Method 1 - Deploy Repo
17
+
18
+
This is the **recommended** install procedure for normal users
Open a web browser and navigate to <https://localhost:8501> to view the Dashboard.
63
75
64
-
Locate the credentials YAML file in the root directory.
65
-
Edit the file by inserting the generated hashed password from Step 2.
76
+
If you are using a cloud server or VPS, replace localhost with the IP of your server. You may need to edit the firewall rules to allow inbound connections to the necessary ports.
66
77
67
-
4 - Accessing the Dashboard
68
-
69
-
Run the Hummingbot Dashboard project.
70
-
Use the username and the plain text password (used in Step 2) to log in to the dashboard.
71
78
72
-
5 - Logging Out
73
-
74
-
To log out, navigate to the dashboard and select 'Logout'.
75
-
76
-
77
-
### Method 2: Using Pre-Authorized Emails for User Registration
78
-
79
-
1 - Update the Environment
79
+
## Updating
80
80
81
-
As in Method 1, ensure your conda environment and project version are up-to-date.
81
+
Before updating, make sure to stop any running instances first
82
82
83
-
2 - Whitelist Emails
83
+
### Deploy Repo
84
84
85
-
In the credentials YAML file, add the emails of users who will be pre-authorized to register and create their credentials.
85
+
To update - make sure you are in the `deploy` folder then run the bash script
This will pull any latest images and recreate the Docker containers.
94
92
95
-
Direct users to the Hummingbot Dashboard.
96
-
Users should select 'Register' and enter one of the pre-authorized email addresses.
97
-
They will choose their own username and password during registration.
98
-
99
-
4 - First-Time Login
100
-
101
-
Users log in with their chosen username and password.
102
-
The dashboard will hash and store their credentials automatically.
93
+
### Source
103
94
104
-
5 - Logging Out
105
-
106
-
Similar to Method 1, users can log out by navigating to the dashboard and selecting 'Logout'.
95
+
To update the `dashboard` source for latest version, run:
96
+
```
97
+
cd dashboard
98
+
git pull
99
+
```
107
100
108
-
### Additional Notes
101
+
Once updated, start up the dashboard again:
109
102
110
-
- Video instruction link - https://drive.google.com/file/d/17ecd2aWHZCyuK5Etcv8AZwXMw2B-1sJG/view?usp=share_link
111
-
- Users created through Method 2 (Pre-Authorized Emails) will have their hashed passwords automatically generated and stored.
112
-
- Always ensure the secure handling and storage of credentials.
113
-
- Utilize the 'Logout' feature to secure information and restrict access to the dashboard when it is not in use.
103
+
```
104
+
make run
105
+
```
114
106
115
-
## Updating
107
+
To update the `dashboard` environment, run
116
108
117
-
To update the `dashboard` environment for changes to dependencies defined in `environment.yml`, remove the environment and re-create it:
118
109
```
119
110
make env_remove
120
111
make env_create
121
112
```
122
113
123
-
To updated the `dashboard` source for latest version, run:
124
-
```
125
-
cd dashboard
126
-
git pull
127
-
```
114
+
This will remove the `conda` environment and recreate it.
128
115
129
116
## Troubleshooting
130
117
118
+
For Dashboard issues, please open a ticket on our Dashboard [Github page](https://github.com/hummingbot/dashboard) or post in the `#hummingbot-deploy` channel in [Discord](https://discord.gg/hummingbot)
119
+
131
120
### Docker permissions
132
121
133
122
If you get an error like `Permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock`, run this command to enable Docker permissions:
134
123
```
135
124
sudo chmod 6666 /var/run/docker.sock
136
125
```
137
-
138
-
### Sym-link data directory
139
-
140
-
To use the [Strategy Performance page](https://github.com/hummingbot/dashboard/wiki/%F0%9F%9A%80-Strategy-Performance), you need to establish a symbolic link to the `data` directory of your running Hummingbot instance:
141
-
142
-
The `data` directory differs for Docker versus Source installed Hummingbot:
Copy file name to clipboardExpand all lines: README.md
+7-19Lines changed: 7 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,36 +1,24 @@
1
1
# Hummingbot Dashboard
2
2
3
-
Hummingbot Dashboard is an open-source application designed to assist in the creation, backtesting, and optimization of a wide variety of algorithmic trading strategies. Once refined, these strategies can be deployed as [Hummingbot](https://github.com/hummingbot/hummingbot) instances in either paper trading or live trading modes, providing a seamless transition from strategy formulation to actual trading execution.
3
+
Hummingbot Dashboard is an open-source application designed to assist in the creation, backtesting, and optimization of a wide variety of algorithmic trading strategies. Once refined, these strategies can be deployed as [Hummingbot](https://github.com/hummingbot/hummingbot) instances in live trading modes, providing a seamless transition from strategy formulation to actual trading execution.
4
4
5
5
## Features
6
6
7
7
-**Bot Orchestration**: Deploy and manage multiple instances of Hummingbot
8
8
-**Strategy Backtesting and Optimization**: Evaluate the performance of your strategies against historical data and optimize them with Optuna
9
9
-**One-Click Deployment**: Seamlessly deploy your strategies as Hummingbot instances for paper or live trading.
10
10
-**Performance Analysis Monitoring**: Monitor and analyze the performance of your deployed strategies.
11
-
-**Secure Credentials**: Restrict access to whitelisted users
11
+
-**Credential Management**: Create and manage separate accounts for API keys
12
12
13
-
## Tutorial
14
-
15
-
Get a comprehensive understanding of Hummingbot Dashboard by exploring our introductory video playlist. These videos will guide you through the various features and functionalities:
16
-
17
-
1.[Introduction to Dashboard](https://www.youtube.com/watch?v=a-kenMqRB00&list=PLDwlNkL_4MMf0Ifvj-HLuQ_Jtf7OV6uzW&index=1)
18
-
2.[Setting up the Environment](https://www.youtube.com/watch?v=AbezIhb6iJg&list=PLDwlNkL_4MMf0Ifvj-HLuQ_Jtf7OV6uzW&index=2)
4.[Using the Master Bot Profile](https://www.youtube.com/watch?v=MPQTnlDXPno&list=PLDwlNkL_4MMf0Ifvj-HLuQ_Jtf7OV6uzW&index=4)
21
-
5.[Deploying Bots and Running Strategies](https://www.youtube.com/watch?v=915E-C2LWdg&list=PLDwlNkL_4MMf0Ifvj-HLuQ_Jtf7OV6uzW&index=5)
22
-
6. Analyzing Strategy Performance (coming soon)
23
-
7.[Controllers, Backtesting, and Optimization](https://www.youtube.com/watch?v=bAi2ok7_boo&list=PLDwlNkL_4MMf0Ifvj-HLuQ_Jtf7OV6uzW&index=6)
24
-
8.[Deploying Best Strategies from Backtests](https://www.youtube.com/watch?v=BJf3ml-9JIQ&list=PLDwlNkL_4MMf0Ifvj-HLuQ_Jtf7OV6uzW&index=7)
25
-
9.[Conclusions and Next Steps](https://www.youtube.com/watch?v=ug_SSZb2HYE&list=PLDwlNkL_4MMf0Ifvj-HLuQ_Jtf7OV6uzW&index=8)
26
-
27
13
## Documentation
28
14
29
15
For detailed instructions and further information, visit our [documentation page](https://hummingbot.org/dashboard/).
30
16
31
17
## Installation
32
18
33
-
Currently, Dashboard should be installed from source via the process below. In the future, we aim to support a simpler,Docker-based installation process as well.
19
+
Currently, we recommend users to install Dashboard using the **[Deploy repo](https://github.com/hummingbot/deploy)** instead as this will automatically launch Dashboard along with the needed components in their own Docker containers.
20
+
21
+
If you are a developer, and want to make changes to the code then we recommend using the Source installation below - please note that you will also need to launch the Backend API and Broker separately (either through source install or through Docker).
34
22
35
23
1.**Install Dependencies**:
36
24
- Docker Engine
@@ -44,7 +32,7 @@ Currently, Dashboard should be installed from source via the process below. In t
44
32
45
33
3. **Create Conda Environment and Install Dependencies**:
46
34
```bash
47
-
make env_create
35
+
make install
48
36
```
49
37
50
38
4. **Activate the Isolated 'conda' Environment**:
@@ -54,7 +42,7 @@ Currently, Dashboard should be installed from source via the process below. In t
54
42
55
43
5. **Start the Dashboard**:
56
44
```bash
57
-
streamlit run main.py
45
+
make run
58
46
```
59
47
60
48
For more detailed instructions on how to install and update the dashboard, refer to [INSTALLATION.md](INSTALLATION.md).
0 commit comments