Ported math change from my python test
S0 needed to S_next in line 282
This commit is contained in:
parent
a0d6bf03af
commit
655c4ea9d0
|
|
@ -279,7 +279,7 @@ export default function App() {
|
||||||
const S_next = getS({ R, V0, k });
|
const S_next = getS({ R, V0, k });
|
||||||
const floorprice_next = getMinPrice({
|
const floorprice_next = getMinPrice({
|
||||||
S: S_next,
|
S: S_next,
|
||||||
H: S0 - H_next,
|
H: S_next - H_next,
|
||||||
V0,
|
V0,
|
||||||
k
|
k
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue