From d2efd67c4f0fec590e977f8103b621bdf0933de5 Mon Sep 17 00:00:00 2001 From: Sik Yoon Date: Mon, 20 May 2024 04:08:09 +0900 Subject: [PATCH] Change to lowercase --- src/future/order.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())];