diff --git a/vnpy/pricing/black.py b/vnpy/pricing/black.py index 7649c409..a2067e58 100644 --- a/vnpy/pricing/black.py +++ b/vnpy/pricing/black.py @@ -112,7 +112,7 @@ def calculateImpv(price, f, k, r, t, cp): if cp == 1 and (price > (f - k) * exp(-r * t)): meet = True - elif cp == -1 and (price > k * exp(-r * t) - f): + elif cp == -1 and (price > k - f): meet = True # 若不满足最小价值,则直接返回0