Coder Social home page Coder Social logo

jez6 / quantlib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lballabio/quantlib

1.0 1.0 0.0 76.9 MB

The QuantLib C++ library

Home Page: http://quantlib.org

License: Other

Shell 0.02% C++ 98.34% Python 0.03% C 0.48% Makefile 0.58% CMake 0.42% Batchfile 0.01% M4 0.12% Dockerfile 0.01%

quantlib's People

Contributors

antoniouf avatar auto-differentiation-dev avatar bnalgo avatar compatibl avatar eltoder avatar gbfredrik avatar github-actions[bot] avatar igitur avatar jackgillett101 avatar japari avatar jez6 avatar jgsogo avatar jschnetm avatar klausspanderen avatar lballabio avatar maddazanzi avatar marcin-rybacki avatar mdriesch avatar mshojatalab avatar paulxicao avatar pcaspers avatar pkovacs avatar pmazzocchi avatar ralfkonrad avatar rglarix avatar sidsky avatar sweemer avatar thrasibule avatar w31ha0 avatar wegamekinglc avatar

Stargazers

 avatar

quantlib's Issues

Install pkgconfig files as part of CMake builds

Currently we generate quantlib-config as part of our CMake builds. This file doesn't get automatically installed, however, nor does the corresponding quantlib.pc file get generated or installed except in automake builds.

Support generation and installation of both these files in CMake builds, too.

Make basisPointValue() and yieldValueBasisPoint() behavior consistent with other BondFunctions methods

Most BondFunctions methods are overloaded, with one version converting its arguments and chaining to a different overload where defaults are handled and then a call made to static CashFlows methods to do the actual calculations -- e.g. BondFunctions::duration() and BondFunctions::duration() (v1.33).

basisPointValue() and yieldValueBasisPoint() have similarly paired overloads, however do not follow the same trampolining pattern: both methods instead directly call upstream CashFlows methods, which results in the settlement date not being set correctly in the overloads not taking an InterestRate object when passed to the underlying calculations unless explicitly passed in (settlement is defaulted in these methods’ declarations).

Make these two methods' behavior consistent with other BondFunctions methods and add tests to assert parity.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.