2 Star 4 Fork 10

王布衣/engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config_data.go 458 Bytes
一键复制 编辑 原始数据 按行查看 历史
package config
// DataParameter 数据源参数
type DataParameter struct {
Trans HistoricalTradingDataParameter `name:"历史成交数据" yaml:"trans"`
}
// HistoricalTradingDataParameter 历史成交数据参数
type HistoricalTradingDataParameter struct {
BeginDate string `name:"默认开始日期" yaml:"begin_date" default:"2023-10-01"`
}
// GetDataConfig 取得数据配置
func GetDataConfig() DataParameter {
return GlobalConfig.DataSource
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quant1x/engine.git
git@gitee.com:quant1x/engine.git
quant1x
engine
engine
v1.3.4

搜索帮助

Cb406eda 1850385 E526c682 1850385