From 22a89404ab8a7569b99d155af5b9788d2239cdf8 Mon Sep 17 00:00:00 2001 From: thejerwang Date: Fri, 19 Sep 2025 22:29:10 +0100 Subject: [PATCH 1/2] Add gitignore --- .gitignore | 3 ++- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bbcd8cc..6f0eb8e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /target /.idea **/.DS_Store -Cargo.lock \ No newline at end of file +Cargo.lock +/.vscode \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index d964b3d..c764681 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "finquant" -version = "0.0.55" +version = "0.0.56" authors = ["Jeremy Wang ", "David Steiner "] license = "MIT OR Apache-2.0" description = "Experimental Rust Quant Library" From a98c00873b7773712103ebed4d79b10da968046c Mon Sep 17 00:00:00 2001 From: thejerwang Date: Thu, 16 Oct 2025 22:30:45 +0100 Subject: [PATCH 2/2] typo --- src/derivatives/interestrate/swap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/derivatives/interestrate/swap.rs b/src/derivatives/interestrate/swap.rs index ca118ec..a71629d 100644 --- a/src/derivatives/interestrate/swap.rs +++ b/src/derivatives/interestrate/swap.rs @@ -102,7 +102,7 @@ impl InterestRateSwapLeg { ) } - pub fn is_fixe_leg(&self) -> bool { + pub fn is_fixed_leg(&self) -> bool { match self.swap_type { InterestRateSwapLegType::Fixed { coupon: _ } => true, InterestRateSwapLegType::Float { spread: _ } => false,