Change to lowercase
This commit is contained in:
parent
f92786fdcf
commit
d2efd67c4f
|
|
@ -158,9 +158,9 @@ pub async fn limit_order_entry(
|
||||||
];
|
];
|
||||||
|
|
||||||
if *position == Position::Long {
|
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 {
|
} 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())];
|
let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user