python tools for Finance with the functionality of indicator calculation, business day calculation and so on.
Latest Release | |
Build Status | |
Coverage |
纯python实现的金融计算库,目标是提供进行量化交易必要的工具,包括但不限于:定价分析工具、技术分析指标。其中部分实现参考了quantlib。
coverage
cython
enum34
numpy
pandas
scipy
six
以及相关的c/c++编译器(例如Linux下的gcc,windows下的visual studio)
从最新源代码安装
首先将代码保存至本地:
git clone https://github.com/ChinaQuants/Finance-Python.git (如果你是从github获取)
cd finance-Python
只需运行如下命令:
python setpy.py install
安装之后,可以直先接运行测试:
python PyFin/tests/testSuite.py
从pypi
安装
只需运行如下命令:
pip install Finance-Python
在代码目录下,需要运行如下指令:
python setup.py build_ext --inplace