Skip to content

Commit 05dcc56

Browse files
authored
Merge pull request #22 from valorem-labs-inc/fix/bsm
Fix/bsm
2 parents 0971774 + a97961e commit 05dcc56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/vol/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ class OptionsGreeks {
244244
T: number,
245245
): number {
246246
const brent = new Brent();
247-
const lowerBound = 0.001; // Lower bound for volatility search
248-
const upperBound = 5.0; // Upper bound for volatility search
247+
const lowerBound = -5; // Lower bound for volatility search
248+
const upperBound = 5; // Upper bound for volatility search
249249

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

0 commit comments

Comments
 (0)