Finance Python
added china holidays for the year 2022
| 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