Path

Long-distance running on bits

Friday, March 20, 2020

Python: implementing Strategy design pattern without class hierarchy

›
The essence of Strategy  design pattern is to enable algorithm selection to happen at run-time. Assume we would have the following two simpl...
2 comments:
Saturday, March 14, 2020

Python: Implementing Flexible Logging Mechanism

›
This post is presenting a way to implement flexible logging mechanism for Python program. However, just for the sake of being curious, I hav...
Saturday, March 7, 2020

Python: Implementing Factory Method Design Pattern

›
Ideally, program should be closed for modifications, but open for extensions and hard-coded stuff should be avoided like plague. This is the...
2 comments:
Monday, March 2, 2020

Python: Simulating Exposures Using Multiprocessing Pool

›
This post is presenting a scheme for simulating exposures for European call option on a non-dividend-paying stock by using Multiprocessing.P...
Thursday, November 28, 2019

QuantLib-Python: Heston Monte Carlo Valuation for Autocallable Memory Coupon Note

›
In the spirit of the previous post , I was woodshedding an implementation for valuing Autocallable Memory Coupon note by using libraries ava...
3 comments:
Sunday, November 17, 2019

QuantLib-Python: Monte Carlo Valuation for Target Accrual Redemption Note

›
Out of curiosity, I wanted to create an implementation for interest rate Target Accrual Redemption Note (TARN) by using QuantLib-Python libr...
1 comment:
Wednesday, October 30, 2019

QuantLib-Python: Note on ForwardCurve Construction

›
In this post, we will construct QuantLib ForwardCurve instance and investigate the resulting term structure of discount factors. Python prog...
2 comments:
Sunday, October 20, 2019

Python-QuantLib-SciPy: Optimizing Smooth Libor Forward Curve Revisited

›
One reader was making a remark, that my implementation for curve calibration scheme as presented in here , was not implemented by using Quan...
Sunday, July 14, 2019

QuantLib-Python: flexible construction scheme for piecewise yield term structures

›
I consider QuantLib to be a fundamental pricing library, which can effectively handle valuations for pretty much any given type of security...
1 comment:
‹
›
Home
View web version
Powered by Blogger.