Labeled price

This commit is contained in:
2026-07-23 22:28:46 +02:00
parent b5b4e85ad9
commit 8b5fa22deb
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -61,8 +61,6 @@ impl Engine {
loop { loop {
tokio::time::sleep(tokio::time::Duration::from_millis(5000)).await; tokio::time::sleep(tokio::time::Duration::from_millis(5000)).await;
} }
Ok(())
} }
} }
+1 -1
View File
@@ -102,7 +102,7 @@ impl Formatted for WatchListItem {
fn get_formatted(&self) -> Vec<String> { fn get_formatted(&self) -> Vec<String> {
vec![ vec![
format!("\x1b[35m{}\x1b[0m", self.symbol), format!("\x1b[35m{}\x1b[0m", self.symbol),
format_f64(self.price), format!("${}", format_f64(self.price)),
format!("${}", format_f64(self.volume_24h)), format!("${}", format_f64(self.volume_24h)),
format!( format!(
"{} {}", "{} {}",