diff --git a/frontend/components/dca_distribution.py b/frontend/components/dca_distribution.py index f7851f1..c2f2fd0 100644 --- a/frontend/components/dca_distribution.py +++ b/frontend/components/dca_distribution.py @@ -50,7 +50,7 @@ def get_dca_distribution_inputs(): help="Enter the trailing stop delta as a percentage (e.g., 0.3 for 0.3%).") / 100 return { - "dca_spreads": spreads_normalized, + "dca_spreads": [spread /100 for spread in spreads_normalized], "dca_amounts": orders_amount_normalized, "stop_loss": sl, "take_profit": tp, diff --git a/frontend/components/deploy_v2_with_controllers.py b/frontend/components/deploy_v2_with_controllers.py index 1c0cba4..49d3e43 100644 --- a/frontend/components/deploy_v2_with_controllers.py +++ b/frontend/components/deploy_v2_with_controllers.py @@ -18,7 +18,7 @@ class LaunchV2WithControllers: self._controller_configs_available = self._backend_api_client.get_all_controllers_config() self._controller_config_selected = [] self._bot_name = None - self._image_name = "hummingbot/hummingbot:latest" + self._image_name = "dardonacci/hummingbot:latest" self._credentials = "master_account" def _set_bot_name(self, bot_name): @@ -49,7 +49,7 @@ class LaunchV2WithControllers: self._backend_api_client.add_script_config(script_config) deploy_config = { "instance_name": bot_name, - "script": "v2_generic_with_cash_out.py", + "script": "v2_with_controllers.py", "script_config": bot_name + ".yml", "image": self._image_name, "credentials_profile": self._credentials, diff --git a/frontend/components/directional_trading_general_inputs.py b/frontend/components/directional_trading_general_inputs.py index 3e8fb5e..2edbeae 100644 --- a/frontend/components/directional_trading_general_inputs.py +++ b/frontend/components/directional_trading_general_inputs.py @@ -5,9 +5,9 @@ def get_directional_trading_general_inputs(): with st.expander("General Settings", expanded=True): c1, c2, c3, c4, c5, c6, c7 = st.columns(7) with c1: - connector_name = st.text_input("Connector", value="kucoin", + connector_name = st.text_input("Connector", value="binance", help="Enter the name of the exchange to trade on (e.g., binance_perpetual).") - candles_connector_name = st.text_input("Candles Connector", value="kucoin", + candles_connector_name = st.text_input("Candles Connector", value="binance", help="Enter the name of the exchange to get candles from (e.g., binance_perpetual).") with c2: trading_pair = st.text_input("Trading Pair", value="WLD-USDT", diff --git a/frontend/components/launch_strategy_v2.py b/frontend/components/launch_strategy_v2.py index 4434aa2..cd7f256 100644 --- a/frontend/components/launch_strategy_v2.py +++ b/frontend/components/launch_strategy_v2.py @@ -67,7 +67,7 @@ class LaunchStrategyV2(Dashboard.Item): self._backend_api_client.add_script_config(script_config) deploy_config = { "instance_name": bot_name, - "script": "v2_generic_with_cash_out.py", + "script": "v2_with_controllers.py", "script_config": bot_name + ".yml", "image": self._image_name, "credentials_profile": self._credentials, diff --git a/frontend/components/market_making_general_inputs.py b/frontend/components/market_making_general_inputs.py index dc9d378..7cdc15f 100644 --- a/frontend/components/market_making_general_inputs.py +++ b/frontend/components/market_making_general_inputs.py @@ -8,7 +8,7 @@ def get_market_making_general_inputs(custom_candles=False): candles_trading_pair = None interval = None with c1: - connector_name = st.text_input("Connector", value="kucoin", + connector_name = st.text_input("Connector", value="binance", help="Enter the name of the exchange to trade on (e.g., binance_perpetual).") with c2: trading_pair = st.text_input("Trading Pair", value="WLD-USDT", @@ -30,7 +30,7 @@ def get_market_making_general_inputs(custom_candles=False): help="Enter the refresh time in minutes for executors (e.g., 60).") * 60 if custom_candles: with c1: - candles_connector = st.text_input("Candles Connector", value="kucoin", + candles_connector = st.text_input("Candles Connector", value="binance", help="Enter the name of the exchange to get candles from (e.g., binance_perpetual).") with c2: candles_trading_pair = st.text_input("Candles Trading Pair", value="WLD-USDT",