From 7dad8b79cbbf5b135f5519abf767f85b41df46e5 Mon Sep 17 00:00:00 2001 From: Jacek Czaja Date: Thu, 11 Apr 2024 15:26:56 +0200 Subject: [PATCH] trade date POC --- src/transactions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transactions.rs b/src/transactions.rs index e2d914e..9e51640 100644 --- a/src/transactions.rs +++ b/src/transactions.rs @@ -103,7 +103,7 @@ pub fn reconstruct_sold_transactions( .expect(&format!("Unable to parse trade date: {tr_date}")) .format("%m/%d/%y") .to_string(), - settlement_date.clone(), + tr_date.clone(), chrono::NaiveDate::parse_from_str(&acquisition_date, "%m/%d/%Y") .expect(&format!( "Unable to parse acquisition_date: {acquisition_date}"