Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
alpha-mind
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dr.李
alpha-mind
Commits
957f8a82
Commit
957f8a82
authored
Apr 12, 2018
by
Dr.李
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
338e68f1
f7783f49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
396 additions
and
16 deletions
+396
-16
README.md
README.md
+46
-16
tutorial_data_preprocess.ipynb
doc/tutorial_data_preprocess.ipynb
+350
-0
No files found.
README.md
View file @
957f8a82
# Alpha - Mind
<table>
<tr>
<td>
Python version
</td>
<td><img
src=
"https://img.shields.io/badge/python-3.6-blue.svg"
/>
</td>
</tr>
<tr>
<tr>
<td>
Build Status
</td>
<td>
<a
href=
"https://travis-ci.org/alpha-miner/alpha-mind"
>
<img
src=
"https://travis-ci.org/alpha-miner/alpha-mind.svg?branch=master"
alt=
"travis build status"
/>
</a>
</td>
</tr>
<tr>
...
...
@@ -46,24 +49,37 @@ alpha - mind 提供了多因子研究中常用的工具链,包括:
*
pandas
*
scipy
## 获取代码
```
git clone https://github.com/alpha-miner/alpha-mind.git
cd alpha-mind
git submodule init
git submodule update
```
同时还依赖于一个工具包
*
[
Finance-Python
](
https://github.com/alpha-miner/Finance-Python
)
## 编译依赖
*
Windows
在Windows上完整安装,需要有C++编译器(例如msvc):
```bash
build_windows_dependencies.bat
```
在Windows上完整安装,需要有C++编译器(例如msvc)
具体可按照如下流程配置(以VS2005为例):
1.
安装VS2015 社区版,在微软官网可以免费下载。
2.
安装CMake, 可以从
[
官网
](
https://cmake.org/download/
)
下载二进制安装文件,如"Windows win64-x64 ZIP",解压缩后环境变量的设置可以参见
[
此文
](
https://blog.csdn.net/liyuebit/article/details/77092723
)
-
可以按照文中的例子,尝试使用如下CMake命令编译一个HelloWorld项目。
```
bash
cmake
-G
"Visual Studio 14 2015 Win646"
```
- 将MSBuild的路径
(
默认是
"C:
\P
rogram Files (x86)
\M
SBuild
\1
4.0
\B
in"")加入环境变量中。
3. 在项目子目录"
\a
lphamind
\p
fopt
"下使用如下命令进行更新,确保所需文件都已经拷贝到本地。
```
git submodule init
git submodule update
```
4. 在项目根目录下双击批处理文件"
build_windows_dependencies.bat
"或者通过命令行执行
```
bash
build_windows_dependencies.bat
```
随后一系列依赖项目会自动编译。可能有若干警告,但没有错误。
* Linux
...
...
@@ -75,7 +91,21 @@ git submodule update
## 安装
alpha - mind 的安装极其简单,在编译完成依赖之后,运行:
安装需要直接clone或者下载源代码安装,具体流程为:
1. 克隆项目到本地
```
git clone https://github.com/alpha-miner/alpha-mind.git
cd alpha-mind
git submodule init
git submodule update
```
2. 参照上节内容,编译好依赖的子项目。
3. 确保环境变量'VS90COMNTOOLS'的值为安装的VS的Comntools下的地址,如'\vs2015\Common7\Tools\'
4. 回到项目的根目录下运行:
```
python
python setup.py install
...
...
doc/tutorial_data_preprocess.ipynb
0 → 100644
View file @
957f8a82
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment