Skip to content

Commit

Permalink
Merge pull request #22 from valorem-labs-inc/fix/bsm
Browse files Browse the repository at this point in the history
Fix/bsm
  • Loading branch information
0xAlcibiades authored Dec 22, 2023
2 parents 0971774 + a97961e commit 05dcc56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/vol/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ class OptionsGreeks {
T: number,
): number {
const brent = new Brent();
const lowerBound = 0.001; // Lower bound for volatility search
const upperBound = 5.0; // Upper bound for volatility search
const lowerBound = -5; // Lower bound for volatility search
const upperBound = 5; // Upper bound for volatility search

// Function for Brent's method to find the root
const marketPriceDelta = (sigma: number) => {
Expand Down

0 comments on commit 05dcc56

Please sign in to comment.