bugfixing
This commit is contained in:
parent
a8befdd75e
commit
c6a5d8159c
@ -227,7 +227,7 @@
|
|||||||
|
|
||||||
const dataPoints = [];
|
const dataPoints = [];
|
||||||
const xMin = 0;
|
const xMin = 0;
|
||||||
const xMax = Math.floor(currentStockPrice * 3);
|
const xMax = Math.floor(Math.max(currentStockPrice, selectedStrike) * 3);
|
||||||
const step = 10;
|
const step = 10;
|
||||||
|
|
||||||
if (payoffFunctions[scenarioKey]) {
|
if (payoffFunctions[scenarioKey]) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user