diff --git a/src/future/order.rs b/src/future/order.rs index c23f9f2..f5593e7 100644 --- a/src/future/order.rs +++ b/src/future/order.rs @@ -158,9 +158,9 @@ pub async fn limit_order_entry( ]; if *position == Position::Long { - update_values.push((String::from("position"), String::from("LONG"))); + update_values.push((String::from("position"), String::from("Long"))); } else if *position == Position::Short { - update_values.push((String::from("position"), String::from("SHORT"))); + update_values.push((String::from("position"), String::from("Short"))); } let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())];