|
@@ -25,11 +25,11 @@ func Task() {
|
|
|
func releaseTask() {
|
|
|
//同步指标
|
|
|
if utils.BusinessCode != "E2023080900" {
|
|
|
- syncHzDataIndex := task.NewTask("syncHzDataIndex", "0 30 0,18,21 * * *", SyncHzDataIndex)
|
|
|
+ syncHzDataIndex := task.NewTask("syncHzDataIndex", "0 10,20,40,50 16,18 * * *", SyncHzDataIndex)
|
|
|
task.AddTask("syncHzDataIndex", syncHzDataIndex)
|
|
|
}
|
|
|
// 定时统计交易所的持仓分析数据
|
|
|
- initPositionTask := task.NewTask("initPositionTask", "0 0 18,22 * * *", data.InitPositionTask)
|
|
|
+ initPositionTask := task.NewTask("initPositionTask", "0 20,40 16-18 * * *", data.InitPositionTask)
|
|
|
task.AddTask("initPositionTask", initPositionTask)
|
|
|
|
|
|
//刷新指标数据
|