diff --git a/Testing.ipynb b/Testing.ipynb index c0716ed..af37eb4 100644 --- a/Testing.ipynb +++ b/Testing.ipynb @@ -12,28 +12,30 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 34, "metadata": {}, "outputs": [], "source": [ - "test1 = AmericanOptionPricing(100, 0.04, 0.04, 0.20, 3, 10, 3, 7, 200, option_type=OptionType.Put,eta=0.8)" + "test1 = AmericanOptionPricing(100, 0.05, 0.05, 0.25, 1, 25, 4, 9, 51, option_type=OptionType.Put,eta=0.8)" ] }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 35, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Starting iteration 1/3\n", - "Iteration 1/3 completed.\n", - "Starting iteration 2/3\n", - "Iteration 2/3 completed.\n", - "Starting iteration 3/3\n", - "Iteration 3/3 completed.\n", + "Starting iteration 1/4\n", + "Iteration 1/4 completed.\n", + "Starting iteration 2/4\n", + "Iteration 2/4 completed.\n", + "Starting iteration 3/4\n", + "Iteration 3/4 completed.\n", + "Starting iteration 4/4\n", + "Iteration 4/4 completed.\n", "Jacobi-Newton iterations completed.\n" ] } @@ -73,7 +75,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 36, "metadata": {}, "outputs": [], "source": [ @@ -82,16 +84,16 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 37, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "(12.196022514072425, 0.40929466849989227)" + "(9.462492596167081, 0.10696407630320409)" ] }, - "execution_count": 33, + "execution_count": 37, "metadata": {}, "output_type": "execute_result" }