Financial python library
I'm looking for a python library that provides simple set of financial calculations, such as MACD, EMAs and other indicators. I've been looking around for it, but either all projects that were trying to do it are dead, or non-existent. Is there a library like that in the existence?
Thanks.
ActiveState has a recommendation for must have python packages when dealing with finance industry related problems. Did you check that and does that contain whatever you are looking for?
Check out TA-Lib. Pandas may have all the tools to build these calculations from scratch, but this library has virtually all the common technical indicators you could ask for already made into simple functions.
pandas has all the tools needed to to these computations. It has methods for moving averages exponential moving averages etc. very easy to do the technical indicators if you already have the time series data in pandas data structures.
can also look at http://matplotlib.org/examples/pylab_examples/finance_work2.html bit of a long example, but it gives a very nicely formatted MACD plot.
链接地址: http://www.djcxy.com/p/4320.html上一篇: FSEvents和复制大文件
下一篇: 金融python库