Skip to content

Commit

Permalink
trade date POC
Browse files Browse the repository at this point in the history
  • Loading branch information
jczaja committed Apr 11, 2024
1 parent 04b1c65 commit 7dad8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 7dad8b7

Please sign in to comment.