Tag bond pricing Python