Skip to content

Commit

Permalink
Merge pull request #59 from hummingbot/fix/docker-copy
Browse files Browse the repository at this point in the history
(fix) add . to cp
  • Loading branch information
fengtality authored Aug 4, 2023
2 parents 7c8a0d6 + 4d20ae3 commit 2daf2a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,7 @@ dmypy.json

# Pyre type checker
.pyre/

# Optimize studies and strategies
quants_lab/optimizations/*
quants_lab/strategy/experiments/*
4 changes: 2 additions & 2 deletions pages/bot_orchestration/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def manage_broker_container():
def launch_new_bot():
bot_name = f"hummingbot-{st.session_state.new_bot_name.target.value}"
docker_manager.create_hummingbot_instance(instance_name=bot_name,
base_conf_folder=f"{constants.BOTS_FOLDER}/master_bot_conf/",
target_conf_folder=f"{constants.BOTS_FOLDER}/{bot_name}")
base_conf_folder=f"{constants.BOTS_FOLDER}/master_bot_conf/.",
target_conf_folder=f"{constants.BOTS_FOLDER}/{bot_name}/.")


def update_containers_info(docker_manager):
Expand Down
2 changes: 1 addition & 1 deletion ui_components/bot_performance_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __call__(self, bot_config: dict):
st.session_state.active_bots[bot_name]["selected_strategy"] = strategies[0]

with mui.Card(key=self._key,
sx={"display": "flex", "flexDirection": "column", "borderRadius": 2, "overflow": "hidden"},
sx={"display": "flex", "flexDirection": "column", "borderRadius": 2, "overflow": "auto"},
elevation=2):
color = "green" if bot_config["is_running"] else "red"
subheader_message = "Running " + st.session_state.active_bots[bot_name]["selected_strategy"] if bot_config["is_running"] else "Stopped"
Expand Down

0 comments on commit 2daf2a1

Please sign in to comment.