diff options
Diffstat (limited to 'python/notebooks')
| -rw-r--r-- | python/notebooks/swaption_quotes.ipynb | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/python/notebooks/swaption_quotes.ipynb b/python/notebooks/swaption_quotes.ipynb new file mode 100644 index 00000000..d1018607 --- /dev/null +++ b/python/notebooks/swaption_quotes.ipynb @@ -0,0 +1,78 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from test_quotes import adjust_stacks\n", + "import datetime" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "common_ref, df = adjust_stacks(\"IG\", 31, datetime.date(2019, 1, 16))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "df" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "common_ref" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "df = adjust_stacks(\"IG\", 31, datetime.date(2019, 1, 16))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.1" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} |
