diff --git a/src/strategy_team/strategy_008.rs b/src/strategy_team/strategy_008.rs index c63a15f..65155ce 100644 --- a/src/strategy_team/strategy_008.rs +++ b/src/strategy_team/strategy_008.rs @@ -441,15 +441,16 @@ pub async fn list_up_for_sell( { is_sell = true; break; - } else if server_epoch - element.transact_time > (1_800_000) * maximum_candles { - // time up selling - is_sell = true; - break; } else { break; } } + if server_epoch - element.transact_time >= (1_800_000) * maximum_candles { + // time up selling + is_sell = true; + } + // TODO: sell_count가 1일 때 적용하기 // else if (supertrend_vec // .last()