|
6 | 6 | "metadata": { |
7 | 7 | "collapsed": true, |
8 | 8 | "ExecuteTime": { |
9 | | - "end_time": "2025-05-23T02:54:25.031837Z", |
10 | | - "start_time": "2025-05-23T02:54:25.027815Z" |
| 9 | + "end_time": "2025-05-23T03:01:38.516595Z", |
| 10 | + "start_time": "2025-05-23T03:01:38.512089Z" |
11 | 11 | } |
12 | 12 | }, |
13 | 13 | "source": [ |
14 | 14 | "from financepy.utils import *\n", |
15 | 15 | "from financepy.products.rates import *\n", |
16 | 16 | "from financepy.market.curves import *\n", |
17 | | - "import datetime as dt\n", |
18 | | - "\n", |
19 | | - "from notebooks.products.rates.FINIBORSWAP_ReplicationgBONDMATHDurationExample import payment_periods" |
| 17 | + "import datetime as dt\n" |
20 | 18 | ], |
21 | 19 | "outputs": [], |
22 | | - "execution_count": 34 |
| 20 | + "execution_count": 22 |
23 | 21 | }, |
24 | 22 | { |
25 | 23 | "metadata": { |
26 | 24 | "ExecuteTime": { |
27 | | - "end_time": "2025-05-23T02:54:25.043454Z", |
28 | | - "start_time": "2025-05-23T02:54:25.039940Z" |
| 25 | + "end_time": "2025-05-23T03:01:38.528444Z", |
| 26 | + "start_time": "2025-05-23T03:01:38.524597Z" |
29 | 27 | } |
30 | 28 | }, |
31 | 29 | "cell_type": "code", |
|
65 | 63 | ], |
66 | 64 | "id": "1ebf43316efee835", |
67 | 65 | "outputs": [], |
68 | | - "execution_count": 35 |
| 66 | + "execution_count": 23 |
69 | 67 | }, |
70 | 68 | { |
71 | 69 | "metadata": { |
72 | 70 | "ExecuteTime": { |
73 | | - "end_time": "2025-05-23T02:54:25.056980Z", |
74 | | - "start_time": "2025-05-23T02:54:25.052895Z" |
| 71 | + "end_time": "2025-05-23T03:01:38.542275Z", |
| 72 | + "start_time": "2025-05-23T03:01:38.537531Z" |
75 | 73 | } |
76 | 74 | }, |
77 | 75 | "cell_type": "code", |
|
91 | 89 | "31-MAR-2024" |
92 | 90 | ] |
93 | 91 | }, |
94 | | - "execution_count": 36, |
| 92 | + "execution_count": 24, |
95 | 93 | "metadata": {}, |
96 | 94 | "output_type": "execute_result" |
97 | 95 | } |
98 | 96 | ], |
99 | | - "execution_count": 36 |
| 97 | + "execution_count": 24 |
100 | 98 | }, |
101 | 99 | { |
102 | 100 | "metadata": { |
103 | 101 | "ExecuteTime": { |
104 | | - "end_time": "2025-05-23T02:54:25.078736Z", |
105 | | - "start_time": "2025-05-23T02:54:25.073700Z" |
| 102 | + "end_time": "2025-05-23T03:01:38.569014Z", |
| 103 | + "start_time": "2025-05-23T03:01:38.564129Z" |
106 | 104 | } |
107 | 105 | }, |
108 | 106 | "cell_type": "code", |
|
125 | 123 | ], |
126 | 124 | "id": "290b7a06932da41d", |
127 | 125 | "outputs": [], |
128 | | - "execution_count": 37 |
| 126 | + "execution_count": 25 |
129 | 127 | }, |
130 | 128 | { |
131 | 129 | "metadata": { |
132 | 130 | "ExecuteTime": { |
133 | | - "end_time": "2025-05-23T02:54:25.092695Z", |
134 | | - "start_time": "2025-05-23T02:54:25.087190Z" |
| 131 | + "end_time": "2025-05-23T03:01:38.585724Z", |
| 132 | + "start_time": "2025-05-23T03:01:38.579955Z" |
135 | 133 | } |
136 | 134 | }, |
137 | 135 | "cell_type": "code", |
|
144 | 142 | "0.030065619962567392" |
145 | 143 | ] |
146 | 144 | }, |
147 | | - "execution_count": 38, |
| 145 | + "execution_count": 26, |
148 | 146 | "metadata": {}, |
149 | 147 | "output_type": "execute_result" |
150 | 148 | } |
151 | 149 | ], |
152 | | - "execution_count": 38 |
| 150 | + "execution_count": 26 |
153 | 151 | }, |
154 | 152 | { |
155 | 153 | "metadata": { |
156 | 154 | "ExecuteTime": { |
157 | | - "end_time": "2025-05-23T02:54:25.120452Z", |
158 | | - "start_time": "2025-05-23T02:54:25.116135Z" |
| 155 | + "end_time": "2025-05-23T03:01:38.610747Z", |
| 156 | + "start_time": "2025-05-23T03:01:38.606021Z" |
159 | 157 | } |
160 | 158 | }, |
161 | 159 | "cell_type": "code", |
|
168 | 166 | "-404094.769553849" |
169 | 167 | ] |
170 | 168 | }, |
171 | | - "execution_count": 39, |
| 169 | + "execution_count": 27, |
172 | 170 | "metadata": {}, |
173 | 171 | "output_type": "execute_result" |
174 | 172 | } |
175 | 173 | ], |
176 | | - "execution_count": 39 |
| 174 | + "execution_count": 27 |
177 | 175 | }, |
178 | 176 | { |
179 | 177 | "metadata": { |
180 | 178 | "ExecuteTime": { |
181 | | - "end_time": "2025-05-23T02:54:25.148481Z", |
182 | | - "start_time": "2025-05-23T02:54:25.143313Z" |
| 179 | + "end_time": "2025-05-23T03:01:38.645126Z", |
| 180 | + "start_time": "2025-05-23T03:01:38.640384Z" |
183 | 181 | } |
184 | 182 | }, |
185 | 183 | "cell_type": "code", |
|
192 | 190 | "-6.794198629548404" |
193 | 191 | ] |
194 | 192 | }, |
195 | | - "execution_count": 40, |
| 193 | + "execution_count": 28, |
196 | 194 | "metadata": {}, |
197 | 195 | "output_type": "execute_result" |
198 | 196 | } |
199 | 197 | ], |
200 | | - "execution_count": 40 |
| 198 | + "execution_count": 28 |
201 | 199 | }, |
202 | 200 | { |
203 | 201 | "metadata": { |
204 | 202 | "ExecuteTime": { |
205 | | - "end_time": "2025-05-23T02:54:25.169741Z", |
206 | | - "start_time": "2025-05-23T02:54:25.164469Z" |
| 203 | + "end_time": "2025-05-23T03:01:38.686342Z", |
| 204 | + "start_time": "2025-05-23T03:01:38.681347Z" |
207 | 205 | } |
208 | 206 | }, |
209 | 207 | "cell_type": "code", |
|
216 | 214 | "6.794198629548404" |
217 | 215 | ] |
218 | 216 | }, |
219 | | - "execution_count": 41, |
| 217 | + "execution_count": 29, |
220 | 218 | "metadata": {}, |
221 | 219 | "output_type": "execute_result" |
222 | 220 | } |
223 | 221 | ], |
224 | | - "execution_count": 41 |
| 222 | + "execution_count": 29 |
225 | 223 | }, |
226 | 224 | { |
227 | 225 | "metadata": { |
228 | 226 | "ExecuteTime": { |
229 | | - "end_time": "2025-05-23T02:54:25.199176Z", |
230 | | - "start_time": "2025-05-23T02:54:25.193898Z" |
| 227 | + "end_time": "2025-05-23T03:01:38.722907Z", |
| 228 | + "start_time": "2025-05-23T03:01:38.717909Z" |
231 | 229 | } |
232 | 230 | }, |
233 | 231 | "cell_type": "code", |
|
240 | 238 | "-6.743511664816526" |
241 | 239 | ] |
242 | 240 | }, |
243 | | - "execution_count": 42, |
| 241 | + "execution_count": 30, |
244 | 242 | "metadata": {}, |
245 | 243 | "output_type": "execute_result" |
246 | 244 | } |
247 | 245 | ], |
248 | | - "execution_count": 42 |
| 246 | + "execution_count": 30 |
249 | 247 | }, |
250 | 248 | { |
251 | 249 | "metadata": { |
252 | 250 | "ExecuteTime": { |
253 | | - "end_time": "2025-05-23T02:54:25.228763Z", |
254 | | - "start_time": "2025-05-23T02:54:25.224367Z" |
| 251 | + "end_time": "2025-05-23T03:01:38.756278Z", |
| 252 | + "start_time": "2025-05-23T03:01:38.751727Z" |
255 | 253 | } |
256 | 254 | }, |
257 | 255 | "cell_type": "code", |
|
264 | 262 | "6.743511664816526" |
265 | 263 | ] |
266 | 264 | }, |
267 | | - "execution_count": 43, |
| 265 | + "execution_count": 31, |
268 | 266 | "metadata": {}, |
269 | 267 | "output_type": "execute_result" |
270 | 268 | } |
271 | 269 | ], |
272 | | - "execution_count": 43 |
| 270 | + "execution_count": 31 |
273 | 271 | }, |
274 | 272 | { |
275 | 273 | "metadata": { |
276 | 274 | "ExecuteTime": { |
277 | | - "end_time": "2025-05-23T02:54:25.264697Z", |
278 | | - "start_time": "2025-05-23T02:54:25.260233Z" |
| 275 | + "end_time": "2025-05-23T03:01:38.790007Z", |
| 276 | + "start_time": "2025-05-23T03:01:38.786002Z" |
279 | 277 | } |
280 | 278 | }, |
281 | 279 | "cell_type": "code", |
|
325 | 323 | ] |
326 | 324 | } |
327 | 325 | ], |
328 | | - "execution_count": 44 |
| 326 | + "execution_count": 32 |
329 | 327 | }, |
330 | 328 | { |
331 | 329 | "metadata": { |
332 | 330 | "ExecuteTime": { |
333 | | - "end_time": "2025-05-23T02:54:25.286790Z", |
334 | | - "start_time": "2025-05-23T02:54:25.282897Z" |
| 331 | + "end_time": "2025-05-23T03:01:38.821049Z", |
| 332 | + "start_time": "2025-05-23T03:01:38.816897Z" |
335 | 333 | } |
336 | 334 | }, |
337 | 335 | "cell_type": "code", |
|
363 | 361 | ] |
364 | 362 | } |
365 | 363 | ], |
366 | | - "execution_count": 45 |
| 364 | + "execution_count": 33 |
367 | 365 | }, |
368 | 366 | { |
369 | 367 | "metadata": { |
370 | 368 | "ExecuteTime": { |
371 | | - "end_time": "2025-05-23T02:54:25.315781Z", |
372 | | - "start_time": "2025-05-23T02:54:25.311063Z" |
| 369 | + "end_time": "2025-05-23T03:01:38.907291Z", |
| 370 | + "start_time": "2025-05-23T03:01:38.903054Z" |
373 | 371 | } |
374 | 372 | }, |
375 | 373 | "cell_type": "code", |
|
401 | 399 | ] |
402 | 400 | } |
403 | 401 | ], |
404 | | - "execution_count": 46 |
| 402 | + "execution_count": 34 |
405 | 403 | }, |
406 | 404 | { |
407 | 405 | "metadata": { |
408 | 406 | "ExecuteTime": { |
409 | | - "end_time": "2025-05-23T02:54:25.345988Z", |
410 | | - "start_time": "2025-05-23T02:54:25.341966Z" |
| 407 | + "end_time": "2025-05-23T03:01:39.014637Z", |
| 408 | + "start_time": "2025-05-23T03:01:39.009932Z" |
411 | 409 | } |
412 | 410 | }, |
413 | 411 | "cell_type": "code", |
|
424 | 422 | "-404610.6998889916" |
425 | 423 | ] |
426 | 424 | }, |
427 | | - "execution_count": 47, |
| 425 | + "execution_count": 35, |
428 | 426 | "metadata": {}, |
429 | 427 | "output_type": "execute_result" |
430 | 428 | } |
431 | 429 | ], |
432 | | - "execution_count": 47 |
| 430 | + "execution_count": 35 |
433 | 431 | }, |
434 | 432 | { |
435 | 433 | "metadata": { |
436 | 434 | "ExecuteTime": { |
437 | | - "end_time": "2025-05-23T02:54:25.433818Z", |
438 | | - "start_time": "2025-05-23T02:54:25.427828Z" |
| 435 | + "end_time": "2025-05-23T03:01:39.056730Z", |
| 436 | + "start_time": "2025-05-23T03:01:39.050609Z" |
439 | 437 | } |
440 | 438 | }, |
441 | 439 | "cell_type": "code", |
|
448 | 446 | "404610.6998889916" |
449 | 447 | ] |
450 | 448 | }, |
451 | | - "execution_count": 48, |
| 449 | + "execution_count": 36, |
452 | 450 | "metadata": {}, |
453 | 451 | "output_type": "execute_result" |
454 | 452 | } |
455 | 453 | ], |
456 | | - "execution_count": 48 |
| 454 | + "execution_count": 36 |
457 | 455 | }, |
458 | 456 | { |
459 | 457 | "metadata": { |
460 | 458 | "ExecuteTime": { |
461 | | - "end_time": "2025-05-23T02:54:25.518531Z", |
462 | | - "start_time": "2025-05-23T02:54:25.513863Z" |
| 459 | + "end_time": "2025-05-23T03:01:39.100675Z", |
| 460 | + "start_time": "2025-05-23T03:01:39.095809Z" |
463 | 461 | } |
464 | 462 | }, |
465 | 463 | "cell_type": "code", |
|
472 | 470 | "-40461.06998889916" |
473 | 471 | ] |
474 | 472 | }, |
475 | | - "execution_count": 49, |
| 473 | + "execution_count": 37, |
476 | 474 | "metadata": {}, |
477 | 475 | "output_type": "execute_result" |
478 | 476 | } |
479 | 477 | ], |
480 | | - "execution_count": 49 |
| 478 | + "execution_count": 37 |
481 | 479 | }, |
482 | 480 | { |
483 | 481 | "metadata": { |
| 482 | + "jupyter": { |
| 483 | + "is_executing": true |
| 484 | + }, |
484 | 485 | "ExecuteTime": { |
485 | | - "end_time": "2025-05-23T02:54:25.578843Z", |
486 | | - "start_time": "2025-05-23T02:54:25.574712Z" |
| 486 | + "start_time": "2025-05-23T03:01:55.128551Z" |
487 | 487 | } |
488 | 488 | }, |
489 | 489 | "cell_type": "code", |
490 | 490 | "source": "swap.receiver_side_BPV(value_dt, zero_curve,payment_periods)", |
491 | 491 | "id": "8f8630e90883e3b5", |
492 | | - "outputs": [ |
493 | | - { |
494 | | - "data": { |
495 | | - "text/plain": [ |
496 | | - "40461.06998889916" |
497 | | - ] |
498 | | - }, |
499 | | - "execution_count": 50, |
500 | | - "metadata": {}, |
501 | | - "output_type": "execute_result" |
502 | | - } |
503 | | - ], |
504 | | - "execution_count": 50 |
| 492 | + "outputs": [], |
| 493 | + "execution_count": null |
505 | 494 | } |
506 | 495 | ], |
507 | 496 | "metadata": { |
|
0 commit comments