key过期时间调整为319个周期

This commit is contained in:
zhangkun9038@dingtalk.com 2025-01-13 01:38:08 +08:00
parent 2b2be97eeb
commit 254646677e

View File

@ -274,7 +274,7 @@ func GetExpiration(cr *core.Core, per string) (time.Duration, error) {
return 0, err
}
exp, err := cr.PeriodToMinutes(per)
dur := time.Duration(exp*49) * time.Minute
dur := time.Duration(exp*319) * time.Minute
return dur, err
}
func MakeRsi(cr *core.Core, cl *core.Candle, count int, makeStock bool) (error, int) {