Expand description
xtquant 本地资料文件解析。
Functions§
- load_
holidays_ from_ root - 从显式 datadir/root 路径发现并解析节假日文件。
- load_
holidays_ from_ standard_ paths - 从 xtquant 约定路径自动发现并解析节假日文件。
- load_
industry_ from_ root - 从显式 datadir/root 路径发现并解析
IndustryData.txt。 - load_
industry_ from_ standard_ paths - 从 xtquant 约定路径自动发现并解析
IndustryData.txt。 - load_
sector_ names_ from_ root - 从显式 datadir/root 路径发现并解析 split sector 文件。
- load_
sector_ names_ from_ standard_ paths - 从 xtquant 约定路径自动发现并解析 split sector 文件。
- load_
sector_ weight_ index_ from_ root - 从显式 datadir/root 路径发现并解析指定 index/sector 权重映射。
- load_
sector_ weight_ index_ from_ standard_ paths - 从 xtquant 约定路径自动发现并解析
sectorWeightData.txt指定 index/sector 权重映射。 - load_
sector_ weight_ members_ from_ root - 从显式 datadir/root 路径发现并解析
sectorWeightData.txt成员映射。 - load_
sector_ weight_ members_ from_ standard_ paths - 从 xtquant 约定路径自动发现并解析
sectorWeightData.txt成员映射。 - load_
sectorlist_ from_ root - 从显式 datadir/root 路径发现并解析
sectorlist.DAT。 - load_
sectorlist_ from_ standard_ paths - 从 xtquant 约定路径自动发现并解析
sectorlist.DAT。 - parse_
holiday_ file - 解析 xtquant
holiday.csv/holiday.dat,返回YYYYMMDD数字列表。 - parse_
industry_ file - 解析 xtquant
IndustryData.txt,返回industry -> members。 - parse_
sector_ name_ file - 解析 xtquant split sector 文件,返回 sector 名称列表。
- parse_
sector_ weight_ index - 解析 xtquant
sectorWeightData.txt,返回指定 index/sector 的stock -> weight。 - parse_
sector_ weight_ members - 解析 xtquant
sectorWeightData.txt,返回sector -> members。 - parse_
sectorlist_ dat - 解析 xtquant
sectorlist.DAT,返回板块名称列表。