mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2025-12-24 00:34:23 +01:00
(feat) add templates contant
This commit is contained in:
@@ -3,3 +3,4 @@ DOWNLOAD_CANDLES_CONFIG_YML = "hummingbot_files/scripts_configs/data_downloader_
|
||||
BOTS_FOLDER = "hummingbot_files/bot_configs"
|
||||
DIRECTIONAL_STRATEGIES_PATH = "quants_lab/strategy/experiments"
|
||||
OPTIMIZATIONS_PATH = "quants_lab/optimizations"
|
||||
HUMMINGBOT_TEMPLATES = "hummingbot_files/templates"
|
||||
|
||||
@@ -50,7 +50,7 @@ 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/.",
|
||||
base_conf_folder=f"{constants.HUMMINGBOT_TEMPLATES}/master_bot_conf/.",
|
||||
target_conf_folder=f"{constants.BOTS_FOLDER}/{bot_name}/.")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user