diff --git a/src/future/table_mgmt.rs b/src/future/table_mgmt.rs index 2d5fe44..487ae58 100644 --- a/src/future/table_mgmt.rs +++ b/src/future/table_mgmt.rs @@ -254,7 +254,7 @@ async fn update_repeat_task( pub async fn select_filled_positions() -> Result, Box> { let select_table_name = String::from("future_ordered_coin_list"); let select_columns = String::from("*"); - let mut select_condition_build = String::from("WHERE (status = 'FILLED' or status = 'SIMUL')"); + let mut select_condition_build = String::from("WHERE order_type = 'POSITIONING' and (status = 'FILLED' or status = 'SIMUL')"); let select_condition = Some(select_condition_build);