代码拉取完成,页面将自动刷新
package cache
const (
cacheMetaPath = "meta" // 元数据缓存路径
cacheDayPath = "day" // 日线路径
cacheInfoPath = "info" // 信息路径
cacheTickPath = "tick" // tick路径
cacheXdxrPath = "xdxr" // 除权除息路径
cacheFeaturePath = "features" // 特征路径
cacheFinancePath = "finance" // 财务信息路径
cacheSnapshotPath = "snapshot" // 快照数据路径
cacheHoldingPath = "holding" // 流通股东数据路径
cacheFundFlowPath = "fund" // 资金流向
)
// GetMetaPath 元数据路径
func GetMetaPath() string {
return GetRootPath() + "/" + cacheMetaPath
}
// GetDayPath 历史数据-日线缓存路径
func GetDayPath() string {
return GetRootPath() + "/" + cacheDayPath
}
// GetFeaturesPath 获取特征路径
func GetFeaturesPath() string {
return GetRootPath() + "/" + cacheFeaturePath
}
// GetXdxrPath 除权除息文件存储路径
func GetXdxrPath() string {
return GetRootPath() + "/" + cacheXdxrPath
}
// GetTickPath tick数据路径
func GetTickPath() string {
return GetRootPath() + "/" + cacheTickPath
}
// GetHoldingPath 十大流通股股东数据路径
func GetHoldingPath() string {
return GetRootPath() + "/" + cacheHoldingPath
}
// GetInfoPath 信息路径
func GetInfoPath() string {
return GetRootPath() + "/" + cacheInfoPath
}
// GetQuarterlyPath 季报路径
//
// Deprecated: 不推荐
func GetQuarterlyPath() string {
return GetRootPath() + "/" + cacheInfoPath + "q"
}
// GetSnapshotPath 快照路径
func GetSnapshotPath() string {
return GetRootPath() + "/" + cacheSnapshotPath
}
// GetFundFlowPath 资金流向目录
func GetFundFlowPath() string {
return GetRootPath() + "/" + cacheFundFlowPath
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。