updated securities directory

This commit is contained in:
2026-01-12 22:23:34 +01:00
parent 98e1bca12f
commit 1d025a04ce

View File

@@ -99,9 +99,9 @@ pub async fn update_companies(
let reset_in_progress = Arc::new(tokio::sync::Mutex::new(false)); let reset_in_progress = Arc::new(tokio::sync::Mutex::new(false));
let path = DataPaths::new(".")?; let path = DataPaths::new(".")?;
let corporate_path = path.data_dir().join("corporate").join("by_name"); let securities_path = path.corporate_dir().join("figi_securities");
let securities_checkpoint = corporate_path.join("common_stocks.jsonl"); let securities_checkpoint = securities_path.join("common_stocks.jsonl");
let securities_log = corporate_path.join("common_stocks.log.jsonl"); let securities_log = securities_path.join("common_stocks.log.jsonl");
if !securities_checkpoint.exists() { if !securities_checkpoint.exists() {
logger::log_warn("No common_stocks.jsonl found").await; logger::log_warn("No common_stocks.jsonl found").await;