This commit is contained in:
2026-08-08 00:06:03 +02:00
parent a26b4892ca
commit 37bbbb8aac
+3 -3
View File
@@ -1,7 +1,7 @@
pub mod bot; pub mod bot;
pub mod data; pub mod data;
pub mod strategy;
pub mod launchpad; pub mod launchpad;
pub mod strategy;
use std::sync::Arc; use std::sync::Arc;
@@ -27,8 +27,6 @@ async fn try_shutdown_listener(bot: Arc<Bot>, tx: watch::Sender<bool>) -> anyhow
} }
"save" => { "save" => {
log::info!("Saving trades");
let now = Local::now(); let now = Local::now();
let formatted_time = now.format("%m-%d-%H-%M").to_string(); let formatted_time = now.format("%m-%d-%H-%M").to_string();
@@ -51,6 +49,8 @@ async fn try_shutdown_listener(bot: Arc<Bot>, tx: watch::Sender<bool>) -> anyhow
_ => {} _ => {}
} }
line.clear();
} }
} }