key过期时间调整为319个周期
This commit is contained in:
		
							parent
							
								
									2b2be97eeb
								
							
						
					
					
						commit
						254646677e
					
				@ -274,7 +274,7 @@ func GetExpiration(cr *core.Core, per string) (time.Duration, error) {
 | 
				
			|||||||
		return 0, err
 | 
							return 0, err
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	exp, err := cr.PeriodToMinutes(per)
 | 
						exp, err := cr.PeriodToMinutes(per)
 | 
				
			||||||
	dur := time.Duration(exp*49) * time.Minute
 | 
						dur := time.Duration(exp*319) * time.Minute
 | 
				
			||||||
	return dur, err
 | 
						return dur, err
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
func MakeRsi(cr *core.Core, cl *core.Candle, count int, makeStock bool) (error, int) {
 | 
					func MakeRsi(cr *core.Core, cl *core.Candle, count int, makeStock bool) (error, int) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user