Update filtering
This commit is contained in:
parent
02251bb171
commit
1c8f0d1eec
|
|
@ -337,6 +337,8 @@ pub async fn list_up_for_sell(all_data: &AllData) -> Result<(), Box<dyn std::err
|
|||
is_sell = true;
|
||||
} else if target_profit_percent.is_normal() && element.pure_profit_percent < target_profit_percent * -1.5 {
|
||||
is_sell = true;
|
||||
} else if server_epoch - element.registered_server_epoch > 1_800_000 * 6 {
|
||||
is_sell = true;
|
||||
}
|
||||
|
||||
if is_sell == true {
|
||||
|
|
|
|||
|
|
@ -335,6 +335,8 @@ pub async fn list_up_for_sell(all_data: &AllData) -> Result<(), Box<dyn std::err
|
|||
is_sell = true;
|
||||
} else if target_profit_percent.is_normal() && element.pure_profit_percent < target_profit_percent * -1.5 {
|
||||
is_sell = true;
|
||||
} else if server_epoch - element.registered_server_epoch > 1_800_000 * 6 {
|
||||
is_sell = true;
|
||||
}
|
||||
|
||||
if is_sell == true {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user