Update filtering

This commit is contained in:
Sik Yoon 2024-05-26 08:11:16 +09:00
parent 2e2222377f
commit 02251bb171
2 changed files with 2 additions and 2 deletions

View File

@ -333,7 +333,7 @@ pub async fn list_up_for_sell(all_data: &AllData) -> Result<(), Box<dyn std::err
// }
if over_turned == true && server_epoch - element.registered_server_epoch > 1_800_000 {
is_sell = true;
} else if target_profit_percent.is_normal() && element.pure_profit_percent > target_profit_percent * 3.0 {
} else if target_profit_percent.is_normal() && element.pure_profit_percent > target_profit_percent * 2.5 {
is_sell = true;
} else if target_profit_percent.is_normal() && element.pure_profit_percent < target_profit_percent * -1.5 {
is_sell = true;

View File

@ -331,7 +331,7 @@ pub async fn list_up_for_sell(all_data: &AllData) -> Result<(), Box<dyn std::err
// }
if over_turned == true && server_epoch - element.registered_server_epoch > 1_800_000 {
is_sell = true;
} else if target_profit_percent.is_normal() && element.pure_profit_percent > target_profit_percent * 3.0 {
} else if target_profit_percent.is_normal() && element.pure_profit_percent > target_profit_percent * 2.5 {
is_sell = true;
} else if target_profit_percent.is_normal() && element.pure_profit_percent < target_profit_percent * -1.5 {
is_sell = true;