Documentation
¶
Index ¶
- Constants
- func CacheId(code string) string
- func CheckFilepath(filename string) error
- func FileExist(path string) bool
- func GetCache(fullCode string) *os.File
- func GetDayPath() string
- func GetInfoPath() string
- func GetKLineFilename(fullCode string) string
- func GetTickPath() string
- func IdPath(code string) string
- func KLine(code string) pandas.DataFrame
- func KLinePath(fc string) (string, string, int)
- func TickFilename(code string, date string) (string, error)
- type CacheType
- type DataFrame
- type FastCache
Constants ¶
View Source
const ( DAY_PATH = "day" // 日线路径 INFO_PATH = "info" // 信息路径 TICK_PATH = "tick" // tick路径 )
View Source
const ( CACHE_TARS CacheType = iota CACHE_CSV = 1 // CSV CACHE_EXCEL = 2 // EXCEL )
Variables ¶
This section is empty.
Functions ¶
func GetTickPath ¶ added in v0.7.4
func GetTickPath() string
Types ¶
type CacheType ¶
type CacheType int
var ( // CACHE_ROOT_PATH cache路径 CACHE_ROOT_PATH = category.DATA_ROOT_PATH CACHE_TYPE CacheType )
Click to show internal directories.
Click to hide internal directories.