vollib.tests.test_black_scholes.
TestBlackScholesAgainstBenchmarkValues
Bases: unittest.case.TestCase
unittest.case.TestCase
setUp
test_analytical_delta
test_analytical_gamma
test_analytical_rho
test_analytical_vega
test_implied_volatility
test_prices
vollib.tests.test_black_scholes_greeks.
testGreeks
test_delta
test_gamma
test_rho
test_theta
test_vega
vollib.tests.test_utils.
TestDataIterator
Bases: object
object
>>> data_iterator = TestDataIterator() >>> print data_iterator.has_next() True >>> r = data_iterator.next_row() >>> print r['S'] 100.0
has_next
next_row
almost_equal