We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装开发环境: apt-get install build-essential git bzip2 apt-get install libmysqlclient-dev libmysqlclient20 apt-get install libhdf5-dev libhdf5-serial-dev apt-get install libqt5x11extras5 unrar
参考:http://rqalpha.readthedocs.io/zh_CN/latest/intro/detail_install.html#intro-detail-create-env 安装 TA-Lib 参考:https://mrjbq7.github.io/ta-lib/install.html Linux
Download ta-lib-0.4.0-src.tar.gz and:
tar xzvf boost_1_64_0.tar.gz boostsource=$tmpdir/"boost_1_64_0.tar.gz"
[ -f $boostsource ] && tar xzvf $boostsource && cd boost_1_64_0 && ./bootstrap.sh --exec-prefix=/usr/local && ./b2 -q -j 4 threading=multi && ./b2 install threading=multi && cp b2 bjam /usr/local/bin/ && cd .. && rm $boostsource
log4c="log4cplus-1.2.1-rc2" log4cfile=$tmpdir/$log4c.tar.gz #[ ! -f $log4cfile ] && wget -c -O $log4cfile https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/1.2.1/log4cplus-1.2.1-rc2.tar.gz/download tar -xzf $log4cfile cd $log4c #./configure --prefix=/usr CXXFLAGS="std=-c++11" ./configure --prefix=/usr/local CXXFLAGS=-std=c++0x make -j 4 make install cd .. rm $log4cfile rm -rf $log4c
git clone https://github.com/fasiondog/hikyuu.git cd hikyuu
echo ".............................. patch Jamroot" cp Jamroot.linux Jamroot.linux.orig patch -p0 <30_patchfile.hikyuu echo ".............................. patch importdata.cpp" #sed -i 's/\\///g' ./tools/importdata/importdata.cpp
./build.sh
cp Jamroot.linux.orig Jamroot.linux rm Jamroot.linux.orig
The text was updated successfully, but these errors were encountered:
我是希望最好pip install,这样需要把涉及的动态库直接扔在pip的包里,最方便里,也不用再编译了。不过一直没空整。
Sorry, something went wrong.
Merge pull request #7 from fasiondog/master
705c172
update 20221017
No branches or pull requests
安装开发环境:
apt-get install build-essential git bzip2
apt-get install libmysqlclient-dev libmysqlclient20
apt-get install libhdf5-dev libhdf5-serial-dev
apt-get install libqt5x11extras5 unrar
install Anaconda3
参考:http://rqalpha.readthedocs.io/zh_CN/latest/intro/detail_install.html#intro-detail-create-env
安装 TA-Lib
参考:https://mrjbq7.github.io/ta-lib/install.html
Linux
Download ta-lib-0.4.0-src.tar.gz and:
$ untar and cd
$ ./configure --prefix=/usr
$ make
$ sudo make install
$ pip install TA-Lib
以上为安装hikyuu,rqalpha等量化程序公共环境
install boost###是否可用系统apt-get install libboost*代替。??
tar xzvf boost_1_64_0.tar.gz
boostsource=$tmpdir/"boost_1_64_0.tar.gz"
[ -f $boostsource ] &&
tar xzvf $boostsource &&
cd boost_1_64_0 &&
./bootstrap.sh --exec-prefix=/usr/local &&
./b2 -q -j 4 threading=multi &&
./b2 install threading=multi &&
cp b2 bjam /usr/local/bin/ &&
cd .. &&
rm $boostsource
install log4cplus ###是否可用系统apt-get install liblog4cplus*代替。??
log4c="log4cplus-1.2.1-rc2"
log4cfile=$tmpdir/$log4c.tar.gz
#[ ! -f $log4cfile ] && wget -c -O $log4cfile https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/1.2.1/log4cplus-1.2.1-rc2.tar.gz/download
tar -xzf $log4cfile
cd $log4c
#./configure --prefix=/usr CXXFLAGS="std=-c++11"
./configure --prefix=/usr/local CXXFLAGS=-std=c++0x
make -j 4
make install
cd ..
rm $log4cfile
rm -rf $log4c
install hikyuu ####原作者是否可做成跨平台通用的pip install hikyuu,如rqalpha,pip install rqalpha -i https://pypi.tuna.tsinghua.edu.cn/simple ???###
git clone https://github.com/fasiondog/hikyuu.git
cd hikyuu
hikyuu编译打补丁
echo ".............................. patch Jamroot"
cp Jamroot.linux Jamroot.linux.orig
patch -p0 <30_patchfile.hikyuu
echo ".............................. patch importdata.cpp"
#sed -i 's/\\///g' ./tools/importdata/importdata.cpp
./build.sh
cp Jamroot.linux.orig Jamroot.linux
rm Jamroot.linux.orig
The text was updated successfully, but these errors were encountered: