From 957c5e5a7d6ede4da0d694bd7f884566809543db Mon Sep 17 00:00:00 2001 From: Sik Yoon Date: Mon, 18 Dec 2023 13:01:58 +0900 Subject: [PATCH] Fix typo --- src/strategy_team/strategy_005.rs | 2 +- src/strategy_team/strategy_006.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strategy_team/strategy_005.rs b/src/strategy_team/strategy_005.rs index 37cfd7c..c78bb5e 100644 --- a/src/strategy_team/strategy_005.rs +++ b/src/strategy_team/strategy_005.rs @@ -285,7 +285,7 @@ pub async fn list_up_for_sell( .iter() .position(|x| *x.0 == element.symbol); let supertrend_option_30m = - supertrend(&element.symbol, &all_data.rt_price_30m_vec, 10, 1.5, true).await; + supertrend(&element.symbol, &all_data.rt_price_30m_vec, 20, 1.5, true).await; if lot_step_size_option.is_some() && quote_commission_precision_option.is_some() diff --git a/src/strategy_team/strategy_006.rs b/src/strategy_team/strategy_006.rs index 02bf7b5..330ea7c 100644 --- a/src/strategy_team/strategy_006.rs +++ b/src/strategy_team/strategy_006.rs @@ -293,7 +293,7 @@ pub async fn list_up_for_sell( .iter() .position(|x| *x.0 == element.symbol); let supertrend_option_30m = - supertrend(&element.symbol, &all_data.rt_price_30m_vec, 10, 1.5, true).await; + supertrend(&element.symbol, &all_data.rt_price_30m_vec, 20, 1.5, true).await; if lot_step_size_option.is_some() && quote_commission_precision_option.is_some()