Comments (8)
@dpinte what tools would one use to do this?
from pyql.
@ceaza you would need to write the same kind of cython wrappers as we did for the various instruments that are exposed through pyql. For example here are the standard bonds: https://github.com/enthought/pyql/blob/master/quantlib/instruments/bonds.pyx
from pyql.
And the type of tools you used to make sure it all works. For example would
one have to put the wrappers together, then compile using print statements
for error tracking or are there better ways of doing this through an IDE?
On Tue, Mar 22, 2016 at 10:53 AM, Didrik Pinte [email protected]
wrote:
@ceaza https://github.com/ceaza you would need to write the same kind
of cython wrappers as we did for the various instruments that are exposed
through pyql. For example here are the standard bonds:
https://github.com/enthought/pyql/blob/master/quantlib/instruments/bonds.pyx—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#121 (comment)
from pyql.
@ceaza you'll definitely need an IDE. Using print statements for error tracking is not the best way to do things. PyQL has a decent test suite and you would test your developments by implementing a suite of tests that cover the new code you're writing.
On what platform are you? The compilation steps are quite simple as Python does most of it for you byt you'll need a local development version of Quantlib, etc.
from pyql.
I could use either platform, but at work on Windows. Agreed print
statements would be very tedious, hence the question. So which IDE will
interpret .pxd and .pyx cython files? PyCharm perhaps or is there a plugin
for spyder? I now see the tests in pyql/quantlib/test/.
On Tue, Mar 22, 2016 at 12:02 PM, Didrik Pinte [email protected]
wrote:
@ceaza https://github.com/ceaza you'll definitely need an IDE. Using
print statements for error tracking is not the best way to do things. PyQL
has a decent test suite and you would test your developments by
implementing a suite of tests that cover the new code you're writing.On what platform are you? The compilation steps are quite simple as Python
does most of it for you byt you'll need a local development version of
Quantlib, etc.—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#121 (comment)
from pyql.
Pycharm will work fine. Spyder too. You'll probably have to play with the command line for the compilation steps. Windows is the hardest platform as it requires a custom build of QuantLib to run properly. I can provide pre-built dll's for some versions of QL if you want. Also, depending on your Python version, the MSVC compiler you must use is different (MSVC2008 for Python 2.7, 2010 for < 3.5 and 2015 for >= 3.5)
from pyql.
@ceaza feel free to contact me by e-mail if you need more technical details.
from pyql.
This is exposed now: http://docs.enthought.com/pyql/_autosummary/quantlib.instruments.bonds.CPIBond.html#quantlib.instruments.bonds.CPIBond
from pyql.
Related Issues (20)
- test a examples file failed HOT 3
- Calls to CreditDefaultSwap.fair_upfront crash Python HOT 7
- def file generation HOT 2
- Test results with QuantLib 1.10
- compilation error HOT 3
- Problem with Python examples - american_option HOT 3
- testing pyql - errors HOT 2
- Odd issue with Period HOT 4
- Cython error + compilation error HOT 1
- Compilation Error on MacOS High Sierra HOT 15
- Cython version issue
- commit 27e9d9bf2 breaks compatibility with Quantlib < 1.13
- Adding OISRateHelpers HOT 13
- Building issue Win10x64 Python3.7.1 / x64 / VS2017 / QL1.15 / Boost 1.69 HOT 18
- Building on x64
- Build error error: ‘Microsecond’ is not a member of ‘QuantLib’ HOT 2
- install pyql in mac HOT 1
- error: ‘RelativePriceError’ is not a member of ‘QuantLib::CalibrationHelper’ HOT 4
- pyql/examples/data/df_libor.pkl cannot be loaded
- Pain point: Not enough documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyql.