From 12d97c109af2537baeb6be88ae8c2de1f81cd8ba Mon Sep 17 00:00:00 2001 From: Sik Yoon Date: Sat, 25 May 2024 07:54:37 +0900 Subject: [PATCH] Update filtering --- src/strategy_team/future_strategy_long.rs | 4 ++-- src/strategy_team/future_strategy_short.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/strategy_team/future_strategy_long.rs b/src/strategy_team/future_strategy_long.rs index 7ecb868..2f335d0 100644 --- a/src/strategy_team/future_strategy_long.rs +++ b/src/strategy_team/future_strategy_long.rs @@ -90,8 +90,8 @@ pub async fn list_up_for_buy( // Heatmap volume: filtering close price with Extra High is over the previous candle from 30 previous candles let mut keys_to_remove: HashSet = HashSet::new(); let heatmap_volumes = heatmap_volume( - 60, - 60, + 30, + 30, 4.0, 1.5, 0.5, diff --git a/src/strategy_team/future_strategy_short.rs b/src/strategy_team/future_strategy_short.rs index e8623da..31bd5c9 100644 --- a/src/strategy_team/future_strategy_short.rs +++ b/src/strategy_team/future_strategy_short.rs @@ -90,8 +90,8 @@ pub async fn list_up_for_buy( // Heatmap volume: filtering close price with Extra High is over the previous candle from 30 previous candles let mut keys_to_remove: HashSet = HashSet::new(); let heatmap_volumes = heatmap_volume( - 60, - 60, + 30, + 30, 4.0, 1.5, 0.5,