storages

package
v0.5.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StrategiesPath = "zero-sum" // 策略结果数据文件存储路径
	OrdersPath     = "qmt"      // QMT订单缓存路径
)

Variables

This section is empty.

Functions

func BaseDataUpdate added in v0.2.7

func BaseDataUpdate(barIndex int, date string, plugins []cache.DataAdapter, op cache.OpKind)

BaseDataUpdate 修复数据

func FeaturesUpdate added in v0.2.7

func FeaturesUpdate(barIndex *int, cacheDate, featureDate string, plugins []cache.DataAdapter, op cache.OpKind)

FeaturesUpdate 更新特征

func GetResultCachePath added in v0.5.6

func GetResultCachePath() string

GetResultCachePath 获取结果缓存路径

func OutputStatistics added in v0.5.6

func OutputStatistics(orderFlag string, top int, date string, v []models.Statistics)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL