hummingbot / dashboard

Application that helps you create, backtest, deploy, and manage Hummingbot instances
Apache License 2.0
162 stars 98 forks source link

Feat/deployable backtesting #69

Closed cardosofede closed 9 months ago

cardosofede commented 9 months ago

Added new functionalities:

rapcmia commented 9 months ago

Test commit 92bf3b46246d222d4e58504312683d19eb092e2e

Start master_bot-conf


Launch bot image


Instances

Note: The errors reported above only occurs when it was initially created and stopped. When a container is started 2nd time, the warning does not occur


Build docker images from this PR

74.19   Getting requirements to build wheel: started
74.19   Getting requirements to build wheel: finished with status 'done'
74.19   Preparing metadata (pyproject.toml): started
74.19   Preparing metadata (pyproject.toml): finished with status 'done'
74.19 Collecting hummingbot (from -r /tmp/condaenv.fpvo1ve6.requirements.txt (line 1))
74.19   Downloading hummingbot-20230930.tar.gz (8.2 MB)
74.19      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.2/8.2 MB 28.2 MB/s eta 0:00:00
74.19   Installing build dependencies: started
74.19   Installing build dependencies: finished with status 'done'
74.19   Getting requirements to build wheel: started
74.19   Getting requirements to build wheel: finished with status 'error'
74.19
74.19 failed
74.19
74.19 CondaEnvException: Pip failed
74.19
------
Dockerfile:13
--------------------
  12 |     COPY environment_conda.yml /tmp/environment_conda.yml
  13 | >>> RUN conda env create -f /tmp/environment_conda.yml && \
  14 | >>>     conda clean -afy && \
  15 | >>>     rm /tmp/environment_conda.yml
  16 |
--------------------
ERROR: failed to solve: process "/bin/sh -c conda env create -f /tmp/environment_conda.yml &&     conda clean -afy &&     rm /tmp/environment_conda.yml" did not complete successfully: exit code: 1

Pending: Not tested on cloud server running Ubuntu and related AMD platforms

cardosofede commented 9 months ago

@rapcmia regarding the master bot conf testing, don't worry since this PR is more for the second part. I will record a video showing how this should be used so you can test that. Regarding to the docker build, seems like the error happen when trying to install hummingbot. @david-hummingbot when do you uploaded the wheels? because docker uses linux so probably if you tried to do it before David finished the upload it's expected

cardosofede commented 9 months ago

@rapcmia I added error handling if there are no controller configs selected. I'm also uploading a video showing how to use it

rapcmia commented 9 months ago

PR update:

image

In progress: Testing in progress on backtests base on fede's demo

fengtality commented 9 months ago

@cardosofede I think we have to create the hummingbot_files/controller_configs directory. Otherwise, it throws an error since it can't save the controller config file.

cardosofede commented 9 months ago

Yes I forgot to add it to git because I already have the folder

On Tue, 26 Sep 2023 at 17:12 Michael Feng @.***> wrote:

@cardosofede https://github.com/cardosofede I think we have to create the hummingbot_files/controller_configs directory. Otherwise, it throws an error since it can't save the controller config file.

— Reply to this email directly, view it on GitHub https://github.com/hummingbot/dashboard/pull/69#issuecomment-1736222474, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZJOSHTKL2KXKWLALAFUILX4MZKPANCNFSM6AAAAAA45AAAMQ . You are receiving this because you were mentioned.Message ID: @.***>

rapcmia commented 9 months ago

Test commit 7cd1a6417d8f3f2f05a968aee85bd405258b4dd6


On Optimize, Test using default bollinger template for BTC-USDT

On Analyze v2


On Optimize, Test using default bollinger template for XRP-USDT and ETH-USDT

rapcmia commented 9 months ago

Run tests on save controller config

Note: current commit does not support hummingbot_files/controller_configs image


Run tests on launch bots

image