From f0b3224e4961a37ee0172cf462da4374d5fe4790 Mon Sep 17 00:00:00 2001 From: Sik Yoon Date: Sun, 16 Jul 2023 17:29:48 +0900 Subject: [PATCH] Apply formatter --- src/coex/strategy_team.rs | 19 ++++++++++--------- .../indicators/bollingerband.rs | 1 - 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/coex/strategy_team.rs b/src/coex/strategy_team.rs index 14a76dd..4cce8b6 100644 --- a/src/coex/strategy_team.rs +++ b/src/coex/strategy_team.rs @@ -1003,15 +1003,16 @@ pub async fn execute_strategist_for_test_temp( &alldata.valid_symbol_vec, ) .await?; - - let bb10_30m_data: Vec<(String, Vec)> = value_estimation_team::indicators::bollingerband::bollingerband( - 10, - 3.0, - &sma_30m_data, - &alldata.rt_price_1m_vec, - &alldata.valid_symbol_vec, - ) - .await?; + + let bb10_30m_data: Vec<(String, Vec)> = + value_estimation_team::indicators::bollingerband::bollingerband( + 10, + 3.0, + &sma_30m_data, + &alldata.rt_price_1m_vec, + &alldata.valid_symbol_vec, + ) + .await?; let mut bb10_30m_vec: Vec = Vec::new(); let mut filtered_4th_symbols: Vec<(String, i64)> = Vec::new(); // (symbol, closetime) for element in filtered_3rd_symbols { diff --git a/src/value_estimation_team/indicators/bollingerband.rs b/src/value_estimation_team/indicators/bollingerband.rs index 24ab92b..20d0852 100644 --- a/src/value_estimation_team/indicators/bollingerband.rs +++ b/src/value_estimation_team/indicators/bollingerband.rs @@ -132,7 +132,6 @@ pub async fn bollingerband( None => {} } } - ; // println!(" indicators/bb{} 완료 elapsed:{:.2}s", ma_number, instant.elapsed().as_secs_f32()); Ok(bb_data_wrapper) }