資源簡(jiǎn)介
101 Formulaic Alphas - Zura Kakushadze
基于短周期價(jià)量特征的多因子選股體系--數(shù)量化專(zhuān)題之九十三--國(guó)泰君安
代碼片段和文件信息
simport?numpy?as?np
import?pandas?as?pd
from?numpy?import?*
import?scipy.stats?as?st
from?scipy.stats?import?*
import?matplotlib.pyplot?as?plt
pathData?=?“C:/Users/yuchao.xie/Documents/Data?analysis/stocks/dataPreprocessing/Daily/“
pathMapping?=?“C:/Users/yuchao.xie/Documents/Data?analysis/stocks/dataPreprocessing/Mapping/“
pathAlpha?=?‘C:/Users/yuchao.xie/Documents/Data?analysis/stocks/alpha11_20/alpha/‘
close?=?pd.read_csv(pathData?+?“close.csv“?index_col=0?header=0)
low?=?pd.read_csv(pathData?+?“l(fā)ow.csv“?index_col=0?header=0)
high?=?pd.read_csv(pathData?+?“high.csv“?index_col=0?header=0)
Open?=?pd.read_csv(pathData?+?“open.csv“?index_col=0?header=0)
volume?=?pd.read_csv(pathData?+?“volumn.csv“?index_col=0?header=0)
vwap?=?pd.read_csv(pathData?+?“vwap.csv“?in
評(píng)論
共有 條評(píng)論