diff --git a/src/strategy_team/future_strategy_long.rs b/src/strategy_team/future_strategy_long.rs index 2c04ba4..0ce4106 100644 --- a/src/strategy_team/future_strategy_long.rs +++ b/src/strategy_team/future_strategy_long.rs @@ -125,7 +125,7 @@ pub async fn list_up_for_sell() -> Result<(), Box= (1_800_000) * 1 { + } else if server_epoch - element.transact_time >= (600_000) * 1 { // time up selling is_sell = true; } diff --git a/src/strategy_team/future_strategy_short.rs b/src/strategy_team/future_strategy_short.rs index 7eedcaf..9f815d7 100644 --- a/src/strategy_team/future_strategy_short.rs +++ b/src/strategy_team/future_strategy_short.rs @@ -125,7 +125,7 @@ pub async fn list_up_for_sell() -> Result<(), Box= (1_800_000) * 1 { + } else if server_epoch - element.transact_time >= (600_000) * 1 { // time up selling is_sell = true; }