diff --git a/src/strategy_team/strategy_001.rs b/src/strategy_team/strategy_001.rs index 08c7650..74deb83 100644 --- a/src/strategy_team/strategy_001.rs +++ b/src/strategy_team/strategy_001.rs @@ -230,7 +230,7 @@ pub async fn list_up_for_buy( remove_keys(&mut filtered_data, keys_to_remove).await; let final_filtered_data = duplicate_filter(1, &filtered_data).await?; - insert_pre_suggested_coins(1, false, &final_filtered_data, &alldata).await; + insert_pre_suggested_coins(1, false, &final_filtered_data).await; Ok(()) } diff --git a/src/strategy_team/strategy_002.rs b/src/strategy_team/strategy_002.rs index 59f82a3..0716064 100644 --- a/src/strategy_team/strategy_002.rs +++ b/src/strategy_team/strategy_002.rs @@ -239,7 +239,7 @@ pub async fn list_up_for_buy( remove_keys(&mut filtered_data, keys_to_remove).await; let final_filtered_data = duplicate_filter(2, &filtered_data).await?; - insert_pre_suggested_coins(2, false, &final_filtered_data, &alldata).await; + insert_pre_suggested_coins(2, false, &final_filtered_data).await; Ok(()) } diff --git a/src/strategy_team/strategy_003.rs b/src/strategy_team/strategy_003.rs index 2729d99..d398fad 100644 --- a/src/strategy_team/strategy_003.rs +++ b/src/strategy_team/strategy_003.rs @@ -164,7 +164,7 @@ pub async fn list_up_for_buy( remove_keys(&mut filtered_data, keys_to_remove).await; let final_filtered_data = duplicate_filter(3, &filtered_data).await?; - insert_pre_suggested_coins(3, false, &final_filtered_data, &alldata).await; + insert_pre_suggested_coins(3, false, &final_filtered_data).await; Ok(()) } diff --git a/src/strategy_team/strategy_004.rs b/src/strategy_team/strategy_004.rs index f244b56..ccfd38b 100644 --- a/src/strategy_team/strategy_004.rs +++ b/src/strategy_team/strategy_004.rs @@ -252,7 +252,7 @@ pub async fn list_up_for_buy( remove_keys(&mut filtered_data, keys_to_remove).await; let final_filtered_data = duplicate_filter(4, &filtered_data).await?; - insert_pre_suggested_coins(4, false, &final_filtered_data, &alldata).await; + insert_pre_suggested_coins(4, false, &final_filtered_data).await; Ok(()) } diff --git a/src/strategy_team/strategy_005.rs b/src/strategy_team/strategy_005.rs index 70f9adb..91e5812 100644 --- a/src/strategy_team/strategy_005.rs +++ b/src/strategy_team/strategy_005.rs @@ -205,7 +205,7 @@ pub async fn list_up_for_buy( remove_keys(&mut filtered_data, keys_to_remove).await; let final_filtered_data = duplicate_filter(5, &filtered_data).await?; - insert_pre_suggested_coins(5, false, &final_filtered_data, &alldata).await; + insert_pre_suggested_coins(5, false, &final_filtered_data).await; Ok(()) } diff --git a/src/strategy_team/strategy_006.rs b/src/strategy_team/strategy_006.rs index 9015454..320f926 100644 --- a/src/strategy_team/strategy_006.rs +++ b/src/strategy_team/strategy_006.rs @@ -220,7 +220,7 @@ pub async fn list_up_for_buy( remove_keys(&mut filtered_data, keys_to_remove).await; let final_filtered_data = duplicate_filter(6, &filtered_data).await?; - insert_pre_suggested_coins(6, false, &final_filtered_data, &alldata).await; + insert_pre_suggested_coins(6, false, &final_filtered_data).await; Ok(()) } diff --git a/src/strategy_team/strategy_007.rs b/src/strategy_team/strategy_007.rs index f68994e..3d055b5 100644 --- a/src/strategy_team/strategy_007.rs +++ b/src/strategy_team/strategy_007.rs @@ -190,7 +190,7 @@ pub async fn list_up_for_buy( remove_keys(&mut filtered_data, keys_to_remove).await; let final_filtered_data = duplicate_filter(7, &filtered_data).await?; - insert_pre_suggested_coins(7, false, &final_filtered_data, &alldata).await; + insert_pre_suggested_coins(7, false, &final_filtered_data).await; Ok(()) } diff --git a/src/strategy_team/strategy_008.rs b/src/strategy_team/strategy_008.rs index 3b96b34..5a1576d 100644 --- a/src/strategy_team/strategy_008.rs +++ b/src/strategy_team/strategy_008.rs @@ -329,7 +329,7 @@ pub async fn list_up_for_buy( remove_keys(&mut filtered_data, keys_to_remove).await; let final_filtered_data = duplicate_filter(8, &filtered_data).await?; - insert_pre_suggested_coins(8, false, &final_filtered_data, &alldata).await; + insert_pre_suggested_coins(8, false, &final_filtered_data).await; Ok(()) } diff --git a/src/strategy_team/strategy_009.rs b/src/strategy_team/strategy_009.rs index 495865a..bc45f75 100644 --- a/src/strategy_team/strategy_009.rs +++ b/src/strategy_team/strategy_009.rs @@ -335,7 +335,7 @@ pub async fn list_up_for_buy( // remove_keys(&mut filtered_data, keys_to_remove).await; let final_filtered_data = duplicate_filter(9, &filtered_data).await?; - insert_pre_suggested_coins(9, false, &final_filtered_data, &alldata).await; + insert_pre_suggested_coins(9, false, &final_filtered_data).await; Ok(()) } diff --git a/src/strategy_team/strategy_manager.rs b/src/strategy_team/strategy_manager.rs index c06cae4..d6e71fe 100644 --- a/src/strategy_team/strategy_manager.rs +++ b/src/strategy_team/strategy_manager.rs @@ -87,8 +87,7 @@ pub async fn execute_list_up_for_sell( pub async fn insert_pre_suggested_coins( registerer: i32, is_long: bool, - filtered_coins: &HashMap, - alldata: &AllData, + filtered_coins: &HashMap ) -> Result<(), Box> { // Check the existance of record that is registered by this strategist let mut dest_table_name = String::from("suggested_coin_list");