(fix) add . to cp

This commit is contained in:
Michael Feng
2023-08-04 15:48:18 -07:00
parent 7c8a0d62df
commit 4d20ae3721
3 changed files with 7 additions and 3 deletions

4
.gitignore vendored
View File

@@ -131,3 +131,7 @@ dmypy.json
# Pyre type checker
.pyre/
# Optimize studies and strategies
quants_lab/optimizations/*
quants_lab/strategy/experiments/*

View File

@@ -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):

View File

@@ -38,7 +38,7 @@ class BotPerformanceCard(Dashboard.Item):
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"