Skip to content

Commit

Permalink
fix: Pricer trait visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Jan 31, 2025
1 parent 0d3ec34 commit 7075e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quant/trait.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use super::OptionType;

/// Pricer trait.
pub(crate) trait Pricer: Time {
pub trait Pricer: Time {
/// Calculate the price of an option.
fn calculate_call_put(&self) -> (f64, f64) {
todo!()
Expand Down

0 comments on commit 7075e9d

Please sign in to comment.